Cara pelo que vi ai, é um pouco complicado, mas seguinte, vai mudando os valores até chegar em um ponto que voce deseja,
você precisa mudar aqui
-------------------------------------------------
local multiplier = 1
if isCreature(cid) then
poketype1 = pokes[getCreatureName(cid)].type --alterado v2.6
poketype2 = pokes[getCreatureName(cid)].type2
end
if not poketype1 or not poketype2 then return false end --alterado v2.6
if getCreatureCondition(cid, CONDITION_INVISIBLE) then
return false
end
if damageCombat ~= COMBAT_PHYSICALDAMAGE and not isInArray(ignored, damageCombat) then
if isInArray(effectiveness[damageCombat].super, poketype1) then
multiplier = multiplier + 0.5 ----- ESSE
end
if isInArray(effectiveness[damageCombat].super, poketype2) then
multiplier = multiplier + 0.5 ----- ESSE
end
if isInArray(effectiveness[damageCombat].weak, poketype1) then
multiplier = multiplier - 0.25 ----- ESSE
end
if isInArray(effectiveness[damageCombat].weak, poketype2) then
multiplier = multiplier - 0.25 ----- ESSE
end
if isInArray(effectiveness[damageCombat].non, poketype1) or isInArray(effectiveness[damageCombat].non, poketype2) then
if isInArray(specialabilities["foresight"], getCreatureName(attacker)) then --alterado v2.5
multiplier = 0.5 --alterado v2.6
end
end
elseif combat == COMBAT_PHYSICALDAMAGE then
if isGhostPokemon(cid) then --alterado v2.3
if not isInArray(specialabilities["foresight"], getCreatureName(attacker)) then --alterado v2.5
doSendMagicEffect(getThingPos(cid), 3)
return false
end
end
local cd = getPlayerStorageValue(attacker, conds["Miss"])
local cd2 = getPlayerStorageValue(attacker, conds["Confusion"]) --alterado v2.5
local cd3 = getPlayerStorageValue(attacker, conds["Stun"])
if cd >= 0 or cd2 >= 0 or cd3 >= 0 then
if math.random(1, 100) > 50 then --50% chance de da miss no atk fisico
doSendMagicEffect(getThingPos(cid), 211)
doSendAnimatedText(getThingPos(attacker), "MISS", 215)
return false
end
end
end
--------------------------------------------------
local valor = value
if multiplier == 1.5 and poketype2 == "no type" then ----- ESSE
multiplier = 2 ----- ESSE
elseif multiplier == 1.5 and poketype2 ~= "no type" then ----- ESSE
multiplier = 1.75 ----- ESSE
elseif multiplier == 1.25 then ----- ESSE
multiplier = 1 ----- ESSE
end
--------------------------------------------------
Na minha base é completamente diferente, nela é no creaturescript