mrsanty Posted November 19, 2015 Report Share Posted November 19, 2015 hola alguien tiene la quest de revivir los caballos con las yerbas de mono, es que me falta, acabo de inplementar las mascotas pero sin que el caballo este vivo no puedo invocarlas. della muchas gracias Link to comment Share on other sites More sharing options...
Johan™ Posted November 19, 2015 Report Share Posted November 19, 2015 quest horse_revive begin state start begin when 20349.chat.gameforge.horse_revive._10_npcChat with horse.get_grade()==3 and horse.is_dead() and pc.countitem("50059")<1 begin say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._20_say) if pc.countitem("50058")>=1 then say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._30_say) elseif pc.countitem("50057")>=1 then say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._40_say) end end when 20349.chat.gameforge.horse_revive._10_npcChat with horse.get_grade()==3 and horse.is_dead() and pc.countitem("50059")>=1 begin say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._50_say) wait() say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._60_say) horse.summon() wait() say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._70_say) if pc.countitem("50059")>=1 then pc.removeitem("50059", 1) horse.revive() end end when 20349.chat.gameforge.horse_revive._10_npcChat with horse.get_grade()==2 and horse.is_dead() and pc.countitem("50058")<1 begin say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._80_say) if pc.countitem("50059")>=1 then say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._90_say) elseif pc.countitem("50057")>=1 then say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._40_say) end end when 20349.chat.gameforge.horse_revive._100_npcChat with horse.get_grade()==2 and horse.is_dead() and pc.countitem("50058")>=1 begin say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._110_say) wait() say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._60_say) horse.summon() wait() say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._70_say) if pc.countitem("50058")>=1 then pc.removeitem("50058", 1) horse.revive() end end when 20349.chat.gameforge.horse_revive._100_npcChat with horse.get_grade()==1 and horse.is_dead() and pc.countitem("50057")<1 begin say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._120_say) if pc.countitem("50059")>=1 then say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._90_say) elseif pc.countitem("50058")>=1 then say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._130_say) end end when 20349.chat.gameforge.horse_revive._10_npcChat with horse.get_grade()==1 and horse.is_dead() and pc.countitem("50057")>=1 begin say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._140_say) wait() say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._60_say) horse.summon() wait() say_title(gameforge.horse_exchange_ticket._20_sayTitle) say(gameforge.horse_revive._70_say) if pc.countitem("50057")>=1 then pc.removeitem("50057", 1) horse.revive() end end end state __COMPLETE__ begin when enter begin q.done() end endend mrsanty 1 Link to comment Share on other sites More sharing options...
Dilong Posted November 19, 2015 Report Share Posted November 19, 2015 Si quieres uno directo,toma: quest revivir_caballo begin state start begin when npc.chat."Revivir Caballo" begin say("texto") local s = select("Si","No") if s == 1 then if horse.is_dead() == false then say("No puedes revivir el caballo") else horse.revive() horse.summon() chat("El caballo ha sido revivido") return end end end end end mrsanty 1 Link to comment Share on other sites More sharing options...
mrsanty Posted November 20, 2015 Author Report Share Posted November 20, 2015 hola gracias a los 2 por responder me re ayudaron van sus +1 Link to comment Share on other sites More sharing options...
Recommended Posts