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

Xagul

deathzot.net
Joined
Jun 30, 2008
Messages
1,295
Solutions
3
Reaction score
1,043
Hello, I have a script here for an item that will give you a buff. There alot of these scripts around OTland however none of them have a check to see if that buff is currently active therefore you could use the item again by accident?

Sorry, I just solved this issue like right after I posted this xD

For those of you that have the same problem as me.

I was using
Code:
if getCreatureCondition(cid, CONDITION_ATTRIBUTES) == FALSE then

When I should have been using
Code:
if getCreatureCondition(cid, CONDITION_ATTRIBUTES, 1) == FALSE then
 
Back
Top