Don't Starve Together

Don't Starve Together

Ruby Rose
Alodo 25 Nov, 2018 @ 4:46am
Bug: All characters' attacks gain AOE effect
Hello there! First of all, very nice mod. Lots of fun stuff here~ c:

Ran into a minor issue that I felt like throwing out there, just in case Chibisaur is still interested in doing small fixes. This might also aid other people running into this problem looking for solutions.

I recently noticed that, while the mod is installed, ALL characters on the server get a very small AOE attack radius. (Like, REALLY small, but small enough to occasionally trigger it with groups of spiders and frogs for example.)

Took a look at the code, and it seems like the "SetAreaDamage" call in modmain.lua:81 is the cause.

It seems like this is wholly unintentional, since it's an AOE effect that applies not just to the crescent rose, but to *all* weapons. So it seems like removing that particular call would be more according to the mod's intentions.

Alternatively, if this is actually an intentional (albeit not documented?) modification of Ruby's behaviour, moving the inst:HasTag("ruby") check from line 63 to line 61 should be enough to fix the problem for all other characters.

Either way, the mod's still fully functional even with this small oddity in place. It's just really strange when you eventually run into it. (Especially if you try to break walls for decorative purposes, and end up breaking multiple walls at once for no apparent reason.)

Thaaat's all from me. Should more information/guidance/support on this be required, feel free to hit me up.

Take care, ye~

Sincerely - Alodo