SetActorBlockRules
Sets what a player’s block costs an actor.
rules is a table: perfectStagger - seconds an actor staggers after a player’s perfect block (or master strike) of its
swing, 1.5 by default; blockStagger - after a plain block, 0 (none) by default. 0 .. 5 each; a key left out keeps
the server’s own, nil puts both back. A staggered actor loses its next swing and its guard (StaggerActor).
Syntax
Section titled “Syntax”SetActorBlockRules(rules)| Parameter | Type | |
|---|---|---|
rules |
table | {perfectStagger = seconds, blockStagger = seconds}; nil = the server’s own |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”SetActorBlockRules({perfectStagger = 2, blockStagger = 0.5}) -- every block buys the player a momentSee also
Section titled “See also”GetActorBlockRules · StaggerActor · OnActorBlocked · the NPC actors group of the index
