Script CastComponents
Components
Components
- castAfterMoves
-
- spell constant string (default "")
- remainingMoves int (default 1)
- castOnAttack
-
- spell constant string (default "")
- castOnAttackerPosition constant bool (default false)
- castOnAttackResult
-
- results
constant table
default:{ [action.Result.ATTACK] = true }
- spell constant string (default "")
- results
- castOnBeatCounter
-
- spell constant string (default "")
- beat constant int (default 1)
- castOnCollision
-
- spell constant string (default "")
- castOnDeath
-
- spell constant string (default "")
- bypassFlags constant int (default 0)
- castOnDeathDelayed
-
- spell constant string (default "")
- bypassFlags constant int (default 0)
- castOnGrab
-
- spell constant string (default "")
- castOnHit
-
- spell constant string (default "")
- castOnAttackerPosition constant bool (default false)
- rotation constant int (default action.Rotation.IDENTITY)
- castOnHitDelayed
-
- spell constant string (default "")
- castOnLethalHit
-
- spell constant string (default "")
- castOnAttackerPosition constant bool (default false)
- rotation constant int (default action.Rotation.IDENTITY)
- castOnMove
-
- spell constant string (default "")
- castOnMoveResult
-
- results
constant table
default:{ [action.Result.MOVE] = true }
- spell constant string (default "")
- results
- castOnProvoke
-
- spell constant string (default "")
- castOnAttackerPosition constant bool (default false)
- rotation constant int (default action.Rotation.IDENTITY)
- castOnShieldHit
-
- spell constant string (default "")
- castOnAttackerPosition constant bool (default false)
- rotation constant int (default action.Rotation.IDENTITY)
- castOnSpawn
-
- spell constant string (default "")
- castWithDelay
-
- spell string (default "")
- remainingTurns int (default 0)
- vacantCooldown int For both vacantCooldown and occupiedCooldown:-1 (default) means ignore this condition entirely0 means don’t cast while this condition is met, but don’t go on cooldown either> 0 means don’t cast for that many turns after the condition is met (default -1)
- occupiedCooldown int (default -1)
- frameCheck constant bool (default true)
- goolemCastOnHit
-
- spell constant string (default "")
- itemCastOnAttack
-
- spell constant string (default "")
- itemCastOnUse
-
- spell constant string (default "")
- direction constant int (default 0)
- spawnWallsOnHit
-
- spell constant string (default "")
- active bool (default true)
- weaponCastOnAttack
-
- spell constant string (default "")