Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
58 stars 47 forks source link

attacker.target work only if the NPC is casting spells #1098

Closed GladieUO closed 1 year ago

GladieUO commented 1 year ago

image attacker.target should return the best target that the NPC is fighting with. But right now, if the NPC isnt casting magic, the target will always be -1. It used to work on older X versions.

drk84 commented 1 year ago

can't reproduce

drk84 commented 1 year ago

oh for NPC not for player

GladieUO commented 1 year ago

oh for NPC not for player

Yup, NPCs

drk84 commented 1 year ago

fix sent

GladieUO commented 1 year ago

Good, thanks!