cadz Posted March 13, 2021 Posted March 13, 2021 hi how to fix this for example my hat added description if you wear +9 weapon aspd +1? .@r = getrefine(); if (.@r>=9) { bonus bAspd,1; } Quote
0 Hyroshima Posted March 13, 2021 Posted March 13, 2021 26 minutes ago, cadz said: hi how to fix this for example my hat added description if you wear +9 weapon aspd +1? .@r = getrefine(); if (.@r>=9) { bonus bAspd,1; } is it correct but not having an effect? Have you tried to increase the quantity? Quote
0 cadz Posted March 13, 2021 Author Posted March 13, 2021 38 minutes ago, Hyroshima said: is it correct but not having an effect? Have you tried to increase the quantity? the script is from a headgear if he equip + 9 weapon it will trigger +1aspd but its not when i refine the headgear to + 9 it trigger the aspd, the weapon should do the trigger of aspd not the headgear. Quote
0 Hyroshima Posted March 13, 2021 Posted March 13, 2021 instead of using getrefine() you should use getequiprefinerycnt(EQI_HAND_R) Quote
0 cadz Posted March 13, 2021 Author Posted March 13, 2021 6 minutes ago, Hyroshima said: instead of using getrefine() you should use getequiprefinerycnt(EQI_HAND_R) thank you so much! can you send me those script guides in db so i can learn more. Quote
0 Hyroshima Posted March 13, 2021 Posted March 13, 2021 inside the doc folder there is a script_commands file, there you can use almost everything for item_db (a good part you can) Quote
0 cadz Posted March 13, 2021 Author Posted March 13, 2021 40 minutes ago, Hyroshima said: inside the doc folder there is a script_commands file, there you can use almost everything for item_db (a good part you can) thank you so much Quote
Question
cadz
hi how to fix this for example my hat added description if you wear +9 weapon aspd +1?
.@r = getrefine();
if (.@r>=9) {
bonus bAspd,1;
}
6 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.