ORK Framework  2.27.1
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)
 
float GetActionCost (Combatant user, BattleSystemType type, VariableHandler localVariables, SelectedDataHandler selectedData)
 
bool CanUseCombo (int lastID)
 
bool CanUse (Combatant user, bool checkTime, bool checkUseCosts, AbilityShortcut ability, VariableHandler localVariables, SelectedDataHandler selectedData)
 
void UseCosts (Combatant user, AbilityShortcut ability, VariableHandler localVariables, SelectedDataHandler selectedData)
 
void Use (Combatant user, List< Combatant > target, AbilityShortcut ability, bool animate, BaseAction action, 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
 
AssetSource< ORKGameEventmissGameEvent
 
AssetSource< ORKGameEventuserMissGameEvent
 
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
 
TurnBasedOrderChanges turnBasedOrderChanges = new TurnBasedOrderChanges()
 
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
 
StealChance stealChance = new StealChance()
 
BattleAnimationSetting battleAnimation = new BattleAnimationSetting()
 
string [] activationTags = new string[0]
 
DamageDealerActivation ddActivation = new DamageDealerActivation()
 
bool useRequirements = false
 
SimpleCombatantRequirement requirement
 
AbilityCombo [] abilityCombo = new AbilityCombo[0]
 
UseCostAutoConsumeType autoConsumeType = UseCostAutoConsumeType.WithoutTargets
 
UseCountSettings useCount = new UseCountSettings()
 
StatusChange useCost = new StatusChange()
 
bool itemShowNotification = true
 
bool itemShowConsole = true
 
ItemCost [] itemConsume = new ItemCost[0]
 
bool userChangeTargetHitOnly = false
 
StatusChange userChange = new StatusChange()
 
TargetStatusChange [] targetChange = new TargetStatusChange[0]
 
StatusChange userCriticalChange
 
TargetStatusChange [] targetCriticalChange
 

Member Function Documentation

◆ SetData()

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.