Elin Decompiled Documentation
EA 23.250 Nightly Patch 1
Loading...
Searching...
No Matches
ConWeapon.cs
Go to the documentation of this file.
1
using
Newtonsoft.Json;
2
3
public
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
}
BaseBuff
Definition:
BaseBuff.cs:2
Card.CHA
int CHA
Definition:
Card.cs:2347
Chara
Definition:
Chara.cs:10
ConWeapon
Definition:
ConWeapon.cs:4
ConWeapon.cha
int cha
Definition:
ConWeapon.cs:6
ConWeapon.P2
override int P2
Definition:
ConWeapon.cs:10
ConWeapon.CanStack
override bool CanStack(Condition c)
Definition:
ConWeapon.cs:21
ConWeapon.IsElemental
override bool IsElemental
Definition:
ConWeapon.cs:8
ConWeapon.IsOverrideConditionMet
override bool IsOverrideConditionMet(Condition c, int turn)
Definition:
ConWeapon.cs:12
ConWeapon.Tick
override void Tick()
Definition:
ConWeapon.cs:17
ConWeapon.SetOwner
override void SetOwner(Chara _owner, bool onDeserialize=false)
Definition:
ConWeapon.cs:26
Condition
Definition:
Condition.cs:4
Elin
ConWeapon.cs
Generated by
1.9.6