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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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