55 - Pets in the 3rd slot of a team do not copy abilities
What steps will reproduce the problem?
1.
Change a pet's abilities in the 3rd(right) slot of a team.
2.
Shift-Click and drag the pet to another team. Destination slot does not matter.
What is the expected output? What do you see instead?
The pet on the new team should copy the abilities from the source pet.
If the source pet came from 1st or 2nd slot then it copies the abilities but if it comes from the 3rd slot the new pet uses the default abilities.
What version of the product are you using?
r37
Please provide any additional information below.
Changing line 492 in TeamManager.lua from
if sourceTeamIndex and sourcePetIndex and sourcePetIndex < PETS_PER_TEAM then
to
if sourceTeamIndex and sourcePetIndex and sourcePetIndex <= PETS_PER_TEAM then
fixes the issue.
| User | When | Change |
|---|---|---|
| mancer5 | Jul 01, 2013 at 23:49 UTC | Create |