• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

MoveEvent Jungle Maw

QuaS

Cykotitan Pwned =/
Joined
Sep 11, 2008
Messages
838
Reaction score
28
Location
Poland/ Wroclaw
One of smaller scripts:

movements/junglemaw.lua

PHP:
function onStepIn(cid, item, pos)
	doTargetCombatHealth(0, cid, COMBAT_POISONDAMAGE, -30, -60, CONST_ME_POFF)
	doTransformItem(item.uid, item.itemid + 1)
	doDecayItem(item.uid) 
	return TRUE
end

movements.xml

PHP:
	<movevent type="StepIn" itemid="4208" script="junglemaw.lua"/>


items.xml
PHP:
	<item id="4208" article="a" name="jungle maw"/>
	<item id="4209" article="a" name="jungle maw">
		<attribute key="decayTo" value="4208"/>
		<attribute key="duration" value="60"/>
	</item>

All... QuaS~
 
Back
Top