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

[ITEM} Ring that will gain dubble exp.

kCAB

Designer
Joined
Jun 12, 2009
Messages
130
Reaction score
6
Location
Sweden
How do i make a ring that do so i gain dubble exp for 1 hour?

Thankfull for all help!

Grettings, kCAB
 
Code:
function onEquip(cid, item, slot, boolean)
	if(item.itemid == 2169)then
		doTransformItem(item.uid, 2206)
	elseif(item.itemid == 2206)then
		doPlayerSetRate(cid, 8, getPlayerRates(cid)[8]*2)
	end
end

function onDeEquip(cid, item, slot, boolean)
	if(item.itemid == 2206)then
		doTransformItem(item.uid, 2169)
		doPlayerSetRate(cid, 8, getPlayerRates(cid)[8]/2)
	end
end

That should work. :)
 
Back
Top