Bug Closed · Resolved

issue with stats. Type: DAMAGE_MODIFIER not working with ATTACK trigger

#5355 opened by Unknown 1 year ago

Unknownreported this bug

Summary

Describe the bug encountered in detail.

Steps to reproduce

Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.

Current behavior

custom stat stop working if type is DAMAGE_MODIFIER and trigger is ATTACK. DAMAGE_BONUS with ATTACK works well

Intended correct behavior

well... should work?

Server log file

https://pastebin.com/vzPjfZNw

Stat:

DAMAGE_CUTTING:
  Enabled: true
  Type: DAMAGE_MODIFIER
  Priority: 1
  Triggers:
    - ATTACK
  Conditions:
    - hasoffhand false
  ExecutionPoint: PRE
  DamageFormula: 'd + v'
  Display: 'Blunt Damage'
  DamageType: CUTTING
  BaseValue: 10
  Formatting:
    Additive: '+<value> Blunt Damage'
    Multiply: '+<value> Blunt Damage'
    Compound: 'x<value> Blunt Damage'

Item:

generic_sword:
  Id: iron_sword
  Stats:
  - DAMAGE_CUTTING 7 ADDITIVE
  - ATTACK_SPEED 0.6 ADDITIVE
  Attributes:
    MainHand:
      Damage: 0 MULTIPLY
  Options:
    HideFlags: true
Unknowncommented

Tried without attributes in item. Tried reload server. Tried change version of MM to older. Tried swap server version from 1.21 to 1.20.6.

Unknowncommented

Closing due to inactivity and major version changes. If this is still a relevant issue, please re-post with a modern-version server log and current steps to reproduce.

Sign in to join the discussion.