damage mechanic acting weird
Version: Paper: 1.21.4-231-ver/1.21.4@09e9afd (2025-05-19T17:59:36Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT) MythicMobs: 5.8.2. Not premium not Dev build
MythicCrucible: 2.2.0-SNAPSHOT/4017
this is the skill of the weapon i'm using, the weapon's item type is stick
, which in vanilla deals 1 damage:
- skill{s=skill_1} @target ~onAttack
In the skill file:
- damage{amount=20;ignoreArmor=true;ii=true;delay=2;ir=true}
Expected Result:
normal attack (not critting)
- hitting a husk (which has 2 armor points)
- dealing 0.94 damage initially
- dealing 20 damage 2 ticks later
crit attack
- hitting a husk
- dealing 1.42 damage initially
- dealing 20 damage 2 ticks later
what actually happened
normal attack:
- hitting husk
- dealing 0.94 damage initially
- dealing 19 (≠20) 2 ticks later
- resulting in husk having 0.06 health left
crit attack
- hitting husk
- dealing 1.42 damage initially
- dealing 18.5 damage 2 ticks later
- resulting in husk having 0.08 health left