ORK Framework  2.23.0
API Documentation
ORKFramework.ActiveAbility Class Reference
Inheritance diagram for ORKFramework.ActiveAbility:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool ConsumeItems (Combatant combatant)
 
bool CheckItems (Combatant combatant)
 
float GetActionCost (Combatant user, VariableHandler localVariables, SelectedDataHandler selectedData)
 
bool CanUseCombo (int lastID)
 
bool CanUse (Combatant user, bool checkTime, bool checkUseCosts, int realID, AbilityActionType actionType, VariableHandler localVariables, SelectedDataHandler selectedData)
 
void UseCosts (Combatant user, VariableHandler localVariables, SelectedDataHandler selectedData)
 
void Use (Combatant user, List< Combatant > target, Ability ability, bool animate, AbilityActionType actionType, VariableHandler localVariables, SelectedDataHandler selectedData)
 
void Use (Combatant user, List< Combatant > target, Ability ability, bool animate, BaseAction action, AbilityActionType actionType, bool doCounter, bool doUseCosts, float damageFactor, float damageMultiplier, VariableHandler localVariables, SelectedDataHandler selectedData)
 
void SetReuseAfter (Combatant user, int realID, 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

TargetSettings targetSettings = new TargetSettings()
 
float availableTime = 0
 
bool revive = false
 
bool counterable = false
 
bool reflectable = false
 
bool scanTarget = false
 
bool scanIgnoreNotScanable = false
 
bool scanIgnoreNoEntry = false
 
bool endTurn = true
 
float timebarUse = 1000
 
bool ownTurnActionCost = false
 
ActionCost turnActionCostSetting
 
bool ownPhaseActionCost = false
 
ActionCost phaseActionCostSetting
 
bool useHitChance = false
 
bool useUserHitChance = false
 
FloatValue hitChance
 
bool hasCritical = false
 
FloatValue criticalChance
 
bool ownCastTime = false
 
CastTimeSettings castTime
 
EndAfter reuseType = EndAfter.None
 
UseBlockScope reuseScope = UseBlockScope.Single
 
FloatValue reuseAfter
 
bool useDelay = false
 
FloatValue delayTime
 
bool callGlobalEvent = false
 
int globalEventID = 0
 
bool changeClass = false
 
ClassChange classChange
 
bool setRandomBattleFactor = false
 
float randomBattleFactor = 0
 
float randomBattleFactorTime = 60
 
bool removeTurnOrder = false
 
int orderChange = 0
 
bool changeTimebar = false
 
FormulaOperator timebarChangeOperator = FormulaOperator.Add
 
FloatValue timebarChange
 
Rounding timebarChangeRounding = Rounding.None
 
bool changeActionsPerTurn = false
 
bool changeUsedActionsPerTurn = false
 
FormulaOperator actionsPerTurnChangeOperator = FormulaOperator.Add
 
FloatValue actionsPerTurnChange
 
Rounding actionsPerTurnChangeRounding = Rounding.None
 
BattleAnimationSetting battleAnimation = new BattleAnimationSetting()
 
string[] activationTags = new string[0]
 
DamageDealerActivation ddActivation = new DamageDealerActivation()
 
StealChance stealChance = new StealChance()
 
bool useRequirements = false
 
SimpleCombatantRequirement requirement
 
AbilityCombo[] abilityCombo = new AbilityCombo[0]
 
UseCostAutoConsumeType autoConsumeType = UseCostAutoConsumeType.WithoutTargets
 
StatusChange useCost = new StatusChange()
 
bool itemShowNotification = true
 
bool itemShowConsole = true
 
ItemCost[] itemConsume = new ItemCost[0]
 
bool userChangeTargetHitOnly = false
 
StatusChange userChange = new StatusChange()
 
StatusChange targetChange = new StatusChange()
 
StatusChange userCriticalChange
 
StatusChange targetCriticalChange
 

Member Function Documentation

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.