C# Class Aura.Channel.Skills.Magic.Lightningbolt

Inheritance: Aura.Channel.Skills.Base.MagicBolt
Exibir arquivo Open project: aura-project/aura

Protected Methods

Method Description
GetDamage ( Creature attacker, Skill skill ) : float

Returns damage for attacker using skill.

GetElementalDamageMultiplier ( Creature attacker, Creature target ) : float

Returns elemental damage multiplier for this skill.

UseSkillOnTarget ( Creature attacker, Skill skill, Creature mainTarget ) : void

Bolt specific use code.

Method Details

GetDamage() protected method

Returns damage for attacker using skill.
protected GetDamage ( Creature attacker, Skill skill ) : float
attacker Aura.Channel.World.Entities.Creature
skill Skill
return float

GetElementalDamageMultiplier() protected method

Returns elemental damage multiplier for this skill.
protected GetElementalDamageMultiplier ( Creature attacker, Creature target ) : float
attacker Aura.Channel.World.Entities.Creature
target Aura.Channel.World.Entities.Creature
return float

UseSkillOnTarget() protected method

Bolt specific use code.
protected UseSkillOnTarget ( Creature attacker, Skill skill, Creature mainTarget ) : void
attacker Aura.Channel.World.Entities.Creature
skill Skill
mainTarget Aura.Channel.World.Entities.Creature
return void