Mercurial > wow > mylilpony
comparison MyLilPony.lua @ 18:b7966675a105
Fixed a bug when automounting in AQ40
author | syzler |
---|---|
date | Sat, 16 Apr 2011 14:47:47 +0000 |
parents | 392cb2bd6e58 |
children | 2ae5f67e313a |
comparison
equal
deleted
inserted
replaced
17:392cb2bd6e58 | 18:b7966675a105 |
---|---|
74 | 74 |
75 local zone = GetRealZoneText(); | 75 local zone = GetRealZoneText(); |
76 | 76 |
77 -- player is in Temple of Ahn'Qiraj (AQ40) | 77 -- player is in Temple of Ahn'Qiraj (AQ40) |
78 if zone == "Ahn'Qiraj" then | 78 if zone == "Ahn'Qiraj" then |
79 if not IsModifierKeyDown() and MyLilPony.CallMountByRegex("Qiraji Battle Tank") then | 79 if not IsModifierKeyDown() and MyLilPony.CallMountByPattern("Qiraji Battle Tank") then |
80 return | 80 return; |
81 end | 81 end |
82 end | 82 end |
83 | 83 |
84 -- player is in Wintergrasp | 84 -- player is in Wintergrasp |
85 if zone == "Wintergrasp" then | 85 if zone == "Wintergrasp" then |