Opened 8 years ago

Closed 8 years ago

#102 closed defect (fixed)

Shields have an attack button

Reported by: abma Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

in BA 7.72 & svn BAR, shields have an attack button... makes no sense, shields can't shot / attack.

Change History (2)

in reply to:  description comment:1 by Deadnight Warrior, 8 years ago

Technicaly, shields are weapons, and are fired as such, in AimWeaponX() you need to return 1 if shields is on, or 0 otherwise.

Though canAttack=true only means that a unit can get be issued an attack command, otherwise it'll still attack, only you can't control what it attacks. In case of shields this doesn't matter.

comment:2 by Bluestone, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in [822]

Note: See TracTickets for help on using tickets.