Hello everyone, i'm fairly new to scripting so go easy on me...as i know this is probably a simple issue.
I currently have 3 items that give 5% bonus experience by themselves and they apply correctly, however, I am attempting to place them in a set. The purpose would be if base level is 99 or less they receive a 50% bonus experience gain, between levels 100-200 they receive a 75% bonus experience gain and at 200-255 they receive a 100% total bonus experience gain. I went to my "item_combo_db" and added the following script:
Question
Kami675
Hello everyone, i'm fairly new to scripting so go easy on me...as i know this is probably a simple issue.
I currently have 3 items that give 5% bonus experience by themselves and they apply correctly, however, I am attempting to place them in a set. The purpose would be if base level is 99 or less they receive a 50% bonus experience gain, between levels 100-200 they receive a 75% bonus experience gain and at 200-255 they receive a 100% total bonus experience gain. I went to my "item_combo_db" and added the following script:
32508:32509:32510,{ if(BaseLevel<=99) { bonus2 bExpAddRace,RC_All,50; bonus2 bExpAddClass,Class_All,50; } if(BaseLevel==100) {{ bonus2 bExpAddRace,RC_All,75; bonus2 bExpAddClass,Class_All,75; } if(BaseLevel>=200) {{ bonus2 bExpAddRace,RC_All,100; bonus2 bExpAddClass,Class_All,100; }
As I said, learning as I go so I apologize if this is a dumb question haha. I look forward to hearing from everyone!
Link to comment
Share on other sites
3 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.