ORK Framework  2.25.2
API Documentation
ORKFramework.AbilityAction Class Reference
Inheritance diagram for ORKFramework.AbilityAction:
ORKFramework.TargetRangeAction ORKFramework.BaseAction ORKFramework.ITargetRange ORKFramework.Events.IEventStarter

Public Member Functions

 AbilityAction (Combatant user, AbilityShortcut ability)
 
override bool IsType (ActionType t)
 
override void SetTarget (Combatant t)
 
override void SetTargets (List< Combatant > t)
 
override bool AutoTarget (List< Combatant > preferredTargets, List< Combatant > allies, List< Combatant > enemies)
 
override bool ForceFoundTargets (List< Combatant > preferredTargets, List< Combatant > allies, List< Combatant > enemies)
 
override bool SetGroupTarget ()
 
override bool SetIndividualTarget ()
 
override bool CanTarget (Combatant c)
 
override void AutoActivateUserDamageDealers (bool activate)
 
override bool CheckDamageDealer (DamageDealer dealer)
 
override string [] GetActivationTags ()
 
override DamageDealerActivation GetDamageDealerActivation ()
 
override void SetRandomTarget ()
 
override bool TargetNone ()
 
override bool InRange (Combatant t)
 
override bool InRange (Vector3 position)
 
override bool CanUse ()
 
override void ActionAdded ()
 
override void Calculate (List< Combatant > ts, float damageFactor, bool animate)
 
override void ConsumeCosts ()
 
- Public Member Functions inherited from ORKFramework.TargetRangeAction
virtual void SetTargetRange (ITargetRange targetRange)
 
bool IsNoneTarget ()
 
bool IsSingleTarget ()
 
bool IsGroupTarget ()
 
bool ToggleTargetRange ()
 
- Public Member Functions inherited from ORKFramework.BaseAction
virtual string GetName ()
 
void CheckActionAffiliation ()
 
virtual bool IsCasting ()
 
virtual bool CanCancelCasting ()
 
virtual bool CancelCasting ()
 
void UpdateTargets ()
 
void PerformCheckTargets ()
 
bool HasTargets ()
 
bool HasTargets (List< Combatant > list)
 
bool HasOutOfRangeTargets ()
 
Combatant GetNearestTarget ()
 
void CheckTargetAggressive ()
 
void CheckBestiary (List< Combatant > list)
 
List< CombatantGetTargetsWithAffectRange (AffectRangeType type, TargetSettings targetSettings, List< Combatant > targets)
 
void CheckCanTarget ()
 
bool InRange ()
 
bool InBattleRange ()
 
void MoveAITick ()
 
virtual void PerformAction ()
 
virtual void EventEnded ()
 
void StopAction ()
 
void ClearEvents ()
 
void Tick ()
 
void DontDestroy ()
 
void OnSceneLoaded ()
 
void AddSubAction (BaseAction action, bool shareVariables, bool shareFoundObjects)
 
void SubActionFinished (BaseAction action)
 
void ShowTooltip ()
 
void RemoveTooltip ()
 

Protected Member Functions

override void CreateStatusChangeInfos ()
 
override void ActionStartSetup ()
 
override void ActionEndSetup ()
 
- Protected Member Functions inherited from ORKFramework.BaseAction
void GetNextEvent ()
 

Protected Attributes

AbilityShortcut ability
 
bool experienceGained = false
 
- Protected Attributes inherited from ORKFramework.TargetRangeAction
TargetRange targetRange = TargetRange.None
 
- Protected Attributes inherited from ORKFramework.BaseAction
Combatant user
 
GridPath gridPath
 
Dictionary< Combatant, StatusChangeInformationstatusChangesTarget
 
float castTime = -2
 
float castTimeMax = -1
 
bool castMove = true
 
bool isCasted = false
 
List< BattleEventevents
 
BattleEvent activeEvent
 
VariableHandler variableHandler
 
SelectedDataHandler selectedData
 
Dictionary< string, List< GameObject > > foundObjects
 
List< BaseActionsubAction
 
bool userConsumeDone = false
 
Consider targetDead = Consider.No
 
bool consumeTime = true
 
float actionCost = 0
 
bool tooltipDisplayed = false
 

Properties

override IShortcut Shortcut [get]
 
AbilityShortcut Ability [get]
 
- Properties inherited from ORKFramework.BaseAction
Combatant User [get]
 
virtual IShortcut Shortcut [get]
 
float ActionCost [get]
 
bool ConsumeTime [get, set]
 
GridPath GridPath [get, set]
 
CombatantAffiliationType ActionAffiliation [get]
 
virtual bool ConsumeDone [get, set]
 
VariableHandler Variables [get, set]
 
SelectedDataHandler SelectedData [get, set]
 
Dictionary< string, List< GameObject > > FoundObjects [get, set]
 
Consider TargetDead [get]
 
virtual float CastTime [get, set]
 
virtual float CastTimeMax [get]
 
virtual bool CastMove [get]
 
virtual bool IsCasted [get, set]
 
GameObject GameObject [get]
 
- Properties inherited from ORKFramework.Events.IEventStarter
GameObject GameObject [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from ORKFramework.BaseAction
static AbilityAction CreateAbility (Combatant user, AbilityShortcut ability, int lvl)
 
- Public Attributes inherited from ORKFramework.BaseAction
bool forceFoundTargets = false
 
bool moveToTarget = false
 
bool blockBattleCamera = false
 
List< Combatanttarget
 
List< CombatantoutOfRange
 
List< Combatantcounter = new List<Combatant>()
 
ActionResults results
 
ActionFinished finishedCallback
 
ActionFinished subActionFinishedCallback
 
bool autoAttackFlag = false
 
bool isPerforming = false
 
bool notifiedFinished = false
 
bool endPhaseFlag = false
 
TargetRaycast targetRaycast = new TargetRaycast()
 
bool rayTargetSet = false
 
Vector3 rayPoint = Vector3.zero
 
bool rayObjectCreated = false
 
GameObject rayObject = null
 
float damageMultiplier = 1