Hello there. I would like to create DoT type spell based on creature's max health. Something like hit 10 times for 2% of its max hp (if it's not possible for get target hp, it may be the caster's hp). I've tried many ways but none of them work like for example getCreatureMaxHealth(cid) / 100. Is it even possible to do something like this?
I use TFS 0.3.6
Cheers.
I use TFS 0.3.6
Cheers.