Welcome to the Builder Academy

Question Event Based Regeneration

More
29 Apr 2018 15:22 #7998 by Sascha
Replied by Sascha on topic Event Based Regeneration
Interesting. That is also the error block that is displayed when someone uses Whirlwind.

I'll hold off on implementing this one then. Rats!

Will you stand against the coming Storm? After the Breaking: STORMRIDERS MUD - atbmud.dune.net port 4000

Please Log in or Create an account to join the conversation.

More
27 Jan 2026 00:01 #10974 by WhiskyTest
Replied by WhiskyTest on topic Event Based Regeneration
I came back to grab the files randomly but all the attachments are 404'ing. 
Not to worry, I started over and I think got a more solid take this time.

Last few iterations were causing all sorts of double-free / queue pointer errors. 
While my C skills haven't improved, ChatGPT has :D

So I'm posting a rough hand-patch file, it doesn't include all the places to drop in alter_hit() etc. but the main issue was the regen.c and regen.h, and where it integrates with mud_event.c

File Attachment:

File Name: event-regen.txt
File Size:8 KB
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.321 seconds