SINOLOGY 220 Posted February 5, 2016 Boas pessoal, tenho itens tipo Poções Roxas a funcionar perfeitamente mas não desconta, como fazer para descontar?É que a quantidade fica sempre no mesmo valor.Obrigado Share this post Link to post Share on other sites
0 Owsap 201 Posted February 5, 2016 Podes usar uma quest, quest use_items begin state remove begin when #.use begin pc.remove_item(#, 1) -- (ID, QUANTIDADE) end end endSubstitui o # pelo ID do item. 1 SINOLOGY reacted to this Share this post Link to post Share on other sites
0 SINOLOGY 220 Posted February 7, 2016 Podes usar uma quest, quest use_items begin state remove begin when #.use begin pc.remove_item(#, 1) -- (ID, QUANTIDADE) end end endSubstitui o # pelo ID do item. Já tentei por quest, já tentei alterar no item_proto.txt serverside e nada... :/ Nas capas isso funciona. Share this post Link to post Share on other sites
Boas pessoal, tenho itens tipo Poções Roxas a funcionar perfeitamente mas não desconta, como fazer para descontar?
É que a quantidade fica sempre no mesmo valor.
Obrigado
Share this post
Link to post
Share on other sites