Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Axis & Allies 1942 Online is now available in Early Access! Buy it on Steam. The FAQ is available.
New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

[(BGEE, BG2) bug] Range of skull trap

CamDawgCamDawg Member, Developer Posts: 3,394
edited August 2012 in Fixed
Skull Trap has range of 20 yards (effectively visual range, 30') per its descript but was using 55' (at level 5) or 15' (other levels):
// skull trap has incorrect range
COPY_EXISTING ~spwi313.spl~ ~override~
READ_LONG 0x64 "abil_off"
READ_SHORT 0x68 "abil_num"
WHILE ("%abil_num%" > 0) BEGIN
SET "abil_num" = ("%abil_num%" - 1)
WRITE_SHORT ("%abil_off%" + 0x0e + (0x28 * "%abil_num%")) 30 // range
END
BUT_ONLY_IF_IT_CHANGES

Post edited by Bhryaen on

Comments

Sign In or Register to comment.