Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Pets with three or more attack types different than their pet type.
- local count = 0
- for _,abilityID in ipairs(abilityList) do
- local abilityType,noHints = select(7, C_PetBattles.GetAbilityInfoByID(abilityID) )
- if not noHints and abilityType~=petType then
- count = count + 1
- end
- end
- return count>=3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement