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

                 Summary: Teleport ability not working properly when applied
by object
                 Project: Battle for Wesnoth
            Submitted by: coffee
            Submitted on: Mon 31 Oct 2011 09:10:52 AM GMT
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: WML
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.99+svn(51770)
        Operating System: Any

    _______________________________________________________

Details:

Teleport works fine when applied to unit as part of unit_type, however fails
to work properly when added to a unit via an object. The unit cannot teleport
to other flagged villages when on a village and can teleport to unflagged
villages when not originally sitting on a village (through unflagged
village).

Issue is probably with the new [tunnel] WML tag in abilities.cfg not loading
correct details on teleport_unit after the scenario has started.

Code to test would be like:
        [object]
        silent=yes
                duration=forever
                [filter]
                        x,y=$unit.x,$unit.y
                [/filter]
                [effect]
                        apply_to="new_ability"
                [abilities]
                 {ABILITY_TELEPORT}
                [/abilities]
                [/effect]
        [/object]




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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