sprytnaaaaa
Advanced User
- Joined
- Apr 20, 2011
- Messages
- 342
- Reaction score
- 4
a mianowicie pomorze mi kto? zrobi? skrypt by np do lvl 300 transform by? normalnie a od 300 np 400lvl do transa trzeba questa i do 500 tez osobnego
[LUA] local tabela = {
------------Bardock--------------------
[7] = {outfit = {lookType=218}, level = 100, effectTrans = 226, hp = 500, ki = 500},
[8] = {outfit = {lookType=248}, level = 200, effectTrans = 224, hp = 1500, ki = 1500},
[9] = {outfit = {lookType=231}, level = 250, effectTrans = 227, hp = 3000, ki = 3000},
[10] = {outfit = {lookType=284}, level = 300, effectTrans = 225, hp = 4500, ki = 4500},
[11] = {outfit = {lookType=78}, level = 400, effectTrans = 223, hp = 6000, ki = 6000},
}
function onCastSpell(cid, var)
local arr = tabela[getPlayerVocation(cid)]
if(arr ~= NULL) then
if getPlayerLevel(cid) >= arr.level then
doPlayerSetVocation(cid, getPlayerVocation(cid)+1)
doSetCreatureOutfit(cid, arr.outfit, -1)
doSendMagicEffect(getPlayerPosition(cid), arr.effectTrans)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+arr.hp)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+arr.ki)
else
doPlayerSendCancel(cid, "You need " .. arr.level .. " level to transform.")
end
else
doPlayerSendCancel(cid, "Nie masz Reborn.")
end
return true
end[/LUA]
---------- Tre?? dodana o 19:50 ----------
co? takiego je?li nie b?dziesz mie? questa to nie dasz rade si? przetransformowac jak doda? do tego skrypta co? by by? wymagany quest na transa od 400 potem inny quest na transa od 500lvl pomocy
---------- Tre?? dodana o 00:21 ----------
@refresh@
---------- Tre?? dodana o 17:08 ----------
refreshhhhhhhhh
[LUA] local tabela = {
------------Bardock--------------------
[7] = {outfit = {lookType=218}, level = 100, effectTrans = 226, hp = 500, ki = 500},
[8] = {outfit = {lookType=248}, level = 200, effectTrans = 224, hp = 1500, ki = 1500},
[9] = {outfit = {lookType=231}, level = 250, effectTrans = 227, hp = 3000, ki = 3000},
[10] = {outfit = {lookType=284}, level = 300, effectTrans = 225, hp = 4500, ki = 4500},
[11] = {outfit = {lookType=78}, level = 400, effectTrans = 223, hp = 6000, ki = 6000},
}
function onCastSpell(cid, var)
local arr = tabela[getPlayerVocation(cid)]
if(arr ~= NULL) then
if getPlayerLevel(cid) >= arr.level then
doPlayerSetVocation(cid, getPlayerVocation(cid)+1)
doSetCreatureOutfit(cid, arr.outfit, -1)
doSendMagicEffect(getPlayerPosition(cid), arr.effectTrans)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+arr.hp)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+arr.ki)
else
doPlayerSendCancel(cid, "You need " .. arr.level .. " level to transform.")
end
else
doPlayerSendCancel(cid, "Nie masz Reborn.")
end
return true
end[/LUA]
---------- Tre?? dodana o 19:50 ----------
co? takiego je?li nie b?dziesz mie? questa to nie dasz rade si? przetransformowac jak doda? do tego skrypta co? by by? wymagany quest na transa od 400 potem inny quest na transa od 500lvl pomocy
---------- Tre?? dodana o 00:21 ----------
@refresh@
---------- Tre?? dodana o 17:08 ----------
refreshhhhhhhhh