Esempio n. 1
0
 void abilitySlot4()
 {
     if (frostMage)
     {
         CastableAbility a4 = new CastableAbility(1, 6, "Arctic Shard", 500, 20, _abilityEffects[1]);
         a4_cooldown = a4.getCooldown();
         a4_casttime = a4.getCastTime();
         a4_damage   = a4.getDamage();
         a4_manacost = a4.getManaCost();
         a4_name     = a4.getAbilityName();
         a4_effect   = a4.getEffect();
     }
     else if (fireMage)
     {
         CastableAbility a3 = new CastableAbility(1, 1, "Fire Ability 2", 1, 20, _abilityEffects[3]);
         a3_cooldown = a3.getCooldown();
         a3_casttime = a3.getCastTime();
         a3_damage   = a3.getDamage();
         a3_manacost = a3.getManaCost();
         a3_name     = a3.getAbilityName();
         a3_effect   = a3.getEffect();
     }
 }
Esempio n. 2
0
 void abilitySlot10()
 {
     if (frostMage)
     {
         CastableAbility a10 = new CastableAbility(1, 6, "Arctic Shard", 500, 20, _abilityEffects[1]);
         a10_cooldown = a10.getCooldown();
         a10_casttime = a10.getCastTime();
         a10_damage   = a10.getDamage();
         a10_manacost = a10.getManaCost();
         a10_name     = a10.getAbilityName();
         a10_effect   = a10.getEffect();
     }
     else if (fireMage)
     {
         CastableAbility a10 = new CastableAbility(1, 1, "Fire Ability 2", 1, 20, _abilityEffects[3]);
         a10_cooldown = a10.getCooldown();
         a10_casttime = a10.getCastTime();
         a10_damage   = a10.getDamage();
         a10_manacost = a10.getManaCost();
         a10_name     = a10.getAbilityName();
         a10_effect   = a10.getEffect();
     }
 }
Esempio n. 3
0
 // COOLDOWN / CASTTIME / NAME / DAMAGE / MANACOST / EFFECT
 void abilitySlot1()
 {
     if (frostMage)
     {
         CastableAbility a1 = new CastableAbility(1, 1, "Frost Ability 1", 1, 20, _abilityEffects [0]);
         a1_cooldown = a1.getCooldown();
         a1_casttime = a1.getCastTime();
         a1_damage   = a1.getDamage();
         a1_manacost = a1.getManaCost();
         a1_name     = a1.getAbilityName();
         a1_effect   = a1.getEffect();
     }
     else if (fireMage)
     {
         CastableAbility a1 = new CastableAbility(1, 2, "Fire Ability 1", 1, 20, _abilityEffects[2]);
         a1_cooldown = a1.getCooldown();
         a1_casttime = a1.getCastTime();
         a1_damage   = a1.getDamage();
         a1_manacost = a1.getManaCost();
         a1_name     = a1.getAbilityName();
         a1_effect   = a1.getEffect();
     }
 }