Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
Dice (int _num=0, int _sides=0, int _bonus=0, Card _card=null) | |
int | Roll () |
int | RollMax () |
override string | ToString () |
Static Public Member Functions | |
static int | Roll (int num, int sides, int bonus=0, Card card=null) |
static int | RollMax (int num, int sides, int bonus=0) |
static int | rnd (int a) |
static Dice | Parse (string raw) |
static Dice | Create (Element ele, Card c) |
static Dice | Create (string id, int power, Card c=null, Act act=null) |
Public Attributes | |
int | num |
int | sides |
int | bonus |
Card | card |
Static Public Attributes | |
static Dice | Null = new Dice() |
|
inline |
Definition at line 96 of file Dice.cs.
References SourceCalc.Row.bonus, SourceManager.calc, Debug, Card.Evalue(), Element.GetPower(), Element.id, SourceCalc.Row.num, SourceCalc.Row.sides, Element.source, and EClass.sources.
Referenced by Element._WriteNote(), ActEffect.DamageEle(), ConHOT.OnWriteNote(), ConMiasma.OnWriteNote(), ActEffect.Proc(), ConHOT.Tick(), and ConMiasma.Tick().
Definition at line 121 of file Dice.cs.
References SourceCalc.Row.bonus, SourceManager.calc, Debug, Element.GetPower(), SourceCalc.Row.num, SourceCalc.Row.sides, Element.source, and EClass.sources.
|
inlinestatic |
Definition at line 64 of file Dice.cs.
|
inlinestatic |
|
inline |
|
inlinestatic |
Definition at line 15 of file Dice.cs.
References bonus, card, Card.Evalue(), num, rnd(), Roll(), and sides.
Referenced by Card.ApplyProtection(), ActEffect.DamageEle(), AttackProcess.GetRawDamage(), Check.Perform(), ActEffect.Proc(), ConHOT.Tick(), and ConMiasma.Tick().
|
inline |
|
inlinestatic |
Definition at line 46 of file Dice.cs.
References bonus, num, and sides.
Referenced by ActEffect.DamageEle(), and AttackProcess.GetRawDamage().
|
inline |
Definition at line 91 of file Dice.cs.
References bonus, num, and sides.
Referenced by Element._WriteNote(), ConHOT.OnWriteNote(), and ConMiasma.OnWriteNote().
int Dice.bonus |
int Dice.num |
int Dice.sides |