MLG-Fortress / ExtraHardMode

The now-official repository for the ExtraHardMode Bukkit Plugin.
http://dev.bukkit.org/bukkit-plugins/fun-hard-mode/
Other
24 stars 19 forks source link

Zombie slowdown gets applied through shield #251

Open JotaFaD opened 3 years ago

JotaFaD commented 3 years ago

Raising their shield does not prevent the player from receiving the slow effect when hit by a zombie.

RoboMWM commented 3 years ago

That's because I believe it's still considered a damage event by bukkit.

The question is, should this behavior stay or not?

JotaFaD commented 3 years ago

IMO, the player should be rewarded for blocking the zombie, and it makes it possible to fight hordes without running from them. Implementation-wise, maybe checking if the final damage dealt by the event is zero is enough to capture the case the player used a shield.