LibDogTag-Unit-3.0

5 - Extend CanAttack to 2 args like UnitCanAttack

Request to change CanAttack to allow two arguments to pass. This is to allow checking if unit1 can attack unit2 of course.

Suggest default to player on 1 argument or require 2 at all times if necessary. Yes this is UnitCanAttack aliasing more than it was.

Use Case: CowTip's default threat line rewritten to check and only show threat when it's a sane case would require checking mouseover's ability to attack your target.
DogTag line would look like: http://ace.pastey.net/99993-23k3

User When Change
doom0r Oct 29, 2008 at 01:02 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Mar 30, 2012
Reported
Oct 29, 2008
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees