GenericGenderDisguise.lua 480 B

12345678910111213141516171819
  1. --[[
  2. Script Name : Spells/Commoner/GenericGenderDisguise.lua
  3. Script Author : neatz09
  4. Script Date : 2020.09.12 08:09:32
  5. Script Purpose : Generic Script for gender specific shapechanges
  6. :
  7. --]]
  8. function cast(Caster, Target, Male, Female)
  9. if GetGender(Spawn) == 1 then
  10. SetIllusion(Target, Male)
  11. else
  12. SetIllusion(Target, Female)
  13. end
  14. end
  15. function remove(Caster, Target)
  16. ResetIllusion(Target)
  17. end