Script OffensiveItemComponents
Components
itemAttackBaseDamageIncrease | |
itemAttackBaseDamageMultiplier | |
itemAttackFinalDamageMultiplier | |
itemAttackOverrideKnockback | |
itemComboDamageMultiplier | Multiplies base damage based on the item's current combo. |
itemConditionalDamageIncrease | Increases the damage if a certain condition is met |
itemConditionalDamageOnActivation | Activates the item's conditional damage buff when item is activated. |
itemConditionalDamageOnCurrencyGain | Activates the item's conditional damage buff whenever the holder gains currency of a specific type |
itemConditionalDamageOnDig | Activates the item's conditional damage buff whenever the holder digs a wall |
itemConditionalDamageOnLowHealth | Activates the item's conditional damage buff while the holder is on low health |
itemConditionalDamageOnWireLevel | Activates the item's conditional damage buff when the holder wired level is above the threshold. |
itemDamageFlags | |
itemFreezeOnAttack | |
itemGrooveChainDamageMultiplier | Multiplies damage based on the holder's current groove chain |
itemWireLevel |
Components
- itemAttackBaseDamageIncrease
-
- damageType constant int (default damage.Flag.STRENGTH_BASED)
- increase constant int (default 0)
- itemAttackBaseDamageMultiplier
-
- damageType constant int (default damage.Flag.STRENGTH_BASED)
- multiplier constant int (default 1)
- itemAttackFinalDamageMultiplier
-
- damageType constant int (default damage.Flag.STRENGTH_BASED)
- multiplier constant int (default 1)
- itemAttackOverrideKnockback
-
- damageType constant int (default damage.Flag.STRENGTH_BASED)
- distance constant int (default 1)
- itemComboDamageMultiplier
-
Multiplies base damage based on the item's current combo.
- damageType constant int (default damage.Flag.STRENGTH_BASED)
- multipliers
constant table In format: { multiplier, ... }
default:{}
- loop constant bool (default false)
- itemConditionalDamageIncrease
-
Increases the damage if a certain condition is met
- damageType constant int (default damage.Flag.STRENGTH_BASED)
- increase constant int (default 0)
- setHitChain constant bool (default false)
- remainingTurns int (default 0)
- itemConditionalDamageOnActivation
- Activates the item's conditional damage buff when item is activated.
- itemConditionalDamageOnCurrencyGain
-
Activates the item's conditional damage buff whenever the holder gains currency of a specific type
- currencyType constant string (default currency.Type.GOLD)
- itemConditionalDamageOnDig
-
Activates the item's conditional damage buff whenever the holder digs a wall
- minimumDigStrength constant int (default 0)
- itemConditionalDamageOnLowHealth
-
Activates the item's conditional damage buff while the holder is on low health
- threshold constant int (default 1)
- itemConditionalDamageOnWireLevel
-
Activates the item's conditional damage buff when the holder wired level is above the threshold.
- threshold constant int (default 0)
- itemDamageFlags
-
- damageType constant int (default damage.Flag.STRENGTH_BASED)
- addedFlags constant int (default 0)
- itemFreezeOnAttack
-
- damageType constant int (default damage.Flag.STRENGTH_BASED)
- duration constant int (default 3)
- damage constant int (default 999)
- itemGrooveChainDamageMultiplier
-
Multiplies damage based on the holder's current groove chain
- damageType constant int (default damage.Flag.STRENGTH_BASED)
- itemWireLevel