Diseased.lua 596 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Diseased.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.15 02:09:43
  5. Script Purpose : Used on 'a grove deer' in Isle of Refuge
  6. :
  7. --]]
  8. --[[ Info from spell_display_effects (remove from script when done)
  9. --]]
  10. function cast(Caster, Target)
  11. SetInfoStructString(Caster, "action_state", "disease")
  12. -- SpawnSet(Caster,"visual_state",11395)
  13. end
  14. function remove(Caster, Target, DoTType, MinVal, MaxVal)
  15. SetInfoStructString(Caster, "action_state", "0")
  16. SpawnSet(Caster,"action_state",0)
  17. end