Skip to content
This repository was archived by the owner on Apr 14, 2020. It is now read-only.
This repository was archived by the owner on Apr 14, 2020. It is now read-only.

mobs regenerate health when stacked #306

@Kogwork

Description

@Kogwork

Describe the bug
in a fall damage spawner, an mob will die after an hit, mobs stack tho and it seems to reset their health full . also using the new pvp system you can hit a bunch of mobs to kill them in one hit, this plugin removes the abillity to do so.
To Reproduce
Steps to reproduce the behavior:
make a fall damage trap leaving 1 tick of health when hit by a mob, try to slay one and he will fall from a punch, try to slay a stack that fell and the first will die and all the ones after wont.

also in unstacked farmer a long press on the sword will kill all of the mobs, not doable when mobs are stacked
Expected behavior
way to register health and store it while the mob is stacked, maybe
by indexing each mob thats added to the stack.

a check for a strong sword attack aginst a stack that each mob has less health than the sword can damage, if thats the case will slay the whole stack when using an strong attack

Bukkit/Spigot AND StackMob version:

5.0.2 stackmob
spigot 1.15.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions