Mercurial > wow > mylilpony
comparison MyLilPony.lua @ 48:83e9649a6606 1.1.7
Fixed Abyssal Seahorse mounting in certain subzones of Vashj'ir
author | syzler |
---|---|
date | Thu, 20 Sep 2012 01:28:44 -0400 |
parents | af32bee5a3d1 |
children | 22011265a16f |
comparison
equal
deleted
inserted
replaced
47:bd6cb476e312 | 48:83e9649a6606 |
---|---|
88 if wintergraspInProgress and MyLilPony.CallGroundMount() then | 88 if wintergraspInProgress and MyLilPony.CallGroundMount() then |
89 return; | 89 return; |
90 end | 90 end |
91 end | 91 end |
92 | 92 |
93 -- player is swimming in Vash'jir | 93 -- player is swimming in Vashj'ir |
94 if IsSwimming() and (zone == "Shimmering Expanse" or zone == "Kelp'thar Forest" or zone == "Abyssal Depths") then | 94 if IsSwimming() and (zone == "Shimmering Expanse" or zone == "Kelp'thar Forest" or zone == "Abyssal Depths" or zone == "Ruins of Vashj'ir" or zone == "Beth'mora Ridge" or zone == "The Undershell") then |
95 -- normal behaviour in Vash'jir is to call the Abyssal Seahorse | 95 -- normal behaviour in Vashj'ir is to call the Abyssal Seahorse |
96 -- modified behaviour is to attempt flight (i.e. you're at the surface) | 96 -- modified behaviour is to attempt flight (i.e. you're at the surface) |
97 if not IsModifierKeyDown() and MyLilPony.CallMountByName("Abyssal Seahorse") then | 97 if not IsModifierKeyDown() and MyLilPony.CallMountByName("Abyssal Seahorse") then |
98 return; | 98 return; |
99 elseif MyLilPony.CanFlyHere() and MyLilPony.CallFlyingMount() then | 99 elseif MyLilPony.CanFlyHere() and MyLilPony.CallFlyingMount() then |
100 return; | 100 return; |