Elin Decompiled Documentation EA 23.284 Nightly Patch 2
Loading...
Searching...
No Matches
StanceSongSleep.cs
Go to the documentation of this file.
1using UnityEngine;
2
4{
5 public override int IdAbility => 6750;
6
7 public override void TickSong()
8 {
10 {
11 if (owner == null || !owner.ExistsOnMap)
12 {
13 break;
14 }
15 if ((item.IsPowerful ? 10 : 30) * Mathf.Min(base.power / 4, 100) / 100 > EClass.rnd(100))
16 {
17 item.AddCondition<ConSleep>(50 + base.power / 2);
18 }
19 }
20 }
21}
bool ExistsOnMap
Definition: Card.cs:2123
Point pos
Definition: Card.cs:60
Definition: Chara.cs:10
override bool IsDeadOrSleeping
Definition: Chara.cs:575
bool IsHostile()
Definition: Chara.cs:6653
Definition: EClass.cs:6
static int rnd(long a)
Definition: EClass.cs:59
List< Chara > ListCharasInRadius(Chara cc, int dist, Func< Chara, bool > func, bool onlyVisible=true)
Definition: Point.cs:1220
override void TickSong()
override int IdAbility