ORK Framework  2.34.0
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 PredetermineResults (bool useOnce, List< Combatant > usedTargets)
 
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 void ClampToRange (ref Vector3 position)
 
override bool CanUse ()
 
override void ActionAdded ()
 
override void Calculate (List< Combatant > ts, float damageFactor, bool animate, GameObject flyingTextTargetObject, ActionCalculationFinished notify)
 
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 ()
 
virtual void CheckActionAffiliation ()
 
virtual bool IsCasting ()
 
virtual bool CanCancelCasting ()
 
virtual bool CancelCasting ()
 
virtual void UpdateTargets ()
 
virtual void PerformCheckTargets ()
 
virtual bool HasTargets ()
 
virtual bool HasTargets (List< Combatant > list)
 
virtual bool HasOutOfRangeTargets ()
 
virtual Combatant GetNearestTarget ()
 
virtual void CheckTargetAggressive ()
 
virtual void CheckBestiary (List< Combatant > list)
 
virtual List< CombatantGetTargetsWithAffectRange (AffectRangeType type, TargetSettings targetSettings, List< Combatant > targets)
 
virtual void CheckCanTarget ()
 
virtual bool InRange ()
 
virtual bool InBattleRange ()
 
virtual void MoveAITick ()
 
virtual void PerformAction ()
 
virtual void EventEnded ()
 
virtual void StopAction ()
 
virtual void ClearEvents ()
 
virtual void Tick ()
 
virtual void DontDestroy ()
 
virtual void OnSceneLoaded ()
 
virtual void AddSubAction (BaseAction action, bool shareVariables, bool shareFoundObjects)
 
virtual void SubActionFinished (BaseAction action)
 
virtual void ShowTooltip ()
 
virtual void RemoveTooltip ()
 

Static Public Member Functions

static AbilityState ToState (AbilityActionType type)
 
- Static Public Member Functions inherited from ORKFramework.BaseAction
static AbilityAction CreateAbility (Combatant user, AbilityShortcut ability, int lvl, bool checkTime, bool checkUseCosts)
 

Protected Member Functions

override void CreateStatusChangeInfos ()
 
override void ActionStartSetup ()
 
override void ActionEndSetup ()
 
- Protected Member Functions inherited from ORKFramework.BaseAction
virtual bool CheckNoneTarget (Combatant target, TargetSettings targetSettings)
 
virtual void GetNextEvent ()
 
virtual void TurnEndCallback ()
 

Protected Attributes

AbilityShortcut ability
 
bool experienceGained = false
 
- Protected Attributes inherited from ORKFramework.TargetRangeAction
TargetRange targetRange = TargetRange.None
 
- Protected Attributes inherited from ORKFramework.BaseAction
CombatantAffiliationType actionAffiliation = CombatantAffiliationType.Player
 
Combatant user
 
GridPath gridPath
 
Dictionary< Combatant, StatusChangeInformationstatusChangesTarget
 
ActionResultsPredetermined predeterminedResults
 
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
 
bool ignoreCanUse = false
 
Consider targetDead = Consider.No
 
bool consumeTime = true
 
float actionCost = 0
 
float originalActionCost = 0
 
bool tooltipDisplayed = false
 

Properties

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

Additional Inherited Members

- Public Attributes inherited from ORKFramework.BaseAction
bool forceFoundTargets = false
 
bool moveToTarget = false
 
bool blockBattleCamera = false
 
List< Combatanttarget
 
List< CombatantoutOfRange
 
List< Combatantcounter = new List<Combatant>()
 
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