summaryrefslogtreecommitdiff
path: root/plugins/manaboy.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/manaboy.py')
-rwxr-xr-xplugins/manaboy.py24
1 files changed, 1 insertions, 23 deletions
diff --git a/plugins/manaboy.py b/plugins/manaboy.py
index 76f81d3..f3a5b75 100755
--- a/plugins/manaboy.py
+++ b/plugins/manaboy.py
@@ -729,9 +729,8 @@ def cmd_attack(nick, message, is_whisper, match):
time.sleep(5)
mapserv.cmsg_player_emote(32)
else:
- mapserv.cmsg_chat_message(random.choice(attack_answers))
- time.sleep(1)
walkto.walkto_and_action(target, 'attack', mapserv.player_attack_range)
+ mapserv.cmsg_chat_message(random.choice(attack_answers))
time.sleep(5)
mapserv.cmsg_chat_message(random.choice(attack_answers))
else:
@@ -1158,26 +1157,6 @@ def manaboy_logic(ts):
# =========================================================================
-def emoteX(nick, message, is_whisper, match):
- if not is_whisper:
- return
- if nick in ignored_players:
- return
-
- if nick not in admins:
- return
- emote=1
- while(emote < 40):
- mapserv.cmsg_player_emote(emote)
- emote=emote+1
- commands.set_direction('', 'up')
- time.sleep(0.25)
- commands.set_direction('', 'right')
- time.sleep(0.25)
- commands.set_direction('', 'down')
- time.sleep(0.25)
- commands.set_direction('', 'left')
- time.sleep(0.25)
def spinner(nick, message, is_whisper, match):
if nick in ignored_players:
@@ -1206,7 +1185,6 @@ def spinner(nick, message, is_whisper, match):
manaboy_commands = {
- '!emotex' : emoteX,
'!spinner' : spinner,
'!where' : cmd_where,
'!goto (\d+) (\d+)' : cmd_goto,