• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Attack Talkaction

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...
 
... q?

If the target health >= 100 then do combat and add him 100 health points?

Something like:
Level 8 is blocking your way [185hp atm], you say 'spell words' and this level 8 has now 100 hp? or wtf
 
nop...
its like: Level 8 is blocking your way, and when y ou say "spell words" you attack him (but you can't kill him). So it will remove health from him, but if the damage is up to 100, it will remove 100 health points from the damage, to don't let the guy get killed

did you got it?
 
Back
Top