C
CinesinoRovinato
Ultima modifica da un moderatore:
Salve a tutti.
Tramite questo script potrete aggiungere/togliere dei bonus al personaggio.
Potrete fare ciò solo se il personaggio sarà GM.
Saluti,
Metin2Works.
Tramite questo script potrete aggiungere/togliere dei bonus al personaggio.
Potrete fare ciò solo se il personaggio sarà GM.
PHP:
quest status_gm begin
state start begin
when 70028.use with pc.is_gm() begin -- Modificare 70028
say("Ciao "..pc.get_name()..", ecco cosa puoi fare:")
local w = select("Attiva Bonus GM","Disattiva Bonus GM","Esci")
if w==1 then
affect.remove_collect()
affect.add_collect(apply.MAX_HP,40000,40000)
affect.add_collect(apply.MAX_SP,40000,40000)
affect.add_collect(apply.ATT_SPEED,100,100)
affect.add_collect(apply.STR,100,100)
affect.add_collect(apply.MOV_SPEED,100,100)
affect.add_collect(apply.ATTBONUS_HUMAN,100,100)
affect.add_collect(apply.RESIST_MAGIC,100,100)
affect.add_collect(apply.CAST_SPEED,100,100)
affect.add_collect(apply.CRITICAL_PCT,100,100)
affect.add_collect(apply.PENETRATE_PCT,100,100)
affect.add_collect(apply.RESIST_SWORD,100,100)
affect.add_collect(apply.RESIST_DAGGER,100,100)
affect.add_collect(apply.DEF_GRADE_BONUS,500,500)
end
if w==2 then
affect.remove_collect()
affect.add_collect(apply.MAX_HP,-40000,40000)
affect.add_collect(apply.MAX_SP,-40000,40000)
affect.add_collect(apply.ATT_SPEED,-100,100)
affect.add_collect(apply.STR,-100,100)
affect.add_collect(apply.MOV_SPEED,-100,100)
affect.add_collect(apply.ATTBONUS_HUMAN,-100,100)
affect.add_collect(apply.RESIST_MAGIC,-100,100)
affect.add_collect(apply.CAST_SPEED,-100,100)
affect.add_collect(apply.CRITICAL_PCT,-100,100)
affect.add_collect(apply.PENETRATE_PCT,-100,100)
affect.add_collect(apply.RESIST_SWORD,-100,100)
affect.add_collect(apply.RESIST_DAGGER,-100,100)
affect.add_collect(apply.DEF_GRADE_BONUS,-500,500)
end
if w==3 then
return
end
end
end
end
Metin2Works.