Gerlendsouls
Utente Iron
Perchè succede questo? dove modifico? vorrei che si droppassero da mob di lvl simile
Follow along with the video below to see how to install our site as a web app on your home screen.
Nota: This feature may not be available in some browsers.
...
state state_farming begin
when letter begin
send_letter(gameforge.dragon_soul._1090_sendLetter)
end
when info or button begin
say(string.format(gameforge.dragon_soul._1100_say, pc.getf("dragon_soul", "eye_left")))
end
when kill begin
if npc.is_pc() then
return
end
if drop_gamble_with_flag(drop_flag) then
local eye_left = pc.getf("dragon_soul", "eye_left")
local haved_gemstone_number = pc.count_item(gemstone)
if eye_left > haved_gemstone_number / gemstone_need_count then
game.drop_item_with_ownership(gemstone, 1, 300)
end
end
end
...
...
...
when kill beginwhen kill with math.abs(npc.get_level() - pc.get_level()) <= 15 beginCiao, ho modificato quello che mi hai indicato. ho aperto il server e ho provato a uccidere un metin ombra. purtroppo ho droppato le scheggiePresumendo che tu stia usando la quest originale:
dragon_soul.quest:
Codice:... state state_farming begin when letter begin send_letter(gameforge.dragon_soul._1090_sendLetter) end when info or button begin say(string.format(gameforge.dragon_soul._1100_say, pc.getf("dragon_soul", "eye_left"))) end when kill begin if npc.is_pc() then return end if drop_gamble_with_flag(drop_flag) then local eye_left = pc.getf("dragon_soul", "eye_left") local haved_gemstone_number = pc.count_item(gemstone) if eye_left > haved_gemstone_number / gemstone_need_count then game.drop_item_with_ownership(gemstone, 1, 300) end end end ... ... ...
Non vi e' un controllo per differenza di livello, qui e' il tuo problema, la risoluzione e' banale.
when kill begin
modifica in:
when kill with math.abs(npc.get_level() - pc.get_level()) <= 15 begin
Con questa modifica dropperanno solo dai mob entro 15 livelli dal player.
Io ti ho dato la soluzione, presumendo che tu abbia seguito correttamente i passaggi, allora il tuo problema e' altrove ma la soluzione rimane la stessa.Ciao, ho modificato quello che mi hai indicato. ho aperto il server e ho provato a uccidere un metin ombra. purtroppo ho droppato le scheggie
grep usando il value delle schegge, trova tutti i kill trigger associati ed applica il controllo del livello da me fornito.grep -r '30270' *L'ho fatto su almeno 4 file diversi. ma ancora al 105 droppo le schegge dai metin ombra D:Io ti ho dato la soluzione, presumendo che tu abbia seguito correttamente i passaggi, allora il tuo problema e' altrove ma la soluzione rimane la stessa.
Sfrutta il comandogrepusando il value delle schegge, trova tutti i kill trigger associati ed applica il controllo del livello da me fornito.
Se memoria non mi inganna il valore e' 30270, quindigrep -r '30270' *
Nella quest inoltre vi sono due trigger per il drop delle schegge non uno; entrambi sono inoltre associati a state diversi, quindi dovresti anche verificare in quale state ti trovi.
Giusto per curiosità, dopo aver seguito ciò che ti ha giustamente suggerito @NabbHackeR , hai ricompilato la quest?L'ho fatto su almeno 4 file diversi. ma ancora al 105 droppo le schegge dai metin ombra D:
come si fa?Giusto per curiosità, dopo aver seguito ciò che ti ha giustamente suggerito @NabbHackeR , hai ricompilato la quest?