12345678910111213141516171819202122232425262728293031323334 |
- --[[
- Script Name : Spells/Fighter/Crusader/Shadowknight/DarkBlade.lua
- Script Author : Jabantiz
- Script Date : 2014.01.08 02:01:11 - potency 10/18/2019
- Script Purpose :
- :
- --]]
- function cast(Caster, Target, BonusAmt, DefSkillAmt, SkillAmt)
- -- Increases STR of caster by 17.8
- AddSpellBonus(Target, 0, BonusAmt)
- -- Decreases Defense of caster by 1.8
- AddSkillBonus(Target, GetSkillIDByName("Defense"), DefSkillAmt)
- -- Increases Crushing, Disruption, Piercing and Slashing of caster by 2.4
- AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
- AddSkillBonus(Target, GetSkillIDByName("Disruption"), SkillAmt)
- AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
- AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
- -- Add
- -- may not benefit from any stoneskin, death prevent, or 100% avoidance abilities while under this effect and for 5 seconds after the effect has been removed.
- Say(Caster, "Stoneskin and potency parts missing.")
- -- Add
- -- Increases potency added on target by 20%.
- end
- function remove(Caster, Target)
- RemoveSpellBonus(Target)
- RemoveSkillBonus(Target)
- end
|