• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

SOLVED [TFS 1.0] Potion Heal 4 Times + Exhaust

Eldin

Eldin Projects
Joined
Jun 12, 2008
Messages
1,334
Reaction score
615
Location
Sweden
Greets!

Here's Another script that need your attention! ;)

My request is to add 2 things in the following script.
1. The Potion Heals 4 Times.
2. 4 Seconds Exhaust Time.


from potions.xml
Code:
 doAddCondition(cid, exhaust)
 doCreatureSay(cid, "Aaaah...", TALKTYPE_ORANGE_1)
 doRemoveItem(item.uid, 1)
 doPlayerAddItem(cid, emptyPot, 1)
 elseif(item.itemid == healthPot) then
 if(doTargetCombatHealth(0, cid, COMBAT_HEALING, 125, 175, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then
 return FALSE
 end

Should be basic but im lost atm. ^^
Thanks in advance.

Kind Regards,
Eldin.
 
Back
Top