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.
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
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.