ORK Framework  2.22.0
API Documentation
ORKFramework.Behaviours.DamageDealer Class Reference
Inheritance diagram for ORKFramework.Behaviours.DamageDealer:
ORKFramework.Behaviours.DamageBase

Public Member Functions

void SetAudioClip (AudioClip a, PlayAudioSettings aset)
 
void SetAudioType (int typeID, PlayAudioSettings aset)
 
void SetPrefab (GameObject prefab, bool mountPrefab, float destroyAfterTime, float emitTime)
 
void SetAction (BaseAction a)
 
void SetDamageActive (bool dmg, string[] tags)
 
void SetDamageActive (bool dmg, List< string > tags)
 
bool CheckOrigin (Transform t)
 
void CustomDamage (GameObject gameObject, Vector3 position, Quaternion rotation)
 

Public Attributes

DamageDealerType type = DamageDealerType.TriggerEnter
 
bool changeCollider = false
 
float expand = 0
 
bool alwaysOn = false
 
int alwaysOnAbilityID = 0
 
bool setCombatant = false
 
int factionID = 0
 
CombatantInit combatantSetting
 
bool destroyAfterTime = false
 
float destroyTime = 0
 
bool destroyOnDamage = false
 
bool destroyOnCollision = false
 
bool autoField = false
 
bool autoTurnBased = false
 
bool autoActiveTime = false
 
bool autoRealTime = false
 
bool autoPhase = false
 
Consider autoGridBattles = Consider.Ignore
 
bool oneTimeDamage = false
 
bool oneTarget = false
 
bool resetTargets = false
 
float targetResetTime = 1
 
float damageEvery = 0
 
bool baseAttack = false
 
bool counterAttack = false
 
int[] abilityID = new int[0]
 
int[] itemID = new int[0]
 
string[] activationTag = new string[0]
 

Protected Member Functions

override void Init ()
 
- Protected Member Functions inherited from ORKFramework.Behaviours.DamageBase
virtual IEnumerator ReInit ()
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.Behaviours.DamageBase
Combatant combatant
 
- Properties inherited from ORKFramework.Behaviours.DamageBase
Combatant Combatant [get, set]