Godely
Member
- Joined
- Aug 19, 2007
- Messages
- 233
- Reaction score
- 19
Can someone do a talkaction for me that it's a spell (Just like Exori Vis). The difference is that it would be a "talkaction", so the "ProtectionLevel" wouldn't work - and that's what I want. There are some lower level power abusers, and some players could use this magic to "expulse" then from a certain cave. But the spell can just be used when the player's health is up to 100.
The attack formula will be:
from (level * 2 + maglevel * 3) * -0.4 - 40
to (level * 2 + maglevel * 3) * -0.5 - 40
And the talkaction will just work if:
getCreatureHealth(cid) > 100
And:
doCreatureAddHealth(cid, random+100)
This +100 will make the player can't die...
The attack formula will be:
from (level * 2 + maglevel * 3) * -0.4 - 40
to (level * 2 + maglevel * 3) * -0.5 - 40
And the talkaction will just work if:
getCreatureHealth(cid) > 100
And:
doCreatureAddHealth(cid, random+100)
This +100 will make the player can't die...