Files
Bubberstation/code/modules/mob
SkyratBot b132e43fa6 [MIRROR] Butter bear attack fixes [MDB IGNORE] (#8943)
* Butter bear attack fixes (#62082)

## About The Pull Request

Butter bears can now attack structures, as they were intended to.

Fugu glanded butter bears can now break down walls, matching the behavior of other fugu glanded mobs.

Butter bears now have a melee_damage_lower of 0 and a melee_damage_upper of 0 instead of a melee_damage_lower of 1 and a melee_damage_upper of 1. Previously, those two variables had no effect on the attacks of butter bears, which always dealt no damage. They now do, meaning that a butter bear wearing bear armor or under the effects of a fugu gland can deal damage with its attacks.

Butter bear attacks are now considered to be blunt instead of sharp for the purposes of wounds.

Fixes https://github.com/tgstation/tgstation/issues/61250.

## Why It's Good For The Game

Butter bears were intended to be able to attack structures, as they were specifically given an obj_damage of 11 (as opposed to the 60 obj_damage of normal bears).

Other fugu glanded mobs can break down walls, the only reason that butter bears couldn't was because their AttackingTarget() code didn't call ..(), which appears to be an oversight.

Other mobs, like Ian, gain the ability to deal damage with their attacks if their melee damage variables are nonzeroes, and butter bears have no reason to be an exception.

Butter bears made of butter and their (lethal) attacks use a slapping sound, so their attacks should be considered to be blunt instead of sharp.

This PR has been tested on a private server.

* Butter bear attack fixes

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2021-10-20 16:54:14 +01:00
..