ORK Framework  2.25.2
API Documentation
ORKFramework.StatusChange Class Reference
Inheritance diagram for ORKFramework.StatusChange:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
void Use (Combatant user, Combatant target, float damageFactor, float damageMultiplier, ActionResults results, bool isCritical, DamageType damageType, VariableHandler localVariables, SelectedDataHandler selectedData)
 
void ApplyEffects (Combatant user, Combatant target)
 
bool CanUse (Combatant user, VariableHandler localVariables, SelectedDataHandler selectedData)
 
string GetCostText (Combatant user, float actionCost, VariableHandler localVariables, SelectedDataHandler selectedData)
 
bool GetChangeInfo (StatusValueChangeInformation info, Combatant user, Combatant target, VariableHandler localVariables, SelectedDataHandler selectedData)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

bool cancelCasts = false
 
bool blockable = false
 
PlayAudioCombatant audioSetting = new PlayAudioCombatant()
 
ValueChange [] consume = new ValueChange[0]
 
bool useAttackEffects = false
 
bool useDefenceEffects = false
 
StatusEffectCast [] effect = new StatusEffectCast[0]
 

Member Function Documentation

◆ SetData()

override void ORKFramework.StatusChange.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.