C# Class fBaseXtensions.Game.Hero.Skills.Skill

Cached Object that Describes an individual Ability.
Inheritance: SkillCriteria
Exibir arquivo Open project: herbfunk/Funky Class Usage Examples

Private Properties

Property Type Description
AbilityUseTimer bool
Activation bool
CheckClusterConditions bool
CreateClusterConditions void
CreateLineOfSightTargetCheck void
CreateTargetConditions void
PostActivation bool
PreActivation bool
UsePower void

Public Methods

Method Description
ActivateSkill ( ) : bool
CheckBuffConditionMethod ( ) : bool

Check Ability Buff Conditions

CheckCombatConditionMethod ( ConditionCriteraTypes conditions = ConditionCriteraTypes.All, CacheUnit unit = null ) : bool

Check Combat

CheckCustomCombatMethod ( CacheUnit unit ) : bool
CheckPreCastConditionMethod ( ) : bool

Check Ability is valid to use.

CreateSkillLogicConditions ( Skill &ability ) : void
DebugString ( ) : string
Equals ( object obj ) : bool
GetHashCode ( ) : int
Initialize ( ) : void
OnSuccessfullyUsed ( bool reorderAbilities = true ) : void

Sets values related to Ability usage

SetupAbilityForUse ( Skill &ability, CacheObject obj, bool Destructible = false ) : void

Resets usage variables and sets the target location or target ID depending on what condition passed.

Skill ( ) : System
UsePower ( Skill &ability ) : void

Private Methods

Method Description
AbilityUseTimer ( bool bReCheck = false ) : bool
Activation ( ) : bool
CheckClusterConditions ( SkillClusterConditions CC ) : bool
CreateClusterConditions ( Skill &ability ) : void
CreateLineOfSightTargetCheck ( bool>.Func &CombatCriteria, Skill ability ) : void
CreateTargetConditions ( Skill &ability ) : void
PostActivation ( ) : bool
PreActivation ( ) : bool
UsePower ( ) : void

Method Details

ActivateSkill() public method

public ActivateSkill ( ) : bool
return bool

CheckBuffConditionMethod() public method

Check Ability Buff Conditions
public CheckBuffConditionMethod ( ) : bool
return bool

CheckCombatConditionMethod() public method

Check Combat
public CheckCombatConditionMethod ( ConditionCriteraTypes conditions = ConditionCriteraTypes.All, CacheUnit unit = null ) : bool
conditions ConditionCriteraTypes
unit fBaseXtensions.Cache.Internal.Objects.CacheUnit
return bool

CheckCustomCombatMethod() public method

public CheckCustomCombatMethod ( CacheUnit unit ) : bool
unit fBaseXtensions.Cache.Internal.Objects.CacheUnit
return bool

CheckPreCastConditionMethod() public method

Check Ability is valid to use.
public CheckPreCastConditionMethod ( ) : bool
return bool

CreateSkillLogicConditions() public static method

public static CreateSkillLogicConditions ( Skill &ability ) : void
ability Skill
return void

DebugString() public method

public DebugString ( ) : string
return string

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Initialize() public method

public Initialize ( ) : void
return void

OnSuccessfullyUsed() public method

Sets values related to Ability usage
public OnSuccessfullyUsed ( bool reorderAbilities = true ) : void
reorderAbilities bool
return void

SetupAbilityForUse() public static method

Resets usage variables and sets the target location or target ID depending on what condition passed.
public static SetupAbilityForUse ( Skill &ability, CacheObject obj, bool Destructible = false ) : void
ability Skill
obj CacheObject
Destructible bool
return void

Skill() public method

public Skill ( ) : System
return System

UsePower() public static method

public static UsePower ( Skill &ability ) : void
ability Skill
return void