Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 145
    • Issues 145
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1717

Closed
Open
Created Sep 10, 2024 by JohnKillswitch@JohnKillswitch

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

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
Edited Sep 11, 2024 by JohnKillswitch
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking