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.
Please keep the drama out of the author's thread. The name isn't anyone's property he liked it, bought the domain, and is using it. I don’t see any issue with that. These are two completely different servers: L2Evolution and L2Evo. I don’t believe his server name claims to be related to "Evolution" in any official way. Also, I’ve known this person for many years he doesn’t copy anyone’s features or ideas. He creates his own unique content for the server, and that’s all.
Idk what is your problem since I never tell or pretend that L2 Evo is connected with your l2evolution? Do you see somewhere in my website or discord saying L2 pride style or something related to your server? So stop talk bullshits in my topic. You are free to think whatever you want. When the domain expires you need to register it again if you do not know that.
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.