Tenta assim:
if damageCombat == POISONDAMAGE then
if isInArray(pokes[getCreatureName(cid)].type, "steel") or isInArray(pokes[getCreatureName(cid)].type2, "steel") then
if isSummon(attacker) then
if getPlayerStorageValue(getCreatureMaster(attacker), 181624) >= 1 then --sto outfit malefic rank 5 --
valor = valor * 0.5
elseif getPlayerStorageValue(getCreatureMaster(attacker), 181624) <= 1 then --sto outfit malefic rank 5 --
valor = 0
end
end
end
end





info
Grupo: Campones
Registrado: 23/08/12
Posts: 67
Reputação: +1
Gênero: Masculino
to tentando fazer com que os player rank 5 bata com 50% de eff em pokes null....
ex: raibolt bate 0.5 em orebound.
fiz aki GROUNDDAMAGE bate 0.5 em poke que possui abilidade "levitate" segue como ficou...
if damageCombat == GROUNDDAMAGE then
if isInArray(specialabilities["levitate"], getCreatureName(cid)) then
if isSummon(attacker) then
if getPlayerStorageValue(getCreatureMaster(attacker), 181627) >= 1 then --sto outfit rank 5 orebound--
valor = valor * 0.5
elseif getPlayerStorageValue(getCreatureMaster(attacker), 181627) <= 1 then --sto outfit rank 5 orebound--
valor = 0
end
end
end
end
to tentando fazer pra pokes tipo "steel" segue como eu fiz (mas não funcionou)
if damageCombat == POISONDAMAGE then
if isInArray(pokes[getCreatureName(cid)].type, "steel" and pokes[getCreatureName(cid)].type2, "steel") then
if isSummon(attacker) then
if getPlayerStorageValue(getCreatureMaster(attacker), 181624) >= 1 then --sto outfit malefic rank 5 --
valor = valor * 0.5
elseif getPlayerStorageValue(getCreatureMaster(attacker), 181624) <= 1 then --sto outfit malefic rank 5 --
valor = 0
end
end
end
end
pow se alguem puder ajudar ai... vlw...
Editado Janeiro 2 por lgan