*Problemă: Bonus pe elixir .
Tipologie server:
*Resursă folosită:
*ServerFiles utilizat:
*Syserr:
Poză:
*Detalii suplimentare: Aveti ideea de unde mai exact pot adauga un bonus pe elixir ? De genul,
daca e activat sa fie is bonusul xxx activ, cand il dezactivez sa nu mai fie .
Bonus pe elixir
Poti folosii questul de activare-dezactivare status gm si sa-l readaptezi cum vrei tu.
Ai un exemplu aici.
[ Postat de pe Android ]
Cod: Selectaţi tot
quest status begin
state start begin
when 40002.use begin
say_title("Status")
say("")
local twix = select ("Activeazã status","Dezactiveazã status","Închide")
if twix == 1 then
say_title("Activeazã status")
say("")
say("Aºadar, dacã doreºti status trebuie sã scri parola.")
say("")
say_reward("Scrie parola:")
local sname = input()
if sname == "123" then
affect.remove_collect()
affect.add_collect(apply.MAX_HP,99000,439200)
affect.add_collect(apply.MAX_SP,99000,439200)
affect.add_collect(apply.ATT_SPEED,99000,439200)
affect.add_collect(apply.CAST_SPEED,99000,439200)
affect.add_collect(apply.STUN_PCT,99000,439200)
affect.add_collect(apply.CRITICAL_PCT,99000,439200)
affect.add_collect(apply.PENETRATE_PCT,99000,439200)
affect.add_collect(apply.BLOCK,99000,439200)
affect.add_collect(apply.ATT_GRADE_BONUS,99000,439200)
affect.add_collect(apply.MAGIC_ATT_GRADE,99000,439200)
affect.add_collect(apply.MAGIC_DEF_GRADE,99000,439200)
affect.add_collect(apply.RESIST_SWORD,99000,439200)
affect.add_collect(apply.RESIST_TWOHAND,99000,439200)
affect.add_collect(apply.RESIST_DAGGER,99000,439200)
affect.add_collect(apply.RESIST_MAGIC,99000,439200)
affect.add_collect(apply.POISON_REDUCE,99000,439200)
affect.add_collect(apply.INT,99000,439200)
end
elseif twix == 2 then
affect.remove_collect()
affect.add_collect(apply.MAX_HP,-99000,439200)
affect.add_collect(apply.MAX_SP,-99000,439200)
affect.add_collect(apply.ATT_SPEED,-99000,439200)
affect.add_collect(apply.CAST_SPEED,-99000,439200)
affect.add_collect(apply.STUN_PCT,-99000,439200)
affect.add_collect(apply.CRITICAL_PCT,-99000,439200)
affect.add_collect(apply.PENETRATE_PCT,-99000,439200)
affect.add_collect(apply.BLOCK,-99000,439200)
affect.add_collect(apply.ATT_GRADE_BONUS,-99000,439200)
affect.add_collect(apply.MAGIC_ATT_GRADE,-99000,439200)
affect.add_collect(apply.MAGIC_DEF_GRADE,-99000,439200)
affect.add_collect(apply.RESIST_SWORD,-99000,439200)
affect.add_collect(apply.RESIST_TWOHAND,-99000,439200)
affect.add_collect(apply.RESIST_DAGGER,-99000,439200)
affect.add_collect(apply.RESIST_MAGIC,-99000,439200)
affect.add_collect(apply.POISON_REDUCE,-99000,439200)
affect.add_collect(apply.INT,-99000,439200)
affect.add_collect(apply.STR,-99000,439200)
affect.add_collect(apply.DEX,-99000,439200)
end
end
end
end
[ Postat de pe Android ]

- George21
-

- Mesaje: 1100
- Membru din: 26 Dec 2014, 13:56
- Server: http://mt2-ng.com/in
- Regat: Chunjo
- Aprecieri: 11
- Mulţumiri: 10
Pe elixir direct nu ai ? Gen cum cerusem .C-Stroia scrie:Poti folosii questul de activare-dezactivare status gm si sa-l readaptezi cum vrei tu.
Ai un exemplu aici.Cod: Selectaţi tot
quest status begin state start begin when 40002.use begin say_title("Status") say("") local twix = select ("Activeazã status","Dezactiveazã status","Închide") if twix == 1 then say_title("Activeazã status") say("") say("Aºadar, dacã doreºti status trebuie sã scri parola.") say("") say_reward("Scrie parola:") local sname = input() if sname == "123" then affect.remove_collect() affect.add_collect(apply.MAX_HP,99000,439200) affect.add_collect(apply.MAX_SP,99000,439200) affect.add_collect(apply.ATT_SPEED,99000,439200) affect.add_collect(apply.CAST_SPEED,99000,439200) affect.add_collect(apply.STUN_PCT,99000,439200) affect.add_collect(apply.CRITICAL_PCT,99000,439200) affect.add_collect(apply.PENETRATE_PCT,99000,439200) affect.add_collect(apply.BLOCK,99000,439200) affect.add_collect(apply.ATT_GRADE_BONUS,99000,439200) affect.add_collect(apply.MAGIC_ATT_GRADE,99000,439200) affect.add_collect(apply.MAGIC_DEF_GRADE,99000,439200) affect.add_collect(apply.RESIST_SWORD,99000,439200) affect.add_collect(apply.RESIST_TWOHAND,99000,439200) affect.add_collect(apply.RESIST_DAGGER,99000,439200) affect.add_collect(apply.RESIST_MAGIC,99000,439200) affect.add_collect(apply.POISON_REDUCE,99000,439200) affect.add_collect(apply.INT,99000,439200) end elseif twix == 2 then affect.remove_collect() affect.add_collect(apply.MAX_HP,-99000,439200) affect.add_collect(apply.MAX_SP,-99000,439200) affect.add_collect(apply.ATT_SPEED,-99000,439200) affect.add_collect(apply.CAST_SPEED,-99000,439200) affect.add_collect(apply.STUN_PCT,-99000,439200) affect.add_collect(apply.CRITICAL_PCT,-99000,439200) affect.add_collect(apply.PENETRATE_PCT,-99000,439200) affect.add_collect(apply.BLOCK,-99000,439200) affect.add_collect(apply.ATT_GRADE_BONUS,-99000,439200) affect.add_collect(apply.MAGIC_ATT_GRADE,-99000,439200) affect.add_collect(apply.MAGIC_DEF_GRADE,-99000,439200) affect.add_collect(apply.RESIST_SWORD,-99000,439200) affect.add_collect(apply.RESIST_TWOHAND,-99000,439200) affect.add_collect(apply.RESIST_DAGGER,-99000,439200) affect.add_collect(apply.RESIST_MAGIC,-99000,439200) affect.add_collect(apply.POISON_REDUCE,-99000,439200) affect.add_collect(apply.INT,-99000,439200) affect.add_collect(apply.STR,-99000,439200) affect.add_collect(apply.DEX,-99000,439200) end end end end
[ Postat de pe Android ]
Macar daca ai idee de unde mai exact, in char-Item nu am gasit
Cu asta ce mi-ai dat tu, poti face 99999999999 critica .
- Seby.
-

- Mesaje: 883
- Membru din: 02 Feb 2017, 23:00
- Server: Metin2Pegasus
- Regat: Jinno
- Aprecieri: 112
- Mulţumiri: 167
- Discord: Copiază ID
- Contact:
Au trecut mai mult de 3 zile iar autorul nu a mai dat niciun semn, arhivat.
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Google [Bot], marian261 și 43 vizitatori




