calref / cboe

Classic Blades of Exile
http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/
Other
169 stars 41 forks source link

Firing arrows change skin on some occasions #202

Closed jeremeriluoto closed 4 years ago

jeremeriluoto commented 4 years ago

On some encounters when firing missiles the missile skin is dark line with yellow head. On same encounter the skin can change to dark line with poisonous green head, although poison was not applied or used.

clort81 commented 4 years ago

greenarrow

Confirmed on my linux build.

I noticed after starting a fresh game with default party and firing an arrow gave me correct arrow bitmap. Perhaps this is related to party load/save? I attach a savefile from which i got the bug.

clortsave01.zip Save is also here, temporarily http://0x0.st/znoi.zip

clort81 commented 4 years ago

I noticed that arrows bought in (another?) store displayed the correct arrow graphic.

CelticMinstrel commented 4 years ago

We discussed this on IRC, and I believe the issue is simply that starter arrows don't specify the correct missile graphic.

(To clarify, "starter arrows" are the arrows given to a new character under certain conditions, which are hard-coded.)

CelticMinstrel commented 4 years ago

So, looking at the code (line 170 of item.cpp), it seems that my guess was wrong? It is correctly setting the missile graphic for the starter items.

So, new theory. Given that you mention it doesn't happen on a fresh party, it could be a matter of not storing the missile graphic in the saved game.