PlayMetin Posted February 21, 2015 Report Share Posted February 21, 2015 Buenas chico quien me hace el favor de ayudarme a que esta quest genere un cobro al que combre el itemsquest test begin state start begin when 9003.chat."Tienda General" begin setskin(NOWINDOW) npc.open_shop(3) end when 9003.chat."Objeto Encantado" begin setskin(NOWINDOW) if pc.count_item(71084) > 0 then chat("Lo siento , tienes que gastar tu Objeto Encantado") return else pc.give_item2(71084,25) chat("Has obtenido 25 Objeto Encantado") end end endendGracias dejo los creditos de la quest al que me eche la mano (y) Link to comment Share on other sites More sharing options...
Edward™ Posted February 21, 2015 Report Share Posted February 21, 2015 pc.give_item2(71084,25) pc.change_money(-cantidad de dinero) chat("Has obtenido 25 Objeto Encantado") Link to comment Share on other sites More sharing options...
RafaVK Posted February 22, 2015 Report Share Posted February 22, 2015 quest test begin state start begin when 9003.chat."Tienda General" begin setskin(NOWINDOW) npc.open_shop(3) end when 9003.chat."Objeto Encantado" begin setskin(NOWINDOW) if pc.count_item(71084) > 0 then chat("Lo siento , tienes que gastar tu Objeto Encantado") return else pc.give_item2(71084,25) pc.change_money(-122231) --Cantidad de dinero a cobrar. Importante dejar el - chat("Has obtenido 25 Objeto Encantado") end end end end Link to comment Share on other sites More sharing options...
Recommended Posts