Remove script effect

MikZ

New member
Messages
461
Points
0
Hello, 
How would i do this?
When my player reaches max level 175. all + allstats will be remove from the item. so the item will be useless

script example:

Id: 25001 AegisName: "Leveling_Helm" Name: "Leveling Helm" Type: 5 Buy: 20 Weight: 700 Def: 3 Loc: 256 View: 1680 Trade: { nodrop: true notrade: true nocart: true nostorage: true nogstorage: true nomail: true noauction: true } Script: <" bonus bAllStats,5; bonus2 bExpAddRace,RC_All,50; if(BaseLevel>174) { bonus bonus bAllStats,-5; ">},
i tried:
        if(BaseLevel>174) {
bonus bonus bAllStats,-5; "> but its not working.. what should be the proper one? thank you!

 
Last edited by a moderator:
Code:
bonus2 bExpAddRace,RC_All,50;if(BaseLevel < 175) {     bonus bAllStats,5;}
 
Last edited by a moderator:
Back
Top