Jump to content

Pets should chase even out of LoS


Guest letmein

Recommended Posts

Heya,

I played some duels on my mage and noticed if my target moves out of line of sight, i.e behind a pillar. My pet wont attack if i want him too.

I looked in the code what happends if i press attack with pet

if(!pet->IsWithinLOSInMap(TargetUnit))
return;

If target is out of los, it should chase instead of do nothing.

I tryed to comment out these lines and it did work, now my elementel chases my target even if hes out of los.

Will this create any trouble for me? that function wasn't played there without reason or?

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use