Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Make some adjustments to defense values #229

Open
goflishMC opened this issue Jun 5, 2024 · 0 comments
Open

[Enhancement] Make some adjustments to defense values #229

goflishMC opened this issue Jun 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@goflishMC
Copy link
Contributor

goflishMC commented Jun 5, 2024

See the commented section in the defense-types example below:

  defense-types:
    minimum: 7
    maximum: 7
    lore-format:
    - '%DEFENSE_SLASHING%'
    - '%DEFENSE_PIERCING%'
    - '%DEFENSE_BLUDGEONING%'
    - '%DEFENSE_PHYSICAL%'
    - §8--------------------
    - '%DEFENSE_COLD%'
    - '%DEFENSE_FIRE%'
    - '%DEFENSE_POISON%'
    - '%DEFENSE_LIGHTNING%'
    - '%DEFENSE_RADIANT%'
    - '%DEFENSE_NECROTIC%'
    - '%DEFENSE_THUNDER%'
    - '%DEFENSE_FORCE%'
    - '%DEFENSE_PSYCHIC%'
    list:
      physical:
        chance: 20.0
        scale-by-level: 1.0
        min: 1.0
        max: 4.0
        #If true, this would give 1-4
        #defense on each hit taken
        flat-range: true
        #If true, sets the damage value
        #to integers. (no decimals like 1.254)
        round: true
      fire:
        chance: 20.0
        scale-by-level: 1.0
        min: 0.0
        max: 0.0
        #If true, this would give 1-4
        #defense on each hit taken
        flat-range: true
        #If flat-range is false and
        #round is true, this will round
        #defense
        round: true

flat-range and round are features for damage-types, this will add the feature to defense also

@goflishMC goflishMC added the enhancement New feature or request label Jun 5, 2024
@goflishMC goflishMC reopened this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants