DR

[Spell] Muda Outfit Do Oponente

Por dragonfight, 06 de mai. de 2012 em Scripts

2
845
dragonfightD
06 de maio de 2012 às 00:23

Pessoal, preciso de uma spell que mude o outfit do oponente por 1 minuto +-

Rep+

DantarrixD
06 de maio de 2012 às 00:46

Maybe this:

 

                   local seconds = 60
                   local outfit = {looktype = , lookhead =, lookbody =, looklegs =, lookfeet = , addons = ,}




								local condition = createConditionObject(CONDITION_OUTFIT)							setConditionParam(condition, CONDITION_PARAM_TICKS, 1000 * seconds)							addOutfitCondition(condition, outfit)							
			function onCastSpell(cid, var)
			doAddCondition(var, condition)
			end					

 

Try please... I'm not sure it will work, but:

local seconds = seconds that condition will last (60 = 1 minute)

local outfit = outfit params...