Jump to content
  • 0

Enabling old Safety Wall (Pre-Renewal)


Vach

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

I want to re-enable the old pre-renewal safety wall math, where it is based off of skill level and hits instead of giving the wall HP.

Does anyone know the magic trick to doing this without officially disabling renewal mode in the configuration .h files? I edited battle.c and skill.c, commenting out all the renewal code, but that didn't work. I had 15 tiny aggressive monsters attacking my safety wall and it still took forever to go down.

Which section of the code am I missing?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

I want to re-enable the old pre-renewal safety wall math, where it is based off of skill level and hits instead of giving the wall HP.

Does anyone know the magic trick to doing this without officially disabling renewal mode in the configuration .h files? I edited battle.c and skill.c, commenting out all the renewal code, but that didn't work. I had 15 tiny aggressive monsters attacking my safety wall and it still took forever to go down.

Which section of the code am I missing?

Revert these changes according to r15554.

Safety Wall now possesses a lifetime equal to 3 times the health of the caster, when the wall absorbs this much damage, the wall is removed and any remaining damage is dealt to the player.

Save and recompile.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Those are the parts of code I mentioned I commented out, and I was still receiving renewal behavior.

I'm guessing it wasn't compiling right if I wasn't receiving the changes. And those are the only files that would need to be changed to get old swall behavior?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Those are the parts of code I mentioned I commented out, and I was still receiving renewal behavior.

I'm guessing it wasn't compiling right if I wasn't receiving the changes. And those are the only files that would need to be changed to get old swall behavior?

That's all that I found in the Trac regarding renewal behaviour for Safety Wall. Make sure that you comment it out properly.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Yea... I practically knew it was something I screwed up. Thanks!

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...