DemoralizingProcessional.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : Spells/Scout/Bard/Troubador/DemoralizingProcessional.lua
  3. Script Author : neatz09
  4. Script Date : 2020.09.27 06:09:57
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Applies Unsettled March. Lasts for 1 minute.
  9. -- Increases Fervor of group members (AE) by 2.1
  10. -- Cannot be modified except by direct means
  11. -- Decreases AGI, STR, INT and WIS of target encounter by 58.0
  12. -- Decreases Slashing, Crushing, Piercing, Ranged, Focus, Disruption, Subjugation, Ordination and Aggression of target encounter by 14.8
  13. function cast(Caster, Target, BonusAmt, OffSkillAmt, SkillAmt)
  14. AddSpellBonus(Target, 0, BonusAmt) --str
  15. AddSpellBonus(Target, 2, BonusAmt) --agi
  16. AddSpellBonus(Target, 3, BonusAmt) --wis
  17. AddSpellBonus(Target, 4, BonusAmt) --int
  18. AddSkillBonus(Target, GetSkillIDByName("Slashing"), OffSkillAmt)
  19. AddSkillBonus(Target, GetSkillIDByName("Crushing"), OffSkillAmt)
  20. AddSkillBonus(Target, GetSkillIDByName("Piercing"), OffSkillAmt)
  21. AddSkillBonus(Target, GetSkillIDByName("Ranged"), OffSkillAmt)
  22. AddSkillBonus(Target, GetSkillIDByName("Focus"), OffSkillAmt)
  23. AddSkillBonus(Target, GetSkillIDByName("Disruption"), SkillAmt)
  24. AddSkillBonus(Target, GetSkillIDByName("Subjugation"), SkillAmt)
  25. AddSkillBonus(Target, GetSkillIDByName("Ordination"), SkillAmt)
  26. AddSkillBonus(Target, GetSkillIDByName("Aggression"), SkillAmt)
  27. Say(Caster, "Still needs a subspell for fervor component") --Data unparsed
  28. end
  29. function remove(Caster, Target)
  30. RemoveSpellBonus(Target)
  31. RemoveSkillBonus(Target)
  32. end