FeenixServerProject / Archangel_2.4.3_Bugtracker

This is the official Issue tracker for the Archangel 2.4.3 realm https://www.wow-one.com
78 stars 74 forks source link

[Core][Creatures] Ranged creatures switching between range and melee #2587

Open Anelith opened 11 years ago

Anelith commented 11 years ago

Current situation: Ranged creatures are currently having improper behavior. 1) Upon getting out of "LoS" the ranged creature is no longer using only ranged attacks. 2) Upon getting away from melee range the ranged creature is no longer using only ranged attacks.

Expected results: 1) Once the player and the ranged creature are in "LoS" after a pull, the ranged creature should only use ranged attacks if the player is far from the minimal distance for ranged attacks. (should pretty much works in the same way as stated here https://github.com/FeenixServerProject/Archangel_2.4.3_Bugtracker/issues/2586) 2) If the player is far from the minimal distance for ranged attacks the mob should only use ranged attacks.

Steps to reproduce: Create Undead Priest: .levelup 69 .learn 589 (Shadow Word: Pain) .learn 10308 (Hammer of Justice) .mod hp 1000000 .npc add 17270 Bleeding Hollow Archer .t arena

Use .npc add 17270 to add Bleeding Hollow Archer: 1) Use Shadow Word: Pain to aggro the mob and observe his behavior when you move out of "LoS". 2) To get out of melee range use Hammer of Justice and ran away from the NPC so he can begin to use his ranged attacks again. In both cases once the creature cancel his ranged attacks he will no longer use only ranged attacks but the mob will be also running towards the player.

The ranged NPCs are properly behaving only at the initial pull before the player is too far/close or out of "LoS".

programuotojasgf commented 11 years ago

Fixed by my other fixes. Retest on the PTR, if it's still broken, retest in 2 weeks. If still broken, contact me