shooting arrows <> shooting fireballs

Where bugs go to lie down and rest

Moderator: Moderator

Message
Author
yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: shooting arrows <> shooting fireballs

#16 Post by yufra »

I've been looking at the code a bit more, and the issue seems to be that at least Shoot and Steady Shot do not use the params.one_shot flag that would allow any tile to be picked (what we want). I think this should probably be the default behavior and not even require a flag to be set and passed in, and then have the other behavior flagged only if params.limit_shots or params.multishot are set.

Code: Select all

if params.limit_shots or params.multishots then
    -- The stuff currently in the "else" block
else
    -- The stuff currently in the "if params.one_shot" block
end
<DarkGod> lets say it's intended

Post Reply