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