Damage Modifier

Modifies the damage config of a weapon

  Damage_Modifier:
    Base_Damage: <DoubleModifier>
    Base_Explosion_Damage: <DoubleModifier>
    Fire_Ticks: <IntModifier>
    Armor_Damage: <IntModifier>
    Damage_Dropoff:  
      - <distance> <damage>
    Add_Damage_Modifier: <DamageModifier>  # or use Replace_Damage_Modifier
    Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Add_Kill_Mechanics: <Mechanics>  # or use Replace_Kill_Mechanics
    Backstab:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Critical_Hit:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Head:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Body:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Arms:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Legs:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Feet:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics

Base_Damage

Base_Explosion_Damage

Fire_Ticks

Armor_Damage

Add_Damage_Modifier

This will add an additional damage modifier to the existing modifier(s). To replace all current modifiers, change the config key to Replace_Damage_Modifier.

Armor Piercing Rounds Example
  Damage_Modifier:
    Replace_Damage_Modifier:
      Min: 20%   
      Max: 300% 
      Per_Armor_Point: 0% # Makes armor make 0% difference in damage

      # Modifiers for where the bullet hits the body
      Head: +50%

      # Add your other options here!

Add_Mechanics

This will add additional Mechanics to the current mechanics. To replace all current mechanics, change the config key to Replace_Mechanics.

Modifies the current mechanics applied whenever an entity is damaged by a weapon. In practice, this can be used to bleeding rounds, freezing rounds, levitating rounds, etc.

Bleeding Rounds Example
  Damage_Modifier:
    # This adds a "bootlegged" bleeding effect by damaging the entity every
    # few seconds. You can add particles effects using the Particle{} mechanic
    Add_Mechanics:
     - "Damage{damage=1, repeatAmount=3, repeatInterval=40, delayBeforePlay=20} @Target{}"

Add_Kill_Mechanics

This add additional Mechanics to the current mechanics. To replace all current mechanics, change the config key to Replace_Kill_Mechanics.

Modifies the current mechanics applied whenever an entity is killed by a weapon.

Backstab

  • Add_Mechanics -> adds to the current backstab mechanics

  • Replace_Mechanics -> replaces the current backstab mechanics

Critical_Hit

  • Add_Mechanics -> adds to the current critical hit mechanics

  • Replace_Mechanics -> replaces the current critical hit mechanics

  • Add_Mechanics -> adds to the current head shot mechanics

  • Replace_Mechanics -> replaces the current head shot mechanics

Body

  • Add_Mechanics -> adds to the current body shot mechanics

  • Replace_Mechanics -> replaces the current body shot mechanics

Arms

  • Add_Mechanics -> adds to the current arm shot mechanics

  • Replace_Mechanics -> replaces the current arm shot mechanics

Legs

  • Add_Mechanics -> adds to the current leg shot mechanics

  • Replace_Mechanics -> replaces the current leg shot mechanics

Feet

  • Add_Mechanics -> adds to the current foot shot mechanics

  • Replace_Mechanics -> replaces the current foot shot mechanics

Last updated