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
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
What's shit here it's whatever's inside your head, desperately trying to twist an answer that's already been given. Thus I upgrade my previous description of you from moron to complete moron. Congratulations.
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)
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.
Note: Your post will require moderator approval before it will be visible.