|
Elin Decompiled Documentation EA 23.315 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, float delay=0f) |
| int | GetRocketPower () |
| long | 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) |
Static Public Member Functions | |
| static int | GetWeaponEnc (Chara CC, Thing w, int ele, bool addSelfEnc=false) |
| static int | GetTwoHandEncBonus (Chara CC, Thing w) |
| static void | ProcShieldEncs (Chara CC, Card TC, int mtpChance=100) |
| static void | ProcAbility (List< Element > list, Chara CC, Card TC, int bonus, bool subAttack=false, int mtpChance=100) |
| static void | ProcAbility (Element e, Chara CC, Card TC, int bonus, bool subAttack=false, int mtpChance=100) |
Static Public Member Functions inherited from EClass | |
| static int | rndSeed (int a, int seed) |
| static int | rnd (long a) |
| static int | rnd (int a) |
| static int | curve (long _a, int start, int step, int rate=75) |
| static int | sqrt (int a) |
| 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) |
Public Attributes | |
| long | toHit |
| long | toHitBase |
| long | evasion |
| int | dNum |
| int | dDim |
| int | dBonus |
| int | toHitFix |
| 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 Public Attributes inherited from EClass | |
| static Core | core |
Properties | |
| bool | IsMartial [get] |
| bool | IsMartialWeapon [get] |
| bool | IsRanged [get] |
| bool | IsCane [get] |
Properties inherited from EClass | |
| 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 () |
Definition at line 6 of file AttackProcess.cs.
|
inline |
Definition at line 1022 of file AttackProcess.cs.
References EClass.rnd(), and weapon.
|
inlineprivate |
Definition at line 1010 of file AttackProcess.cs.
|
inlineprivate |
Definition at line 1016 of file AttackProcess.cs.
|
inline |
|
inline |
Definition at line 482 of file AttackProcess.cs.
References ammo, Dice.Roll(), and Dice.RollMax().
Referenced by ActMelee.Attack().
|
inline |
Definition at line 477 of file AttackProcess.cs.
Referenced by ActRanged.Perform().
|
inline |
Definition at line 138 of file AttackProcess.cs.
References attackIndex, dBonus, dDim, dMulti, dNum, IsMartial, penetration, and toHit.
Referenced by Thing.AddAttackEvaluation().
Definition at line 129 of file AttackProcess.cs.
References Chara.body, CC, Card.Evalue(), CharaBody.GetAttackStyle(), and Card.IsWeapon.
Referenced by GetWeaponEnc(), and Thing.WriteNote().
|
inlinestatic |
Definition at line 114 of file AttackProcess.cs.
References CC, Faction.charaElements, Card.Evalue(), Chara.faction, GetTwoHandEncBonus(), Card.IsPCFactionOrMinion, EClass.pc, and ElementContainer.Value().
Referenced by ActMelee.Attack().
|
inline |
Definition at line 604 of file AttackProcess.cs.
References ammo, Faction.charaElements, Element.Create(), Debug, ElementContainer.dict, SourceManager.elements, Chara.faction, Element.IsGlobalElement, item, BaseCondition.Mod(), EClass.pc, BaseCondition.power, EClass.rnd(), Card.Say(), Msg.SetColor(), Element.source, BaseCondition.sourceElement, EClass.sources, Element.Value, Element.Void, and weapon.
Referenced by ActMelee.Attack(), ActRanged.Perform(), and ActThrow.Throw().
|
inline |
Definition at line 382 of file AttackProcess.cs.
References EClass._zone, CardRenderer.actor, CustomGunEffectData.caneColor, CC, Color, EClass.Colors, Point.Copy(), CardActor.currentDir, Chara.currentZone, GameSetting.EffectData.delay, ElementContainer.dict, GameSetting.effect, ColorProfile.elementColors, Card.elements, GameSetting.EffectData.firePos, CustomGunEffectData.forceLaser, CustomGunEffectData.forceRail, GameSetting.EffectSetting.guns, CardRenderer.hasActor, Card.id, ignoreAttackSound, numFire, Trait.owner, posRangedAnime, Card.renderer, EClass.setting, Element.source, toolRange, UDictionary< TKey, TValue >.TryGetValue(), and weapon.
Referenced by ActRanged.Perform().
|
inline |
Definition at line 146 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(), Card.HasElement(), 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().
|
inlinestatic |
Definition at line 540 of file AttackProcess.cs.
References card, EClass.curve(), Chara.HasCondition(), Element.id, ActEffect.ProcAt(), EClass.rnd(), Element.source, Act.TC, and Element.Value.
|
inlinestatic |
Definition at line 528 of file AttackProcess.cs.
References item.
Definition at line 517 of file AttackProcess.cs.
References Card.category, ElementContainer.dict, BodySlot.elementId, Card.elements, and BodySlot.thing.
| Thing AttackProcess.ammo |
Definition at line 68 of file AttackProcess.cs.
Referenced by Prepare().
| int AttackProcess.attackIndex |
Definition at line 28 of file AttackProcess.cs.
| AttackStyle AttackProcess.attackStyle |
Definition at line 74 of file AttackProcess.cs.
Referenced by Prepare().
| AttackType AttackProcess.attackType |
Definition at line 72 of file AttackProcess.cs.
Referenced by Prepare().
| Chara AttackProcess.CC |
Definition at line 56 of file AttackProcess.cs.
Referenced by GetTwoHandEncBonus(), GetWeaponEnc(), PlayRangedAnime(), and Prepare().
| bool AttackProcess.crit |
Definition at line 42 of file AttackProcess.cs.
Referenced by Prepare().
| bool AttackProcess.critFury |
Definition at line 44 of file AttackProcess.cs.
Referenced by Prepare().
|
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 20 of file AttackProcess.cs.
| int AttackProcess.dBonusAmmo |
Definition at line 34 of file AttackProcess.cs.
Referenced by Prepare().
| int AttackProcess.dDim |
Definition at line 18 of file AttackProcess.cs.
| int AttackProcess.dDimAmmo |
Definition at line 32 of file AttackProcess.cs.
Referenced by 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.
| int AttackProcess.dNum |
Definition at line 16 of file AttackProcess.cs.
| int AttackProcess.dNumAmmo |
Definition at line 30 of file AttackProcess.cs.
Referenced by Prepare().
| bool AttackProcess.evadePlus |
Definition at line 48 of file AttackProcess.cs.
Referenced by Prepare().
| long AttackProcess.evasion |
Definition at line 14 of file AttackProcess.cs.
Referenced by Prepare().
| bool AttackProcess.hit |
Definition at line 46 of file AttackProcess.cs.
Referenced by Prepare().
| bool AttackProcess.ignoreAnime |
Definition at line 52 of file AttackProcess.cs.
Referenced by Prepare().
| 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.
Referenced by Prepare().
| int AttackProcess.numFire |
Definition at line 36 of file AttackProcess.cs.
Referenced by PlayRangedAnime().
| int AttackProcess.numFireWithoutDamageLoss |
Definition at line 38 of file AttackProcess.cs.
| 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.
| long AttackProcess.toHit |
Definition at line 10 of file AttackProcess.cs.
| long AttackProcess.toHitBase |
Definition at line 12 of file AttackProcess.cs.
Referenced by Prepare().
| int AttackProcess.toHitFix |
Definition at line 22 of file AttackProcess.cs.
Referenced by Prepare().
| TraitToolRange AttackProcess.toolRange |
Definition at line 70 of file AttackProcess.cs.
Referenced by PlayRangedAnime(), and Prepare().
| Point AttackProcess.TP |
Definition at line 60 of file AttackProcess.cs.
Referenced by ActRanged.Perform(), and Prepare().
| Thing AttackProcess.weapon |
Definition at line 66 of file AttackProcess.cs.
Referenced by PlayRangedAnime(), and Prepare().
| Element AttackProcess.weaponSkill |
Definition at line 64 of file AttackProcess.cs.
Referenced by Prepare().
|
get |
Definition at line 102 of file AttackProcess.cs.
Referenced by Prepare().
|
get |
Definition at line 76 of file AttackProcess.cs.
|
get |
Definition at line 78 of file AttackProcess.cs.
Referenced by Prepare().
|
get |
Definition at line 90 of file AttackProcess.cs.
Referenced by Prepare().