🛡️MWeapon [Damage] Properties
Last updated
Last updated
All weapons inherit from the MWeapon class and share the following Damage properties.
The time delay between attacks. Once a weapon has attacked or released a projectile. it will wait until this time to release the next attack
It continues to attack if the Main Input is still pressed down.
Weapons can be charged before releasing the attack. E.g. The bow can bend to fire the arrow.
Evaluate the Charge value in the Curve
The max value of the charge that goes from 0 to this value.
Charge multiplier to Apply to the Character Charge Value (For the Animator Parameter)
When the weapon impacts with an object that has the Stats component. It will modify the stat set on this parameter
When this parameter is set to true, it completely ignores the Damageable Multiplier value.
Chance to cause a Critical Damage. 1 = it is always critical
If the damage was critical. It will multiply the value of the Stat Multiplier value by this value
Type of Elemental damage this weapon will inflict