Loop Taunt
cmd.do_looptaunt is an experimental command to semi-automate taunting with Scroll of Enrage.
There are two “strategies” to loop taunt:
- Simple mode
This taunts by tracking the presence of the Focus aura on the target. When the aura fades, the next player in the cycle taunts.
- Msg mode
This taunts by tracking the yellow message. When the message is received, the next player in the cycle taunts.
Both modes taunt in round-robin fashion.
Simple mode
Section titled “Simple mode”cmd.is_player_number(1);cmd.do_looptaunt([ 'target1', 1, 2,]); /* taunt as first player, out of 2 players */cmd.is_player_number(2);cmd.do_looptaunt(['target1', 2, 2]);cmd.kill('target1');player1 will manually taunt target1 to start the loop cycle. When the Focus aura fades, player2 will automatically taunt target1.
The cycle repeats until the target is dead.
Msg mode
Section titled “Msg mode”cmd.is_player_number(1)cmd.goto_label('t1')cmd.is_player_number(2)cmd.goto_label('t2')
cmd.label('t1')cmd.do_looptaunt(['target1', 1, 2, 'behold our starfire']) /* taunt as first player, out of 2 players, when the message "behold our starfire" is received */cmd.kill('target1')cmd.goto_label('dead')
cmd.label('t2')cmd.do_looptaunt(['target1', 2, 2, 'behold our starfire'])cmd.kill('target1')cmd.goto_label('dead')
cmd.label('dead')cmd.log('dead')player1 will automatically taunt target1 to start the loop cycle when the message “behold our starfire” is received. player2 will taunt on the next occurrence of the message.
The cycle repeats until the target is dead.
Remarks
Section titled “Remarks”- Indicies are 1-based, so the first player is
1, the second player is2, etc. - The target can be specified by name or monMapId format.
- Multiple strategies can be ran sequentially. When the first strategy ends, the next strategy will start when its target is attacked.
- You are expected to call
cmd.kill(or whatever) aftercmd.do_looptauntsince it is merely a background task over auras.