|
Elin Decompiled Documentation EA 23.229 Stable 1st Anniversary Patch 2
|
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_Normal (long num, long sides, int bonus=0) |
| static int | Roll_Precise (int num, int sides, int bonus=0) |
| 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() |
Properties | |
| static int | MaxValue [get] |
|
inline |
Definition at line 120 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 145 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 88 of file Dice.cs.
|
inlinestatic |
Definition at line 75 of file Dice.cs.
References Rand.Range().
Referenced by Roll(), Roll_Normal(), and Roll_Precise().
|
inline |
|
inlinestatic |
Definition at line 48 of file Dice.cs.
References bonus, card, Card.Evalue(), num, rnd(), Roll_Normal(), Roll_Precise(), and sides.
Referenced by Card.ApplyProtection(), ActEffect.DamageEle(), AttackProcess.GetRawDamage(), Check.Perform(), ActEffect.Proc(), ConHOT.Tick(), and ConMiasma.Tick().
|
inlinestatic |
Definition at line 18 of file Dice.cs.
References bonus, MaxValue, num, rnd(), and sides.
Referenced by Roll().
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
Definition at line 115 of file Dice.cs.
References bonus, num, and sides.
Referenced by Element._WriteNote(), ConHOT.OnWriteNote(), and ConMiasma.OnWriteNote().
| int Dice.bonus |
Definition at line 12 of file Dice.cs.
Referenced by Dice(), Roll(), Roll_Normal(), Roll_Precise(), RollMax(), and ToString().
| int Dice.num |
Definition at line 8 of file Dice.cs.
Referenced by Dice(), Roll(), Roll_Normal(), Roll_Precise(), RollMax(), and ToString().
| int Dice.sides |
Definition at line 10 of file Dice.cs.
Referenced by Dice(), Roll(), Roll_Normal(), Roll_Precise(), RollMax(), and ToString().
|
staticget |
Definition at line 16 of file Dice.cs.
Referenced by Roll_Normal(), Roll_Precise(), and RollMax().