Passiva Superpower Lucario
Adicione em pokemon moves.lua na pasta lib
elseif spell == "Superpower" then
doAreaCombatHealth(cid, FIGHTINGDAMAGE, getThingPosWithDebug(cid), scyther5, -min, -max, 255)
local sps = getThingPosWithDebug(cid)
sps.x = sps.x+1
sps.y = sps.y+1
doSendMagicEffect(sps, 167)
Depois em exp2.0.lua no creaturescripts
Procure por PASSIVAS ou Counter Helix, só adicionar o código abaixo
-----------------------------------------Superpower-----------------------------------
if passivesChances["Superpower"][getCreatureName(cid)] and math.random(1, 100) <= passivesChances["Superpower"][getCreatureName(cid)] then
docastspell(cid, "Superpower")
end
Depois em configuration.lua na pasta lib procure por passivesChances = { e adicione:
["Superpower"] = {
["Lucario"] = 20,
["Shiny Lucario"] = 25,
["Mega Lucario"] = 40,
},
Iron Defense
newStatusSys.lua na pasta lib, procure por elseif isInArray({"Predict", "Camouflage", "Acid Armor", "Iron Defense", "Minimize"}, buff) then e deixe assim:
elseif isInArray({"Predict", "Camouflage", "Acid Armor", "Iron Defense", "Minimize"}, buff) then
local outfit = outImune[buff]
if getCreatureName(cid) == "Shiny Xatu" then
outfit = 337 --Outfit do Predict do Shiny Xatu.
end
if getCreatureName(cid) == "Metagross" then
outfit = 1601 --Outfit do Iron Defense do Metagross.
end
if getCreatureName(cid) == "Metang" then
outfit = 1921 --Outfit do Iron Defense do Metagross.
end
if getCreatureName(cid) == "Mega Scizor" then
outfit = 1921 --Outfit do Iron Defense do Mega Scizor.
end
doSetCreatureOutfit(cid, {lookType = outfit}, -1)
setPlayerStorageValue(cid, 9658783, 1)
setPlayerStorageValue(cid, 625877, outfit)