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 147
    • Issues 147
    • 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
  • #723

Closed
Open
Created Mar 02, 2022 by Nailm@Akiranya

Projectile damage modifer does not work correctly

I'm sorry that I mention this issue again but this issue is still not resolved. I created a ticket (https://tickettool.xyz/direct?url=https://cdn.discordapp.com/attachments/884495827693871224/947300381732528128/transcript-closed-2132.html) a few days ago and Phil suggested me update the relevant plugins. I've done so as he suggested but the issue still persists. This issue has been existing for a long time #82 (closed) and I hope this time we can truly investigate it and try to fix it. The projectile damage modifier is really important and useful tool to balance the gameplay.

Summary

The projectile damage modifier does not work correctly. Setting a PROJECTILE 0.1 modifier does not reduce the incoming projectile damage. Setting a PROJECTILE 0 modifier does not make the mob immune to the projectile damage. However, the weird thing is that setting a PROJECTILE -5 modifier works as intentded (i.e., projectile damage can heal the mob then).

I have MythicLib/MMOCore/MMOItems installed. I am not sure if it's related to MythicLib/MMOCore/MMOItems.

Steps to reproduce

  1. Install MMOCore 1.9.1, MMOItems 6.7.1, MythicLib 1.3, with fresh config
  2. Install MythicMobs v5.0.0-SNAPSHOT-15c83a3b
  3. Spawn the mob with id "AIM" (see the config I provided)
  4. Use a vanilla bow to shoot the AIM and see the damage

Mobs config: https://pastebin.com/gGWtSCuw

image

Current behavior

Setting a PROJECTILE 0.1 modifier does not reduce the incoming projectile damage. Setting a PROJECTILE 0 modifier does not make the mob immune to the projectile damage.

Intended correct behavior

The projectile damage modifier should work as intended.

Server log file

https://pastebin.com/uVBJmw91

Debug log snippet

There are no errors on the console. I use this command to create a villager target to see the damage tho:

[13:47:51 INFO]: Nailm issued server command: /mm mobs spawn AIM

Proposed fixes

Edited Mar 03, 2022 by Nailm
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking