Elin Decompiled Documentation EA 23.261 Nightly Patch 3
Loading...
Searching...
No Matches
StanceSongSleep.cs
Go to the documentation of this file.
1using UnityEngine;
2
4{
5 public override void TickSong()
6 {
8 {
9 if ((item.IsPowerful ? 10 : 30) * Mathf.Min(base.power / 4, 100) / 100 > EClass.rnd(100))
10 {
11 item.AddCondition<ConSleep>(50 + base.power / 2);
12 }
13 }
14 }
15}
Point pos
Definition: Card.cs:60
Definition: Chara.cs:10
override bool IsDeadOrSleeping
Definition: Chara.cs:575
bool IsHostile()
Definition: Chara.cs:6590
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()