Method | Description | |
---|---|---|
Cancel ( |
Cancels skill, setting stacks to 0.
|
|
Complete ( |
Completes skill usage, ready is called automatically again if there are stacks left.
|
|
CustomHitCancel ( |
Called when creature is hit while a bolt skill is active.
|
|
CustomPrepareUsage ( |
Custom usage of resources on Prepare, to account for chain casting.
|
|
Init ( ) : void |
Subscribes to events required for training.
|
|
Prepare ( |
Prepares skill, showing a casting motion.
|
|
Ready ( |
Finishes preparing, adds stack.
|
|
Use ( |
Handles skill usage.
|
Method | Description | |
---|---|---|
GetDamage ( |
Returns damage for attacker using skill.
|
|
GetElementalDamageMultiplier ( |
Returns elemental damage multiplier for this skill.
|
|
GetRange ( |
Returns range for skill.
|
|
OnCreatureAttack ( TargetAction tAction ) : void |
Handles training.
|
|
Train ( TargetAction tAction, Skill attackerSkill ) : void |
Trains skill based on target action.
|
|
UseSkillOnTarget ( |
Bolt specific use code.
|
public Cancel ( |
||
creature | ||
skill | Skill | |
return | void |
public Complete ( |
||
creature | ||
skill | Skill | |
packet | Aura.Shared.Network.Packet | |
return | void |
public CustomHitCancel ( |
||
creature | ||
tAction | TargetAction | |
return | void |
public CustomPrepareUsage ( |
||
creature | ||
skill | Skill | |
return | void |
protected abstract GetDamage ( |
||
attacker | ||
skill | Skill | |
return | float |
protected abstract GetElementalDamageMultiplier ( |
||
attacker | ||
target | ||
return | float |
protected GetRange ( |
||
creature | ||
skill | Skill | |
return | int |
protected OnCreatureAttack ( TargetAction tAction ) : void | ||
tAction | TargetAction | |
return | void |
public Prepare ( |
||
creature | ||
skill | Skill | |
packet | Aura.Shared.Network.Packet | |
return | bool |
public Ready ( |
||
creature | ||
skill | Skill | |
packet | Aura.Shared.Network.Packet | |
return | bool |
protected Train ( TargetAction tAction, Skill attackerSkill ) : void | ||
tAction | TargetAction | |
attackerSkill | Skill | |
return | void |
public Use ( |
||
attacker | ||
skill | Skill | |
targetEntityId | long | |
return | CombatSkillResult |
protected abstract UseSkillOnTarget ( |
||
attacker | ||
skill | Skill | |
target | ||
return | void |