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 132
    • Issues 132
    • 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
  • #1424

Closed
Open
Created Dec 18, 2023 by Charlie@Faldonboy10

Support in damage mechanics for custom stats damage_modifiers and damagetype

Summary

Add support to hit/damage mechanics for custom damage stats as it currently does not take them into account

Usage

In this example I would have expected the outcome to be for the hit mechanic to do 5 damage to whoever attacks it as it does 5 Poison damage whenever it strikes someone due to the bonus damage it gets from the DAMAGE_POISON stat. This is not the case however and the hit mechanic is only taking the mobs damage attribute into account so its doing 0 damage.

Mob file: https://pastebin.com/MkyaP1Vw Stats file: https://pastebin.com/yALez2s3

And in this example the expected outcome would be for the player to take 0 damage due to the POISON_RESISTANCE stat on their armor. Instead it does 5 damage because the damagetype attribute from the damage mechanic does not appear to be compatible with the damagetype attribute from custom stats

Mob File: https://pastebin.com/tyfMHWtm Item File: https://pastebin.com/twfkVvig Stats File: https://pastebin.com/Bc4GGs9J

Value

Allow much easier implementation of custom damage reduction stats and damage types through stats

Priority

Would be nice. There doesn't seem to be much interaction between damage mechanics and stats yet

Edited Mar 29, 2025 by Brickgard
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking