Script ShieldComponents
Components
Components
- barrier
-
- bypassFlags constant int (default damage.Flag.BYPASS_ARMOR)
- bypassDamage constant int (default -1)
- damageReduction constant int (default 0)
- maximumDamageTaken constant int (default 0)
- remainingTurns int (default 0)
- permanent bool (default false)
- beatDelayShield
- dismountOnHit
-
- targetType constant string (default "")
- active bool (default true)
- shield
-
- bypassFlags constant int (default damage.Flag.BYPASS_ARMOR)
- bypassDamage constant int -1 = not bypassable (default -1)
- damageReduction constant int (default 0)
- maximumDamageTaken constant int (default 0)
- active bool (default true)
- shieldBreakConvert
-
- targetType constant string (default "")
- shieldBreakOnBypass
-
- minimumDamage constant int (default 1)
- shieldBreakOnHit
-
- minimumDamage constant int (default 0)
- shieldDamageType
-
- requiredFlags constant int (default 0)
- damage constant int (default 0)
- knockback constant int (default 1)
- shieldDirection
-
- direction int (default 0)
- shieldDirectionFollowFacingDirection
- shieldDodgeOnHit
-
- relativeToAttacker constant bool (default true)
- useDamageDirection constant bool (default false)
- collisionMask constant int (default 0)
- moveType constant int (default move.Type.UNCHECKED)
- offsets
constant table
default:{}
- spell constant string (default "")
- attacker entityID (default 0)
- direction int (default 0)
- shieldFlyawayOnHit
-
- text constant localizedString (default 0)
- shieldKnockbackOnHit
-
- distance constant int (default 1)
- shieldOncePerFrame
-
- bypass bool (default false)
- shieldSetBeatDelay
-
- delay constant int (default 1)
- shieldSuppressHitSound
- shieldSuppressHitVoice