Elin Decompiled Documentation EA 23.221 Nightly
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:59
Definition: Chara.cs:10
override bool IsDeadOrSleeping
Definition: Chara.cs:571
bool IsHostile()
Definition: Chara.cs:6387
Definition: EClass.cs:5
static int rnd(long a)
Definition: EClass.cs:58
List< Chara > ListCharasInRadius(Chara cc, int dist, Func< Chara, bool > func, bool onlyVisible=true)
Definition: Point.cs:1208
override void TickSong()