Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 15:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Seeking some assistance

Discussion on Seeking some assistance within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2011
Posts: 184
Received Thanks: 27
Seeking some assistance

Ok basically what I'm trying to do is set a specific buff to be activated when any character ascends to that specific class. I have been fidgeting around with the lua file and can't seem to get the buff to activate. Anyone better at lua scripting that can share some insight on what my problem might be, I'd be very thankful. This is what I've come up with so far :

local job = get_value("job")
if job == 303 then
add_state("145219, 1, 60480000")
end
superiorflame is offline  
Old 11/27/2011, 06:28   #2
 
SilentBill's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 305
Received Thanks: 178
Look for this function in your Job Change LUA
Code:
function Run_JobChange_common( job_name , job_id )
This is the one that actually changes jobs, everywhere but TI.
Just add your ifs in there, it should work. I added a notice that announces to everyone who changed job and to what.
SilentBill is offline  
Old 11/27/2011, 07:05   #3
 
elite*gold: 0
Join Date: Oct 2011
Posts: 184
Received Thanks: 27
Hmm found the function and tried my if statements in there, but upon my job change the buff effect is not activated. I'm obviously guessing its my If statement, do you see an error in the statement I posted above?
superiorflame is offline  
Old 11/27/2011, 08:03   #4
 
SilentBill's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 305
Received Thanks: 178
Now that you mention it, yes, no quotation marks should go in the add_state function, they're numbers.
SilentBill is offline  
Old 11/27/2011, 15:32   #5
 
elite*gold: 0
Join Date: Oct 2011
Posts: 184
Received Thanks: 27
Yea removed the quotes and that does not work, tried changing up the if statement can't get it to work, can't seem to figure out where I'm going wrong lol. Went to sleep at 3 am this morning trying hard to get it to work :/
superiorflame is offline  
Reply




All times are GMT +2. The time now is 15:45.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.