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

Houses Problem

WiLDTuRTLE

Member
Joined
Feb 26, 2011
Messages
478
Reaction score
5
Well, when my players lose their house, their items stay in it and the house become nobody so anybody can buys it and get free items ;s
how can i fix that so tthe items go to their dp?

ALSO


[Reflect Damage Spell]
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 10000)
[COLOR="#FF0000"]setConditionParam(condition, CONDITION_PARAM_PHYSICAL_REFLECTPERCENT, 100)[/COLOR]
setConditionParam(condition, CONDITION_PARAM_BUFF, true)
setCombatCondition(combat, condition)

local disable = createConditionObject(CONDITION_PACIFIED)
setConditionParam(disable, CONDITION_PARAM_TICKS, 10000)
setCombatCondition(combat, disable)

function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end
-TOOK 'UTAMO TEMPO' TO WORK ON THIS SPELL. [only changed the red part]
My mind told me that, i need to get damaged to reflect the damage, so i wonder WHAT "condition_param_~~~" to use, any idea?


Thanks To WHOEVER Helps me.<3
 
Last edited:
Back
Top