Auto buffer on leveling

mrlongshen

Noobies
Messages
1,126
Points
0
Age
36
Location
localhost 127.0.0.1
Emulator
I want to request when user leveling up, there will automatic buffer.

The buffer is, heal, Increase Agility, Blessing, Magnificat, the double of base and job exp.

For example, user is level 1, when its up to level 2, its will automatic buffer based on the above statements.

 
You can do that by using the following (self-explanatory) labels inside of an NPC:

OnPCBaseLvUpEvent:OnPCJobLvUpEvent:

Then put inside whatever status you want to give to the user.

 
Last edited by a moderator:
For the available buffs, kindly look at const.txt

Code:
OnPCBaseLvUpEvent:	specialeffect2 EF_BLESSING;	sc_start SC_BLESSING,60000,10;	specialeffect2 EF_INCAGILITY;	sc_start SC_INC_AGI,60000,10;	specialeffect2 EF_IMPOSITIO;	sc_start SC_IMPOSITIO,60000,10;	specialeffect2 EF_MAGNIFICAT;	sc_start SC_MAGNIFICAT,60000,10;	specialeffect2 EF_GLORIA;	sc_start SC_GLORIA,60000,10;	specialeffect2 EF_SUFFRAGIUM;	sc_start SC_SUFFRAGIUM,60000,10;	specialeffect2 EF_ASSUMPTIO;	sc_start SC_ASSUMPTIO,60000,10;end;
 
For the available buffs, kindly look at const.txt

OnPCBaseLvUpEvent: specialeffect2 EF_BLESSING; sc_start SC_BLESSING,60000,10; specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,60000,10; specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO,60000,10; specialeffect2 EF_MAGNIFICAT; sc_start SC_MAGNIFICAT,60000,10; specialeffect2 EF_GLORIA; sc_start SC_GLORIA,60000,10; specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM,60000,10; specialeffect2 EF_ASSUMPTIO; sc_start SC_ASSUMPTIO,60000,10;end;
@seventh. thanks alot..

which one on the constant.txt is get more exp on base and job ?

i have load this script. when leveling up nothing happen.

 
Last edited by a moderator:
Back
Top