• 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!

A special "UH". [LooK]

rilleman

New Member
Joined
Feb 14, 2010
Messages
269
Reaction score
0
Hi, I guess this is a really simple script to do. I want an "Donation Ultimate Healing Rune" for only knights.

That:

* Heals 1400 HP (Allways)
* An text in orange "Donation UH".
* An text in green that says "1400 hp +"
* No exhaust

Please help me. I'll rep ofc!!
 
LUA:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

function onCastSpell(cid, var)
    doCreatureAddHealth(cid, 1400)
	doCreatureSay(cid, "Donation UH", TALKTYPE_ORANGE_1)
    return doCombat(cid, combat, var)
end

This works... :)
 
Back
Top