R> Food Buff Not cancelled.

keough

New member
Messages
173
Points
0
Emulator
Hello!

Anyone know how to make the food buffs not cancelled and still remain upon death. I know it can be done in SRC but i dunno how, i forgot it.

Please help me with this, Thank you in  advance!

 
You don't need to do any src edition. In db\sc_config.txt you can configure the behavior for every single status effect.

By default, foods has this values:

SC_FOOD_STR, 92
SC_FOOD_AGI, 92
SC_FOOD_VIT, 92
SC_FOOD_DEX, 92
SC_FOOD_INT, 92
SC_FOOD_LUK, 92

That means:

4  - SC cannot be reset by dispell.
8  - SC cannot be reset by clearance.
16 - SC considered as buff and be removed by Hermode and etc.
64 - SC cannot be reset when MADO Gear is taken off.
 
4 + 8 + 16 + 64 = 92
 
If you want to make them resist death, just change 92 to 93, adding the +1 flag:
 
1  - SC cannot be removed by death.

 
Back
Top