rqueen Posted July 26, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 82 Reputation: 1 Joined: 04/30/13 Last Seen: October 30, 2014 Share Posted July 26, 2013 (edited) I'm trying to revise the script for Spike[2] to only give the 2/3 reduction of total DEF for priest classes only since Champions are op in our server. I've tried this: 1538,Spike_,Spike,4,,10,700,85,,1,2,0x00008110,7,2,2,4,40,1,8,{ bonus bCritical,40; if(BaseClass==Job_Priest) bonus bDefRate,-67; bonus bDef2Rate,-67; },{},{} and this: 1538,Spike_,Spike,4,,10,700,85,,1,2,0x00008110,7,2,2,4,40,1,8,{ bonus bCritical,40; if(BaseJob==Job_Priest) bonus bDefRate,-67; bonus bDef2Rate,-67; },{},{} I've tried removing the parentheses as well to no avail. We are still using an eAthena emulator btw. Edited July 26, 2013 by rqueen Quote Link to comment Share on other sites More sharing options...
-1 Patskie Posted July 26, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 16 hours ago Share Posted July 26, 2013 Try : 1538,Spike_,Spike,4,,10,700,85,,1,2,0x00008110,7,2,2,4,40,1,8,{ bonus bCritical,40; if( BaseJob == Job_Priest ) { bonus bDefRate,-67; bonus bDef2Rate,-67; } },{},{} 1 Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 26, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 26, 2013 As an explanation: BaseClass always returns the 1-1 class, so it will not work for Job_Priest (ever). You need to enclose scripts in brackets when there's more than one command. Quote Link to comment Share on other sites More sharing options...
rqueen Posted July 26, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 82 Reputation: 1 Joined: 04/30/13 Last Seen: October 30, 2014 Author Share Posted July 26, 2013 @Patskie - script's working great, thanks a lot! @Euphy - thanks for the clarification/explanation! Quote Link to comment Share on other sites More sharing options...
Question
rqueen
I'm trying to revise the script for Spike[2] to only give the 2/3 reduction of total DEF for priest classes only since Champions are op in our server.
I've tried this:
and this:
I've tried removing the parentheses as well to no avail.
We are still using an eAthena emulator btw.
Edited by rqueenLink 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.