[Ohrrpgce] [Bug 5] "First Target" attacks can hit targets besides the first.
bugzilla-daemon at cyberverse.com
bugzilla-daemon at cyberverse.com
Wed May 25 09:23:46 PDT 2005
http://HamsterRepublic.com/bugzilla/show_bug.cgi?id=5
------- Additional Comments From Bob at HamsterRepublic.com 2005-05-25 09:23 -------
the "First Target" targeting type is not missing entirely, there is some code
there, but it is such a horrible mess, I am going to have to re-write it just to
make sense of it :(
(from bmod.bas)
...
'first target
IF ran = 2 THEN
IF firstt(you) = 0 THEN
WHILE tmask(tptr) = 0
tptr = loopvar(tptr, 0, 11, 1)
WEND
ELSE
tptr = firstt(you) - 1
END IF
GOSUB gottarg
RETURN
END IF
IF spred = 2 AND (carray(2) > 1 OR carray(3) > 1) THEN
FOR i = 0 TO 11
targ(i) = 0
NEXT i
spred = 1
flusharray carray(), 7, 0
END IF
IF aim = 1 AND spred < 2 THEN
IF carray(0) > 1 THEN
smartarrows tptr, -1, y(), targ(), tmask(), 0
END IF
IF carray(1) > 1 THEN
smartarrows tptr, 1, y(), targ(), tmask(), 0
END IF
IF carray(2) > 1 THEN
smartarrows tptr, -1, x(), targ(), tmask(), spred
END IF
IF carray(3) > 1 THEN
smartarrows tptr, 1, x(), targ(), tmask(), spred
END IF
END IF
IF carray(4) > 1 THEN GOSUB gottarg
RETURN
--
Configure bugmail: http://HamsterRepublic.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ohrrpgce
mailing list