Follow-up Comment #3, bug #19225 (project wesnoth):

testcode was:
++
        [event]
                name=object
                first_time_only=no
                [capture_village]
                        side=1
                [/capture_village]
                [unit]
                        id=object
                        x=38
                        y=5
                        side=1
                        type=Troll
                        random_traits=no
                        hitpoints=2
                [/unit]
                {VARIABLE var 1}
                [object]
                        silent=yes
                        delayed_variable_substitution=yes
                        [filter]
                                id=object
                        [/filter]
                        [effect]
                                apply_to=new_ability
                                [abilities]
                                        {ABILITY_TELEPORT}
                                [/abilities]
                        [/effect]
                        [effect]
                                apply_to=movement
                                increase=$var
                        [/effect]
                        [effect]
                                apply_to=hitpoints
                                increase_total=10
                                heal_full=no
                                [filter]
                                        level=$this_unit.hitpoints
                                [/filter]
                        [/effect]
                [/object]
        [/event]

--

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to