se tiver usando meu serv ou o do stylo -servidores SEM LVL-, vai em lib/pokemon moves.lua e ache isso..
elseif spell == "Shredder Team" then
dai troque toda a parte do shredder por isso...
elseif spell == "Shredder Team" then --alterado v1.8 \/
local team = {
["Scyther"] = "ScytherTeam",
["Shiny Scyther"] = "Shiny ScytherTeam",
["Scizor"] = "ScizorTeam",
}
local function RemoveTeam(cid)
if isCreature(cid) then
doSendMagicEffect(getThingPosWithDebug(cid), 211)
doRemoveCreature(cid)
end
end
local function sendEff(cid, master, t)
if isCreature(cid) and isCreature(master) and t > 0 and #getCreatureSummons(master) >= 2 then
doSendMagicEffect(getThingPosWithDebug(cid), 86, master)
addEvent(sendEff, 1000, cid, master, t-1) --alterado aki
end
end
if getPlayerStorageValue(cid, 637500) >= 1 then
return true
end
local master = getCreatureMaster(cid)
local item = getPlayerSlotItem(master, 8)
local life, maxLife = getCreatureHealth(cid), getCreatureMaxHealth(cid)
local name = getItemAttribute(item.uid, "poke")
local pos = getThingPosWithDebug(cid)
local time = 21
doItemSetAttribute(item.uid, "hp", (life/maxLife))
local num = isInArray({"Scizor", "Shiny Scyther"}, getSubName(cid, target)) and 4 or 3
local pk = {}
doTeleportThing(cid, {x=4, y=3, z=10}, false)
if team[name] then
pk[1] = cid
for b = 2, num do
pk[b] = doSummonCreature(team[name], pos)
doConvinceCreature(master, pk[b])
end
for a = 1, num do
addEvent(doTeleportThing, math.random(0, 5), pk[a], getClosestFreeTile(pk[a], pos), false)
addEvent(doAdjustWithDelay, 5, master, pk[a], true, true, true)
doSendMagicEffect(getThingPosWithDebug(pk[a]), 211)
end
sendEff(cid, master, time) --alterado aki
setPlayerStorageValue(master, 637501, 1)
addEvent(setPlayerStorageValue, time * 1000, master, 637501, -2)
-----
setPlayerStorageValue(pk[2], 637500, 1)
addEvent(RemoveTeam, time * 1000, pk[2])
-----
setPlayerStorageValue(pk[3], 637500, 1)
addEvent(RemoveTeam, time * 1000, pk[3])
----
if isInArray({"Scizor", "Shiny Scyther"}, getSubName(cid, target)) then
setPlayerStorageValue(pk[4], 637500, 1)
addEvent(RemoveTeam, time * 1000, pk[4])
end
end
depois vai em spells/scripts/ps/Sheredder Team.lua e troque todo o script la por esse..
function onCastSpell(cid, var) --alterado v1.8 \/
if isSummon(cid) then return true end
local team = {
["Scyther"] = "ScytherTeam",
["Shiny Scyther"] = "Shiny ScytherTeam",
["Scizor"] = "ScizorTeam",
}
function adjustLife(cid, health)
if isCreature(cid) then
setCreatureMaxHealth(cid, (getVitality(cid) * HPperVITwild))
doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
doCreatureAddHealth(cid, -(math.abs(health)))
end
end
function setStorage(cid, storage)
if isCreature(cid) then
if getPlayerStorageValue(cid, storage) >= 1 then
setPlayerStorageValue(cid, storage, 0)
end
end
end
function RemoveTeam(cid)
if isCreature(cid) then
doSendMagicEffect(getThingPos(cid), 211)
doRemoveCreature(cid)
end
end
if getPlayerStorageValue(cid, 637500) >= 1 or getPlayerStorageValue(cid, 637501) >= 1 then
return true
end
local name = getCreatureName(cid)
local pos = getThingPos(cid)
local time = 15
local life, maxLife = getCreatureHealth(cid), getCreatureMaxHealth(cid)
local gender = getPokemonGender(cid)
local num = isInArray({"Shiny Scyther", "Scizor"}, name) and 4 or 3
local pk = {}
doCreatureSay(cid, "Shredder Team!", TALKTYPE_MONSTER)
if team[name] then
pk[1] = cid
doSendMagicEffect(getThingPos(pk[1]), 211)
doTeleportThing(pk[1], {x=4, y=3, z=10}, false)
addEvent(doTeleportThing, math.random(0, 5), pk[1], getClosestFreeTile(pk[1], pos), false)
for i = 2, num do
pk[i] = doSummonCreature(team[name], pos)
doConvinceCreature(pk[1], pk[i])
----
doTeleportThing(pk[i], getClosestFreeTile(pk[i], pos), false)
addEvent(setPokemonGender, 150, pk[i], gender)
addEvent(adjustLife, 150, pk[i], life-maxLife)
doSendMagicEffect(getThingPos(pk[i]), 211)
end
setPlayerStorageValue(pk[1], 637501, 1)
addEvent(setStorage, time * 1000, pk[1], 637501)
---
setPlayerStorageValue(pk[2], 637500, 1)
addEvent(RemoveTeam, time * 1000, pk[2])
---
setPlayerStorageValue(pk[3], 637500, 1)
addEvent(RemoveTeam, time * 1000, pk[3])
---
if isInArray({"Shiny Scyther", "Scizor"}, name) then
setPlayerStorageValue(pk[4], 637500, 1)
addEvent(RemoveTeam, time * 1000, pk[4])
end
end
return true
end
caso n esteja usando um serv sem lvl, n use esses scripts, avise aki no topico q eu arrumo os do serv com lvl...





info
Grupo: Conde
Registrado: 27/07/12
Posts: 757
Reputação: +57
Char no Tibia: [ADM] Bhoris
Bom eu notei que o Shredder Team do Scizor Nasce 3 Scizor somando com o scizor fica 4 Scizor.
e o Do Scyther e do Shiny scyther só nascem 2 Clones deles no Shredder Team somando com eles fica 3.
eu queria saber como fasso para almentar esse numero. tipo eu quero por o do Shiny scyther maior.
alguem poderia ajudar?