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

Aol - problem

szajker123

New Member
Joined
May 12, 2012
Messages
195
Reaction score
0
Siema mam problem bo tak mam aol i jak padne to on znika to wiadomo ale jak zrobic tak ze jak sie pada to on nie znika tylko sie zamienia w inny item ? Za pomoc dam reppaaa
 
CreatureScript -> preparedeath
ustawiamy ze z aolem brak loota i jezeli masz aola na sobie to sie zmienia w X item.
 
a zrobil bys mi to bo jakos nie kumam tzn to co mowiles ino w id wpisz xxxx i ze sie zmienia w xxxx jak padniesz
 
http://otland.net/f82/forever-amulet-red-black-skull-protection-139837/
Przy czym główna część skryptu powinna być podmieniona na to:
Lua:
function onPrepareDeath(cid, ...)
	local tmp = getPlayerSlotItem(cid, CONST_SLOT_NECKLACE)
	if (tmp.itemid == 2196 and getPlayerSkullType(cid) >= SKULL_NONE) then
		doCreatureSetDropLoot(cid, false)
		doTransformItem(tmp.uid, --[[new id]])
	end
	return true
end
 
Back
Top