Fabi Marzan
Well-Known Member
- Joined
- Aug 31, 2020
- Messages
- 135
- Solutions
- 6
- Reaction score
- 67
TFS 1.5
Greetings, I was looking for how to make a Spell that if I have 100% life I can cast the storage 2000 for example. When I have 50% health, I give another storage. When I go back up to 100%, I give the 2000 storage and the 50% storage is removed.
My idea is that when a boss has health at 100% health, he starts casting the spell "exevo gran mas mort" for example, and when he has health at 50% use "exevo gran mas ice".
What I came up with was to use it for storage and do the spell separately. Doing the spells and placing this code
That code means that if the player has storage 2000 he can execute the spells.
Greetings, I was looking for how to make a Spell that if I have 100% life I can cast the storage 2000 for example. When I have 50% health, I give another storage. When I go back up to 100%, I give the 2000 storage and the 50% storage is removed.
My idea is that when a boss has health at 100% health, he starts casting the spell "exevo gran mas mort" for example, and when he has health at 50% use "exevo gran mas ice".
What I came up with was to use it for storage and do the spell separately. Doing the spells and placing this code
Lua:
if getCreatureStorage(cid, 2000) == 1 then ---EXEVO GRAN MAS MORT