URL:
  <http://gna.org/bugs/?12077>

                 Summary: Fog and sighted events not properly updated for
slowed units
                 Project: Battle for Wesnoth
            Submitted by: None
            Submitted on: Wednesday 07/23/2008 at 19:59 CEST
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.5.2
        Operating System: Gentoo Linux

    _______________________________________________________

Details:

The "slow" status effect decreases how far a unit can move, and thus
decreases how far it can see. This currently isn't caught by (at least) two
other parts of the code:

1 - when you click on an enemy unit to move-and-attack, the game doesn't
update fog until after the attack is over, at which point your attacking unit
might be slowed, thus _never_ giving the player the opportunity to see what
the unit would have seen by simply moving first. (Heck, what if it _dies_ in
the combat?) This could be solved by making the unit actually do a real move
with full fog-updating before doing the attack.

2 - [event]s with name=sighted currently catch almost all situations where
one unit comes into view of another side, but they don't catch it when a
unit's sight expands as it loses the "slow" effect at the end of its turn.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?12077>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to