Elin Modding Docs Doc
Loading...
Searching...
No Matches
AttackProcess Class Reference
Inheritance diagram for AttackProcess:
EClass

Public Member Functions

string GetText ()
 
void Prepare (Chara _CC, Thing _weapon, Card _TC=null, Point _TP=null, int _attackIndex=0, bool _isThrow=false)
 
unsafe void PlayRangedAnime (int numFire)
 
bool Perform (int count, bool hasHit, float dmgMulti=1f, bool maxRoll=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 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]
 

Additional Inherited Members

- Static Public Member Functions inherited from EClass
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)
 

Detailed Description

Definition at line 8 of file AttackProcess.cs.

Member Function Documentation

◆ CalcHit()

bool AttackProcess.CalcHit ( )

Definition at line 676 of file AttackProcess.cs.

◆ GetAttackText()

string AttackProcess.GetAttackText ( AttackType type,
int id )

Definition at line 750 of file AttackProcess.cs.

◆ GetText()

string AttackProcess.GetText ( )

Definition at line 51 of file AttackProcess.cs.

◆ Perform()

bool AttackProcess.Perform ( int count,
bool hasHit,
float dmgMulti = 1f,
bool maxRoll = false )

Definition at line 350 of file AttackProcess.cs.

◆ PlayRangedAnime()

unsafe void AttackProcess.PlayRangedAnime ( int numFire)

Definition at line 270 of file AttackProcess.cs.

◆ Prepare()

void AttackProcess.Prepare ( Chara _CC,
Thing _weapon,
Card _TC = null,
Point _TP = null,
int _attackIndex = 0,
bool _isThrow = false )

Definition at line 60 of file AttackProcess.cs.

Member Data Documentation

◆ ammo

Thing AttackProcess.ammo

Definition at line 996 of file AttackProcess.cs.

◆ attackIndex

int AttackProcess.attackIndex

Definition at line 939 of file AttackProcess.cs.

◆ attackStyle

AttackStyle AttackProcess.attackStyle

Definition at line 1005 of file AttackProcess.cs.

◆ attackType

AttackType AttackProcess.attackType

Definition at line 1002 of file AttackProcess.cs.

◆ CC

Chara AttackProcess.CC

Definition at line 978 of file AttackProcess.cs.

◆ crit

bool AttackProcess.crit

Definition at line 960 of file AttackProcess.cs.

◆ Current

AttackProcess AttackProcess.Current = new AttackProcess()
static

Definition at line 909 of file AttackProcess.cs.

◆ dBonus

int AttackProcess.dBonus

Definition at line 918 of file AttackProcess.cs.

◆ dBonusAmmo

int AttackProcess.dBonusAmmo

Definition at line 948 of file AttackProcess.cs.

◆ dDim

int AttackProcess.dDim

Definition at line 915 of file AttackProcess.cs.

◆ dDimAmmo

int AttackProcess.dDimAmmo

Definition at line 945 of file AttackProcess.cs.

◆ distMod

int AttackProcess.distMod

Definition at line 936 of file AttackProcess.cs.

◆ dMulti

float AttackProcess.dMulti

Definition at line 957 of file AttackProcess.cs.

◆ dNum

int AttackProcess.dNum

Definition at line 912 of file AttackProcess.cs.

◆ dNumAmmo

int AttackProcess.dNumAmmo

Definition at line 942 of file AttackProcess.cs.

◆ evadePlus

bool AttackProcess.evadePlus

Definition at line 966 of file AttackProcess.cs.

◆ evasion

int AttackProcess.evasion

Definition at line 930 of file AttackProcess.cs.

◆ hit

bool AttackProcess.hit

Definition at line 963 of file AttackProcess.cs.

◆ ignoreAnime

bool AttackProcess.ignoreAnime

Definition at line 972 of file AttackProcess.cs.

◆ ignoreAttackSound

bool AttackProcess.ignoreAttackSound

Definition at line 975 of file AttackProcess.cs.

◆ isThrow

bool AttackProcess.isThrow

Definition at line 969 of file AttackProcess.cs.

◆ numFire

int AttackProcess.numFire

Definition at line 951 of file AttackProcess.cs.

◆ numFireWithoutDamageLoss

int AttackProcess.numFireWithoutDamageLoss

Definition at line 954 of file AttackProcess.cs.

◆ penetration

int AttackProcess.penetration

Definition at line 933 of file AttackProcess.cs.

◆ posRangedAnime

Point AttackProcess.posRangedAnime

Definition at line 987 of file AttackProcess.cs.

◆ TC

Card AttackProcess.TC

Definition at line 981 of file AttackProcess.cs.

◆ toHit

int AttackProcess.toHit

Definition at line 921 of file AttackProcess.cs.

◆ toHitBase

int AttackProcess.toHitBase

Definition at line 924 of file AttackProcess.cs.

◆ toHitFix

int AttackProcess.toHitFix

Definition at line 927 of file AttackProcess.cs.

◆ toolRange

TraitToolRange AttackProcess.toolRange

Definition at line 999 of file AttackProcess.cs.

◆ TP

Point AttackProcess.TP

Definition at line 984 of file AttackProcess.cs.

◆ weapon

Thing AttackProcess.weapon

Definition at line 993 of file AttackProcess.cs.

◆ weaponSkill

Element AttackProcess.weaponSkill

Definition at line 990 of file AttackProcess.cs.

Property Documentation

◆ IsCane

bool AttackProcess.IsCane
get

Definition at line 42 of file AttackProcess.cs.

◆ IsMartial

bool AttackProcess.IsMartial
get

Definition at line 12 of file AttackProcess.cs.

◆ IsMartialWeapon

bool AttackProcess.IsMartialWeapon
get

Definition at line 22 of file AttackProcess.cs.

◆ IsRanged

bool AttackProcess.IsRanged
get

Definition at line 32 of file AttackProcess.cs.


The documentation for this class was generated from the following file: