comparison libMyLilPony/libMyLilPony_mountData.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 557e3ae881ce
children 64e8f8e5fa41
comparison
equal deleted inserted replaced
47:bd6cb476e312 48:83e9649a6606
149 function MyLilPony.IsAhnQirajMount(spellId) 149 function MyLilPony.IsAhnQirajMount(spellId)
150 local entry = MyLilPony_Mounts[spellId]; 150 local entry = MyLilPony_Mounts[spellId];
151 return entry ~= nil and string.match(entry, "Q"); 151 return entry ~= nil and string.match(entry, "Q");
152 end 152 end
153 153
154 --- Checks whether or not the specified spell ID is a Vash'jir mount. 154 --- Checks whether or not the specified spell ID is a Vashj'ir mount.
155 -- @param spellId The spell ID of the mount to be checked. 155 -- @param spellId The spell ID of the mount to be checked.
156 -- @return A Boolean value indicating whether or not the specified spell is a Vash'jir mount. 156 -- @return A Boolean value indicating whether or not the specified spell is a Vashj'ir mount.
157 function MyLilPony.IsVashjirMount(spellId) 157 function MyLilPony.IsVashjirMount(spellId)
158 local entry = MyLilPony_Mounts[spellId]; 158 local entry = MyLilPony_Mounts[spellId];
159 return entry ~= nil and string.match(entry, "V"); 159 return entry ~= nil and string.match(entry, "V");
160 end 160 end