Elin Decompiled Documentation EA 23.250 Nightly Patch 1
Loading...
Searching...
No Matches
ConWeapon.cs
Go to the documentation of this file.
1using Newtonsoft.Json;
2
3public class ConWeapon : BaseBuff
4{
5 [JsonProperty]
6 public int cha;
7
8 public override bool IsElemental => true;
9
10 public override int P2 => cha;
11
12 public override bool IsOverrideConditionMet(Condition c, int turn)
13 {
14 return true;
15 }
16
17 public override void Tick()
18 {
19 }
20
21 public override bool CanStack(Condition c)
22 {
23 return true;
24 }
25
26 public override void SetOwner(Chara _owner, bool onDeserialize = false)
27 {
28 if (!onDeserialize)
29 {
30 cha = _owner.CHA;
31 }
32 base.SetOwner(_owner, onDeserialize);
33 }
34}
int CHA
Definition: Card.cs:2347
Definition: Chara.cs:10
int cha
Definition: ConWeapon.cs:6
override int P2
Definition: ConWeapon.cs:10
override bool CanStack(Condition c)
Definition: ConWeapon.cs:21
override bool IsElemental
Definition: ConWeapon.cs:8
override bool IsOverrideConditionMet(Condition c, int turn)
Definition: ConWeapon.cs:12
override void Tick()
Definition: ConWeapon.cs:17
override void SetOwner(Chara _owner, bool onDeserialize=false)
Definition: ConWeapon.cs:26