WeaponMechanics / MechanicsMain

A New Age of Weapons in Minecraft.
https://www.spigotmc.org/resources/WeaponMechanics.99913/
MIT License
83 stars 27 forks source link

Overheating guns #32

Open TeslaGM opened 2 years ago

TeslaGM commented 2 years ago

Description

A option to make guns overheating (unable to shoot) and take more damage to the gun or apply potion effects to the player.

Configuration

Shoot:
  Overheating:
    Enable: <true/false>
    Shoots_Takes_Before_Overheating: <number>
    Bonus_Durability_Per_Overheating: <negative number>
    Apply_Effect_When_Overheating: <potion effect>-tick-level_effect,<potion effect>-tick-level_effect
    Bonus_Damage_Per_Overheating_To_Target: <number>
    Overheating_Message: "&cThe weapon is overheating!"
    Cooling_Cooldown: <number>
    Cool_Weapon_While_In_Water: <true/false>
    Bonus_Cooling_Weapon_While_In_Water: <number>

Edit CJCrafter: Fixed code format

DeeCaaD commented 2 years ago

What should Bonus_Durability_Per_Overheating do exactly?

DeeCaaD commented 2 years ago

Comment in discord Does WM possibly have a heat mechanic? Like instead of making guns use ammo they either are infinite ammo or use ammo but can still overheat. Stop firing for X amount of time and it goes down by X units. Overheat and the gun takes X before its able to be reused?

These ideas can potentially be merged

TeslaGM commented 2 years ago

What should Bonus_Durability_Per_Overheating do exactly?

I mean the durability mechanic in CSP, he can be really usefull, i was think it will be in WM, but if not, i'll write a suggestion.

When you shoot with the gun that is too heat, you lose more durability that normal