Elin Decompiled Documentation EA 23.258 Nightly
Loading...
Searching...
No Matches
TraitSyringeUnicorn.cs
Go to the documentation of this file.
2{
3 public override void TrySetHeldAct(ActPlan p)
4 {
5 p.pos.Charas.ForEach(delegate(Chara c)
6 {
7 p.TrySetAct("actInject".lang("", c.Name), delegate
8 {
9 EffectInject(EClass.pc, c);
10 c.PlayEffect("heal");
11 c.PlaySound("heal_tick");
12 c.CureHost(CureType.Unicorn, 100, owner.blessedState);
13 owner.ModNum(-1);
14 return true;
15 }, c);
16 });
17 }
18}
Point pos
Definition: ActPlan.cs:150
bool TrySetAct(string lang, Func< bool > onPerform, Card tc, CursorInfo cursor=null, int dist=1, bool isHostileAct=false, bool localAct=true, bool canRepeat=false)
Definition: ActPlan.cs:366
string Name
Definition: Card.cs:2140
Definition: Chara.cs:10
List< Chara > Charas
Definition: Point.cs:340
override void TrySetHeldAct(ActPlan p)