Mercurial > wow > mylilpony
changeset 53:e15807a7d9b5
Fixed Vashj'ir smart mount (Abyssal Seahorse was renamed)
author | syzler |
---|---|
date | Sat, 07 Mar 2015 14:16:50 -0500 |
parents | 64e8f8e5fa41 |
children | a0dc3460a334 |
files | MyLilPony.lua readme.txt |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MyLilPony.lua Sat Mar 07 14:15:17 2015 -0500 +++ b/MyLilPony.lua Sat Mar 07 14:16:50 2015 -0500 @@ -1,4 +1,4 @@ --- Copyright (c) 2011, Syzler +-- Copyright (c) 2015, Syzler -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without @@ -94,7 +94,7 @@ 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 -- normal behaviour in Vashj'ir is to call the Abyssal Seahorse -- modified behaviour is to attempt flight (i.e. you're at the surface) - if not IsModifierKeyDown() and MyLilPony.CallMountByName("Abyssal Seahorse") then + if not IsModifierKeyDown() and MyLilPony.CallMountBySpell(75207) then return; elseif MyLilPony.CanFlyHere() and MyLilPony.CallFlyingMount() then return;