rqueen Posted July 26, 2013 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
-1 Patskie Posted July 26, 2013 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
Euphy Posted July 26, 2013 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
rqueen Posted July 26, 2013 Author Posted July 26, 2013 @Patskie - script's working great, thanks a lot! @Euphy - thanks for the clarification/explanation! Quote
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 rqueen3 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.