When a pet ability was cast, PetHandler reset all CharmInfo flags before calling PetAI methods, setting the attack flag to true every time. This commands the pet to go and chase the target which is not correct when the state is COMMAND_STAY. PetAI already handles the scenario, it just wasn't getting the actual pet attack state. |
||
|---|---|---|
| .. | ||
| cmake | ||
| common | ||
| genrev | ||
| server | ||
| test | ||
| tools | ||
| CMakeLists.txt | ||