Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
string | GetText () |
void | Prepare (Chara _CC, Thing _weapon, Card _TC=null, Point _TP=null, int _attackIndex=0, bool _isThrow=false) |
void | PlayRangedAnime (int numFire) |
int | GetRawDamage (float dmgMulti, bool crit, bool maxRoll) |
bool | Perform (int count, bool hasHit, float dmgMulti=1f, bool maxRoll=false, bool subAttack=false) |
bool | CalcHit () |
string | GetAttackText (AttackType type, int id) |
Public Attributes | |
int | dNum |
int | dDim |
int | dBonus |
int | toHit |
int | toHitBase |
int | toHitFix |
int | evasion |
int | penetration |
int | distMod |
int | attackIndex |
int | dNumAmmo |
int | dDimAmmo |
int | dBonusAmmo |
int | numFire |
int | numFireWithoutDamageLoss |
float | dMulti |
bool | crit |
bool | critFury |
bool | hit |
bool | evadePlus |
bool | isThrow |
bool | ignoreAnime |
bool | ignoreAttackSound |
Chara | CC |
Card | TC |
Point | TP |
Point | posRangedAnime |
Element | weaponSkill |
Thing | weapon |
Thing | ammo |
TraitToolRange | toolRange |
AttackType | attackType |
AttackStyle | attackStyle |
Static Public Attributes | |
static AttackProcess | Current = new AttackProcess() |
![]() | |
static Core | core |
Properties | |
bool | IsMartial [get] |
bool | IsMartialWeapon [get] |
bool | IsRanged [get] |
bool | IsCane [get] |
![]() | |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static FactionBranch | Branch [get] |
static FactionBranch | BranchOrHomeBranch [get] |
static Faction | Home [get] |
static Faction | Wilds [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static GameSetting | setting [get] |
static GameData | gamedata [get] |
static ColorProfile | Colors [get] |
static World | world [get] |
static SourceManager | sources [get] |
static SourceManager | editorSources [get] |
static SoundManager | Sound [get] |
static CoreDebug | debug [get] |
Private Member Functions | |
bool | Crit () |
bool | EvadePlus () |
Additional Inherited Members | |
![]() | |
static int | rnd (int a) |
static int | curve (int a, int start, int step, int rate=75) |
static int | rndHalf (int a) |
static float | rndf (float a) |
static int | rndSqrt (int a) |
static void | Wait (float a, Card c) |
static void | Wait (float a, Point p) |
static int | Bigger (int a, int b) |
static int | Smaller (int a, int b) |
Definition at line 6 of file AttackProcess.cs.
|
inline |
Definition at line 865 of file AttackProcess.cs.
References CC, crit, Crit(), critFury, EvadePlus(), Card.Evalue(), evasion, Card.hp, IsRanged, Chara.MaxHP, EClass.rnd(), toHit, and weapon.
Referenced by Perform().
|
inlineprivate |
|
inlineprivate |
Definition at line 859 of file AttackProcess.cs.
References evadePlus.
Referenced by CalcHit().
|
inline |
Definition at line 943 of file AttackProcess.cs.
References Lang.GetList().
Referenced by Perform().
|
inline |
Definition at line 401 of file AttackProcess.cs.
References ammo, CC, crit, dBonus, dBonusAmmo, dDim, dDimAmmo, dMulti, dNum, dNumAmmo, Card.Evalue(), ConStrife.GetDice(), Chara.HasCondition(), IsMartial, IsMartialWeapon, Dice.Roll(), and Dice.RollMax().
Referenced by ActMelee.Attack(), and Perform().
|
inline |
Definition at line 114 of file AttackProcess.cs.
References attackIndex, dBonus, dDim, dMulti, dNum, IsMartial, penetration, and toHit.
Referenced by Thing.AddAttackEvaluation().
|
inline |
Definition at line 436 of file AttackProcess.cs.
References ammo, attackStyle, attackType, Chara.body, CalcHit(), card, CC, Faction.charaElements, Element.Create(), crit, critFury, EClass.curve(), Debug, ElementContainer.dict, Card.elements, SourceManager.elements, evadePlus, Card.Evalue(), Chara.faction, CharaBody.GetAttackStyleElement(), GetAttackText(), GetRawDamage(), Chara.HasCondition(), Card.HasEditorTag(), Card.HasElement(), hit, Card.id, Element.id, ignoreAnime, Chara.IsAliveInCurrentZone, SourceRace.Row.IsAnimal, IsCane, Card.isCopy, SourceRace.Row.IsDragon, SourceRace.Row.IsFairy, SourceRace.Row.IsFish, SourceRace.Row.IsGod, Chara.IsHostile(), SourceRace.Row.IsHuman, SourceRace.Row.IsMachine, Chara.IsPC, Chara.IsPCFaction, Chara.IsPCParty, IsRanged, Card.isRestrained, Chara.isSynced, isThrow, SourceRace.Row.IsUndead, item, Card.LV, Chara.MainElement, BaseCondition.Mod(), Card.ModExp(), numFire, numFireWithoutDamageLoss, EClass.pc, penetration, PlayRangedAnime(), Card.PlaySound(), Card.pos, BaseCondition.power, Card.Power, ActEffect.ProcAt(), EClass.rnd(), Card.Say(), Msg.SetColor(), Element.source, BaseCondition.sourceElement, EClass.sources, TC, toolRange, Card.trait, Element.Value, ElementContainer.ValueWithoutLink(), Element.Void, weapon, and weaponSkill.
Referenced by ActMelee.Attack(), ActRanged.Perform(), and ActThrow.Throw().
|
inline |
Definition at line 333 of file AttackProcess.cs.
References Effect._Play(), EClass._zone, CardRenderer.actor, CC, Color, EClass.Colors, Point.Copy(), EClass.core, CardActor.currentDir, Chara.currentZone, GameSetting.EffectData.delay, ElementContainer.dict, GameSetting.effect, GameSetting.EffectData.eject, ColorProfile.elementColors, Card.elements, Effect.Emit(), GameSetting.EffectData.firePos, Effect.Get(), GameSetting.EffectSetting.guns, CardRenderer.hasActor, Card.id, GameSetting.EffectData.idEffect, GameSetting.EffectData.idSound, ignoreAttackSound, Chara.IsAliveInCurrentZone, Core.IsGameStarted, Chara.isSynced, numFire, Trait.owner, Card.PlayEffect(), Card.PlaySound(), Card.pos, CardRenderer.position, Point.Position(), Point.PositionCenter(), posRangedAnime, Card.renderer, EClass.setting, Element.source, GameSetting.EffectData.sprite, toolRange, UDictionary< TKey, TValue >.TryGetValue(), and weapon.
Referenced by ActRanged.Perform(), and Perform().
|
inline |
Definition at line 122 of file AttackProcess.cs.
References ammo, Card.ammoData, attackIndex, attackStyle, attackType, TraitToolRange.BestDist, Chara.body, Card.c_diceDim, Card.category, CC, Card.ChildrenWeight, crit, critFury, EClass.curve(), dBonus, dBonusAmmo, dDim, dDimAmmo, Card.DEX, Point.Distance(), distMod, Card.DMG, dMulti, dNum, dNumAmmo, Card.elements, Card.encLV, evadePlus, Card.Evalue(), Card.EvalueMax(), Chara.EvalueRiding(), evasion, CharaBody.GetAttackStyle(), ElementContainer.GetOrCreateElement(), Element.GetParent(), Chara.HasCondition(), Chara.HasHigherGround(), Card.HasTag(), hit, Card.HIT, Chara.host, if(), ignoreAnime, ignoreAttackSound, Chara.isBlind, IsCane, Chara.isConfused, IsMartial, IsMartialWeapon, Chara.IsPCParty, IsRanged, isThrow, Card.LV, Card.material, Chara.parasite, penetration, Thing.Penetration, Card.pos, posRangedAnime, Chara.race, Chara.ride, EClass.rnd(), Thing.SelfWeight, Thing.source, Card.STR, toHit, toHitBase, toHitFix, toolRange, TP, Card.trait, Element.Value, weapon, weaponSkill, TraitToolRange.WeaponSkill, and Card.WIL.
Referenced by Thing.AddAttackEvaluation(), ActMelee.Attack(), ActRanged.Perform(), and ActThrow.Throw().
Thing AttackProcess.ammo |
Definition at line 68 of file AttackProcess.cs.
Referenced by GetRawDamage(), Perform(), and Prepare().
int AttackProcess.attackIndex |
Definition at line 28 of file AttackProcess.cs.
AttackStyle AttackProcess.attackStyle |
Definition at line 74 of file AttackProcess.cs.
AttackType AttackProcess.attackType |
Definition at line 72 of file AttackProcess.cs.
Chara AttackProcess.CC |
Definition at line 56 of file AttackProcess.cs.
Referenced by CalcHit(), GetRawDamage(), Perform(), PlayRangedAnime(), and Prepare().
bool AttackProcess.crit |
Definition at line 42 of file AttackProcess.cs.
Referenced by CalcHit(), Crit(), GetRawDamage(), Perform(), and Prepare().
bool AttackProcess.critFury |
Definition at line 44 of file AttackProcess.cs.
|
static |
Definition at line 8 of file AttackProcess.cs.
Referenced by Thing.AddAttackEvaluation(), ActMelee.Attack(), ActRanged.Perform(), and ActThrow.Throw().
int AttackProcess.dBonus |
Definition at line 14 of file AttackProcess.cs.
Referenced by GetRawDamage(), GetText(), and Prepare().
int AttackProcess.dBonusAmmo |
Definition at line 34 of file AttackProcess.cs.
Referenced by GetRawDamage(), and Prepare().
int AttackProcess.dDim |
Definition at line 12 of file AttackProcess.cs.
Referenced by GetRawDamage(), GetText(), and Prepare().
int AttackProcess.dDimAmmo |
Definition at line 32 of file AttackProcess.cs.
Referenced by GetRawDamage(), and Prepare().
int AttackProcess.distMod |
Definition at line 26 of file AttackProcess.cs.
Referenced by Prepare().
float AttackProcess.dMulti |
Definition at line 40 of file AttackProcess.cs.
Referenced by GetRawDamage(), GetText(), and Prepare().
int AttackProcess.dNum |
Definition at line 10 of file AttackProcess.cs.
Referenced by GetRawDamage(), GetText(), and Prepare().
int AttackProcess.dNumAmmo |
Definition at line 30 of file AttackProcess.cs.
Referenced by GetRawDamage(), and Prepare().
bool AttackProcess.evadePlus |
Definition at line 48 of file AttackProcess.cs.
Referenced by EvadePlus(), Perform(), and Prepare().
int AttackProcess.evasion |
Definition at line 22 of file AttackProcess.cs.
bool AttackProcess.hit |
Definition at line 46 of file AttackProcess.cs.
bool AttackProcess.ignoreAnime |
Definition at line 52 of file AttackProcess.cs.
bool AttackProcess.ignoreAttackSound |
Definition at line 54 of file AttackProcess.cs.
Referenced by PlayRangedAnime(), and Prepare().
bool AttackProcess.isThrow |
Definition at line 50 of file AttackProcess.cs.
int AttackProcess.numFire |
Definition at line 36 of file AttackProcess.cs.
Referenced by Perform(), and PlayRangedAnime().
int AttackProcess.numFireWithoutDamageLoss |
Definition at line 38 of file AttackProcess.cs.
Referenced by Perform().
int AttackProcess.penetration |
Definition at line 24 of file AttackProcess.cs.
Point AttackProcess.posRangedAnime |
Definition at line 62 of file AttackProcess.cs.
Referenced by PlayRangedAnime(), and Prepare().
Card AttackProcess.TC |
Definition at line 58 of file AttackProcess.cs.
Referenced by Perform().
int AttackProcess.toHit |
Definition at line 16 of file AttackProcess.cs.
int AttackProcess.toHitBase |
Definition at line 18 of file AttackProcess.cs.
Referenced by Prepare().
int AttackProcess.toHitFix |
Definition at line 20 of file AttackProcess.cs.
Referenced by Prepare().
TraitToolRange AttackProcess.toolRange |
Definition at line 70 of file AttackProcess.cs.
Referenced by Perform(), PlayRangedAnime(), and Prepare().
Point AttackProcess.TP |
Definition at line 60 of file AttackProcess.cs.
Referenced by Prepare().
Thing AttackProcess.weapon |
Definition at line 66 of file AttackProcess.cs.
Referenced by CalcHit(), Perform(), PlayRangedAnime(), and Prepare().
Element AttackProcess.weaponSkill |
Definition at line 64 of file AttackProcess.cs.
|
get |
Definition at line 102 of file AttackProcess.cs.
|
get |
Definition at line 76 of file AttackProcess.cs.
Referenced by GetRawDamage(), GetText(), and Prepare().
|
get |
Definition at line 78 of file AttackProcess.cs.
Referenced by GetRawDamage(), and Prepare().
|
get |
Definition at line 90 of file AttackProcess.cs.