Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M mmoitems
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 47
    • Issues 47
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • mmoitems
  • Issues
  • #144

Closed
Open
Created Jul 12, 2020 by Administrator@rootMaintainer

resistances don't work with negative values anymore

Created by: emanuelitor

Describe the bug setting fall damage reduction (or magic damage reduction, physical damage reduction and other types) to a negative value doesn't work properly. To Reproduce Steps to reproduce the behavior:

  1. create a new armor boots item, give it something like -50% fall damage reduction and try jumping somewhere to take fall damage.
  2. in mmoitems ver 5.3.2 (and paper 1.15.2) you wil get more fall damage with those boots equipped and in the latest version you will take the same damage without the boots as with the boots equipped.
  3. 99% sure that it applies to other damage types but can't test atm.

Expected behavior negative values should work.

Server info:

  • paper-87 (1.16.1)
  • mmoitems 5.5.1

Additional context this doesn't affect things like movement speed or max-health.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking