Description
Copies a specific ability from one player and grants it to another player as a temporary replacement for one of their own ability slots. The receiving player uses the cloned ability with their own stats unless overridden. The original player retains their ability unaffected.
Snippet
Clone Player Ability(Event Player, Attacker, Button(Ability 1), Button(Ability 2), 10);
Properties
Returns: Void
Parameters: Receiver, Source, Source Button, Target Button, Duration
Receiver
Type: Player, Default: Event Player
The player who will temporarily receive the cloned ability.Source
Type: Player, Default: Event Player
The player whose ability will be cloned.Source Button
Type: Button, Default: Ability 1
The ability slot on the source player to clone from.Target Button
Type: Button, Default: Ability 1
The ability slot on the receiver that the cloned ability will occupy.Duration
Type: Number, Default: 5
How long the cloned ability remains available, in seconds. Use 0 for an indefinite duration.