Elin Decompiled Documentation EA 23.237 Stable
Loading...
Searching...
No Matches
ConTransmuteBat.cs
Go to the documentation of this file.
2{
3 public override bool HasDuration => false;
4
5 public override bool CanManualRemove => !owner.HasCooldown(8793);
6
8 {
9 return RendererReplacer.CreateFrom("bat_trans");
10 }
11
12 public override void Tick()
13 {
14 }
15
16 public override void OnStart()
17 {
18 base.OnStart();
19 owner.PlaySound("bat");
20 }
21
22 public override void OnRemoved()
23 {
24 base.OnRemoved();
26 owner.SetCooldown(8793);
27 }
28}
HealSource
Definition: HealSource.cs:2
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
Definition: Card.cs:6113
virtual void HealHP(int a, HealSource origin=HealSource.None)
Definition: Card.cs:3988
void SetCooldown(int idEle, int turns=0)
Definition: Chara.cs:8561
override int MaxHP
Definition: Chara.cs:708
bool HasCooldown(int idEle)
Definition: Chara.cs:8594
override bool CanManualRemove
override bool HasDuration
override void OnStart()
override RendererReplacer GetRendererReplacer()
override void OnRemoved()
override void Tick()
static RendererReplacer CreateFrom(string id, int shift=0)