Enlightenment.lua 446 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Commoner/Enlightenment.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2-26-2023
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases power of caster by 40.0%
  9. function cast(Caster, Target)
  10. MaxPow = GetMaxPower(Caster)
  11. PowHeal = math.floor(MaxPow * 0.4)
  12. SpellHeal("Power", PowHeal, PowHeal, Caster)
  13. end
  14. function remove(Caster, Target)
  15. end