ORK Framework  2.27.1
API Documentation
ORKFramework.ValueChange Class Reference
Inheritance diagram for ORKFramework.ValueChange:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool HasRandomDisplay ()
 
int GetChange (Combatant user, Combatant target, float damageFactor, float damageMultiplier, VariableHandler localVariables, SelectedDataHandler selectedData, StatusValueChangeSource source, bool showImmunityNotification)
 
int GetDisplayChangeMin (Combatant user, Combatant target, float damageFactor, float damageMultiplier, VariableHandler localVariables, SelectedDataHandler selectedData)
 
int GetDisplayChangeMax (Combatant user, Combatant target, float damageFactor, float damageMultiplier, VariableHandler localVariables, SelectedDataHandler selectedData)
 
int ChangeValue (Combatant user, Combatant target, float damageFactor, float damageMultiplier, IStatusValueChangeSource changeSource, ActionResults results, bool isCritical, DamageType damageType, VariableHandler localVariables, SelectedDataHandler selectedData)
 
bool CheckRequirements (Combatant user, Combatant target)
 
- 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

int statusID = 0
 
bool ignoreBarrier = false
 
bool ignoreStatusChangeModifier = false
 
bool exceedUseCost = false
 
bool showFlyingText = true
 
bool showConsole = true
 
SimpleOperator simpleOperator = SimpleOperator.Add
 
ValueOrigin valueOrigin = ValueOrigin.Value
 
int value = 0
 
int valID = 0
 
int formulaID = 0
 
float initialValue = 0
 
bool formulaMinMaxDisplay = false
 
int minFormulaID = 0
 
float minInitialValue = 0
 
int maxFormulaID = 0
 
float maxInitialValue = 0
 
int randomMin = 0
 
int randomMax = 0
 
float efficiency = 1.0f
 
ValueSetter changeIn = ValueSetter.Value
 
Rounding rounding = Rounding.None
 
bool cancelCasts = false
 
bool blockable = false
 
bool ignoreDefend = false
 
bool useAbsorbEffect = false
 
bool absorb = false
 
bool absorbPositive = false
 
float absorbePercent = 0
 
bool useAttributeChanges = false
 
StatusValueAttributeChange attributeChanges
 
RequirementTargetType requirementType = RequirementTargetType.None
 
SimpleCombatantRequirement requirement
 

Properties

bool IsAdd [get]
 
bool IsSub [get]
 
bool IsSet [get]
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.