I added in the buffer a button that gives "vote buff" to the players.
added the cost in 10 vote medals.
But....its ok if for example i have 20 vote medals in inventory,it consumes 10....But if i have 8 medals it consumes 8 and still gives me the buff. If the medals number are bigger than 10 then yes it consumes 10 only....but it also gives the buff even for 2 medals or 1. i want the cost to be 10 and if i dont have 10 medals to say a message saying "incorrect item count" or like that
Thank you for sharing your experience. The study process is difficult for me now because I don’t have time to do my homework in parallel with the work process. But when I found out about nursing essay writer the learning process became much easier for me. I found assistants and was able to quickly complete coursework and laboratory work.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
Question
Guarder
I added in the buffer a button that gives "vote buff" to the players.
added the cost in 10 vote medals.
But....its ok if for example i have 20 vote medals in inventory,it consumes 10....But if i have 8 medals it consumes 8 and still gives me the buff. If the medals number are bigger than 10 then yes it consumes 10 only....but it also gives the buff even for 2 medals or 1. i want the cost to be 10 and if i dont have 10 medals to say a message saying "incorrect item count" or like that
event id= 104
medal id = 6393
skill id = 2064
NPC=[20701] ADENA_ID=57 MEDAL_ID=6393 QuestId = 20701 QuestName = "NPCBuffer" QuestDesc = "custom" InitialHtml = "1.htm" if event == "104": st.takeItems(MEDAL_ID,10) SkillTable.getInstance().getInfo(2064,1).getEffects(st.getPlayer(),st.getPlayer()) return "1.htm" st.setState(COMPLETED)
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.