Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ShimmerUnstuckHelper.cs
Go to the documentation of this file.
2
4
6{
7 public int TimeLeftUnstuck;
8
10
11 public bool ShouldUnstuck
12 {
13 get
14 {
16 {
17 return TimeLeftUnstuck > 0;
18 }
19 return true;
20 }
21 }
22
23 public void Update(Player player)
24 {
25 bool flag = !player.shimmering && !player.shimmerWet;
26 if (flag)
27 {
29 }
30 if (TimeLeftUnstuck > 0 && !flag)
31 {
33 }
35 {
37 if (TimeLeftUnstuck == 0)
38 {
40 {
41 PositionInWorld = player.Bottom
42 });
43 }
44 }
45 }
46
47 public void StartUnstuck()
48 {
50 TimeLeftUnstuck = 120;
51 }
52
53 public void Clear()
54 {
57 }
58}
bool shimmerWet
Definition Entity.cs:32
static void BroadcastOrRequestParticleSpawn(ParticleOrchestraType type, ParticleOrchestraSettings settings)