WhatFT Posted March 12, 2013 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Share Posted March 12, 2013 Does this Item Script even work? I tested it but I think it doesn't work ... if(Class == Job_Whitesmith) Here is a sample.. bonus bAtkRate,10; bonus bDef,4; bonus bMdef,4; bonus bStr,6; bonus bVit,6; if(Class == Job_Lord_Knight) bonus2 bSkillAtk,"KN_BOWLINGBASH",5; bonus bAtkRate,5; bonus bStr,4; if(Class == Job_Champion) bonus2 bSkillAtk,"MO_FINGEROFFENSIVE",5; bonus bMaxSPrate,7; bonus bStr,4; if(Class == Job_Star_Gladiator) bonus2 bSkillAtk,"TK_JUMPKICK",10; bonus bAtkRate,5; bonus bStr,5; When I try to wear it in all jobs, All of those stats are combined, Even If I try using wizard, it still give the same effects on it... need help ASAP ~ Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 12, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 12, 2013 You have to use { } to prevent it from being mixed with other bonuses Quote Link to comment Share on other sites More sharing options...
WhatFT Posted March 12, 2013 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted March 12, 2013 Hm okay thanks ~ I'll try it.. Quote Link to comment Share on other sites More sharing options...
WhatFT Posted March 12, 2013 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted March 12, 2013 I already tried adding { } but still the effects are mixing up .... You have to use { } to prevent it from being mixed with other bonuses I already tried adding { } but still the effects are mixing up .... Quote Link to comment Share on other sites More sharing options...
WhatFT Posted March 13, 2013 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted March 13, 2013 up Quote Link to comment Share on other sites More sharing options...
PewN Posted March 13, 2013 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted March 13, 2013 try to use if(BaseClass == Job_Blacksmith){ script } Quote Link to comment Share on other sites More sharing options...
WhatFT Posted March 13, 2013 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted March 13, 2013 Hm okay, I'll post my update Quote Link to comment Share on other sites More sharing options...
Mumbles Posted March 13, 2013 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 127 Reputation: 36 Joined: 01/21/13 Last Seen: July 25, 2014 Share Posted March 13, 2013 bonus bAtkRate,10; bonus bDef,4; bonus bMdef,4; bonus bStr,6; bonus bVit,6; if(Class == Job_Lord_Knight) { bonus2 bSkillAtk,"KN_BOWLINGBASH",5; bonus bAtkRate,5; bonus bStr,4; } if(Class == Job_Champion) { bonus2 bSkillAtk,"MO_FINGEROFFENSIVE",5; bonus bMaxSPrate,7; bonus bStr,4; } if(Class == Job_Star_Gladiator) { bonus2 bSkillAtk,"TK_JUMPKICK",10; bonus bAtkRate,5; bonus bStr,5; } Quote Link to comment Share on other sites More sharing options...
WhatFT Posted March 13, 2013 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted March 13, 2013 try to use if(BaseClass == Job_Blacksmith){ script } bonus bAtkRate,10; bonus bDef,4; bonus bMdef,4; bonus bStr,6; bonus bVit,6; if(Class == Job_Lord_Knight) { bonus2 bSkillAtk,"KN_BOWLINGBASH",5; bonus bAtkRate,5; bonus bStr,4; } if(Class == Job_Champion) { bonus2 bSkillAtk,"MO_FINGEROFFENSIVE",5; bonus bMaxSPrate,7; bonus bStr,4; } if(Class == Job_Star_Gladiator) { bonus2 bSkillAtk,"TK_JUMPKICK",10; bonus bAtkRate,5; bonus bStr,5; } Thank You both of you I thought the { } will start before "if" but thanks anyways ~ Quote Link to comment Share on other sites More sharing options...
Mumbles Posted March 13, 2013 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 127 Reputation: 36 Joined: 01/21/13 Last Seen: July 25, 2014 Share Posted March 13, 2013 I thought the { } will start before "if" but thanks anyways ~ Your brackets, "{ }", will always start after the conditional statement, "if( )", if you are executing more than one script function within the conditional statement. Example: if(Class == Job_Whitesmith) { bonus bAtkRate,10; bonus bDef,4; } Quote Link to comment Share on other sites More sharing options...
Question
WhatFT
Does this Item Script even work? I tested it but I think it doesn't work ...
Here is a sample..
When I try to wear it in all jobs, All of those stats are combined, Even If I try using wizard, it still give the same effects on it...
need help ASAP ~
Link to comment
Share on other sites
9 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.