Description
Replaces the base damage value of a specific ability on a player with a custom amount for a set duration. Does not affect damage scaling from other Workshop modifiers. Reverts to the hero's default damage value when the duration expires or the override is cleared.
Snippet
Set Ability Damage Override(Event Player, Button(Primary Fire), 500, 5);
Properties
Returns: Void
Parameters: Player, Button, Damage, Duration
Player
Type: Player, Default: Event Player
The player whose ability damage will be overridden.Button
Type: Button, Default: Primary Fire
The ability slot whose damage output will be overridden.Damage
Type: Number, Default: 100
The flat damage value to assign to the ability.Duration
Type: Number, Default: 5
How long the override lasts, in seconds. Use 0 for an indefinite override.