Jump to content
  • 0
keough

R> Food Buff Not cancelled.

Question

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!

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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.

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.