Mercurial > wow > mylilpony
comparison MyLilPony.lua @ 53:e15807a7d9b5
Fixed Vashj'ir smart mount (Abyssal Seahorse was renamed)
| author | syzler |
|---|---|
| date | Sat, 07 Mar 2015 14:16:50 -0500 |
| parents | 22011265a16f |
| children |
comparison
equal
deleted
inserted
replaced
| 52:64e8f8e5fa41 | 53:e15807a7d9b5 |
|---|---|
| 1 -- Copyright (c) 2011, Syzler | 1 -- Copyright (c) 2015, Syzler |
| 2 -- All rights reserved. | 2 -- All rights reserved. |
| 3 -- | 3 -- |
| 4 -- Redistribution and use in source and binary forms, with or without | 4 -- Redistribution and use in source and binary forms, with or without |
| 5 -- modification, are permitted provided that the following conditions | 5 -- modification, are permitted provided that the following conditions |
| 6 -- are met: | 6 -- are met: |
| 92 | 92 |
| 93 -- player is swimming in Vashj'ir | 93 -- player is swimming in Vashj'ir |
| 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 | 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 Vashj'ir 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.CallMountBySpell(75207) 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; |
| 101 elseif MyLilPony.CallAquaticMount() then | 101 elseif MyLilPony.CallAquaticMount() then |
| 102 return; | 102 return; |
