Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Bugs : Fighting a mother doesn't expand briar unless fought directly
New Topic New Poll Post Reply
Poster Message
kieranmillar
Level: Smitemaster
Rank Points: 3126
Registered: 07-11-2014
IP: Logged
icon Fighting a mother doesn't expand briar unless fought directly (+1)  
If you cut alive tarstuff connected to a mother, briar does not expand. But fighting the mother directly in the eye does expand briar.

This feels inconsistent, you fight the mother when cutting tarstuff, it should count as a fight.
12-17-2024 at 07:53 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
kieranmillar
Level: Smitemaster
Rank Points: 3126
Registered: 07-11-2014
IP: Logged
icon Re: Fighting a mother doesn't expand briar unless fought directly (+1)  
CCurrentGame::AdvanceCombat seems to specifically separate out cutting tarstuff vs a normal monster and doesn't run ProcessMonsterDefeat.

https://github.com/CaravelGames/drod/blob/9ce8dba1b3dbf834f6fe14a994113d36be0ff9e0/drodrpg/DRODLib/CurrentGame.cpp#L3169

Not sure why.
12-17-2024 at 08:00 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Dragon Fogel
Level: Smitemaster
Rank Points: 2539
Registered: 06-21-2014
IP: Logged
icon Re: Fighting a mother doesn't expand briar unless fought directly (0)  
I would guess that code is intended for regular tarstuff cutting, and nobody thought to make it work with mothers.
12-17-2024 at 09:11 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Doom
Level: Smitemaster
Avatar
Rank Points: 3332
Registered: 07-05-2004
IP: Logged
icon Re: Fighting a mother doesn't expand briar unless fought directly (+1)  
Element          Grows Eggs    Grows Briar
-----------------------------------------
Snake tails      X             X
Roach eggs       -             X
Mother-tar       X             -
Everything else  X             X
It is a bit surprising. Eggs not spawning more eggs is a sensible exception, but you'd expect eggs and briar to have the same conditions for everything else.
12-17-2024 at 09:43 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
kieranmillar
Level: Smitemaster
Rank Points: 3126
Registered: 07-11-2014
IP: Logged
icon Re: Fighting a mother doesn't expand briar unless fought directly (+1)  
It turns out we don't run ProcessMonsterDefeat because we don't actually want mothers to be killed immediately because we might not be fighting an eye directly.

After trying a number of things, the simplest fix is to just process briar growth during this special case carve-out for mothers.

PR
12-17-2024 at 09:46 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD RPG Boards : RPG Bugs : Fighting a mother doesn't expand briar unless fought directly
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.9
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.