XB

Utevo Res Rune

Por xbowaxx, 02 de nov. de 2005 em Actions e Talkactions

script
7
3.4k
02 de novembro de 2005 às 23:06

I know there is already a summon creature rune, but that is for gm's i made one for players that make the rune summon like a rat when you are lvl 1-3 etc. I dont know if i can have the same title as another topic but i dont know what to call it if i cant call it that.

Well... this is the script.

<action itemid="3088" script="srune.lua" allowfaruse="1" />

srune.lua

function onUse(cid, item, frompos, item2, topos)

playerlevel = getPlayerLevel(cid)

if playerlevel < 3 then

doSummonCreature("rat",topos)

doSummonCreature("spider",topos)

elseif playerlevel > 3 and < 5 then

doSummonCreature("poison spider",topos)

doSummonCreature("poison spider",topos)

elseif playerlevel > 5 and < 7 then

doSummonCreature("troll",topos)

doSummonCreature("troll",topos)

doSummonCreature("troll",topos)

doSummonCreature("troll",topos)

elseif playerlevel > 7 and < 10 then

doSummonCreature("minotaur",topos)

doSummonCreature("minotaur",topos)

elseif playerlevel > 10 and < 15 then

doSummonCreature("elf",topos)

doSummonCreature("elf scout",topos)

elseif playerlevel > 15 and < 20 then

doSummonCreature("cyclops",topos)

doSummonCreature("cyclops",topos)

elseif playerlevel > 20 and < 25 then

doSummonCreature("demon skeleton",topos)

doSummonCreature("demon skeleton",topos)

elseif playerlevel > 25 and < 30 then

doSummonCreature("dragon",topos)

elseif playerlevel > 30 and < 35 then

doSummonCreature("vampire",topos)

doSummonCreature("vampire",topos)

doSummonCreature("necromancer",topos)

elseif playerlevel > 35 and < 40 then

doSummonCreature("giant spider",topos)

elseif playerlevel > 40 and < 45 then

doSummonCreature("dragon lord",topos)

doSummonCreature("dragon",topos)

elseif playerlevel > 45 and < 50 then

doSummonCreature("orc warlord",topos)

doSummonCreature("orc warlord",topos)

elseif playerlevel > 50 and < 55 then

doSummonCreature("ancient scarab",topos)

doSummonCreature("dragon lord",topos)

elseif playerlevel > 55 and < 60 then

doSummonCreature("dragon lord",topos)

doSummonCreature("dragon lord",topos)

elseif playerlevel > 60 and < 70 then

doSummonCreature("warlock",topos)

esleif playerlevel > 70 and < 80 then

doSummonCreature("hero",topos)

doSummonCreature("hero",topos)

doSummonCreature("hero",topos)

doSummonCreature("hero",topos)

elseif playerlevel > 80 and < 90 then

doSummonCreature("warlock",topos)

doSummonCreature("warlock",topos)

doSummonCreature("warlock",topos)

elseif playerlevel > 90 and < 100 then

doSummonCreature("demon",topos)

elseif playerlevel > 100 and < 120 then

doSummonCreature("demon",topos)

doSummonCreature("demon",topos)

elseif playerlevel > 120 and < 200 then

doSummonCreature("demon",topos)

doSummonCreature("demon",topos)

doSummonCreature("demon",topos)

doSummonCreature("demon",topos)

doSummonCreature("demon",topos)

doSummonCreature("demon",topos)

doSummonCreature("demon",topos)

doSummonCreature("demon",topos)

else

doPlayerSendCancel(cid,"Sorry not possible.")

return 0

end

return 1

end

Editado Junho 28 por JV Chequer

03 de novembro de 2005 às 09:15

Cara,

Muito bom msmo esse tópico.

Eu ainda não testei, mas acho q vai ficar bala...

Vlw ae

03 de novembro de 2005 às 15:28

testa la

tenho certeza q funciona :)

óieÓ
05 de novembro de 2005 às 08:06

mto rox vlw kara

1 mês depois...
GM JEANG
19 de dezembro de 2005 às 09:46

Boua ta di "PARABENS"!

VLW Mesmo Kra!

Editado Dezembro 19 por GM JEAN

MoxicaM
20 de dezembro de 2005 às 02:29

###### a runa cara, testei aki, modifiquei algumas coisas mas funfa direitinho. Vlw aeww

-->> so de zueira lvl 8 botei pra summonar Orshabaal uhuh.

Flw

~Moxica~

efewE
20 de dezembro de 2005 às 09:10

o unico problema é o preço da runa, ai eu fiz para tropa em demon lord heheh.

Grato