Follow-up Comment #1, patch #1758 (project wesnoth):

btw I used this wml code for testing

        [event]
                name=start
                [unit]
                        side=1
                        x=20
                        y=20
                        type=Test
                [/unit]
                [unit]
                        side=2
                        x=21
                        y=21
                        type=Test
                [/unit]
                [unit]
                        side=1
                        x=21
                        y=20
                        type=Cuttle Fish
                        hitpoints=1
                [/unit]
                [unit]
                        side=2
                        x=22
                        y=20
                        type=Cuttle Fish
                        hitpoints=1
                [/unit]
                [unit]
                        side=1
                        x=22
                        y=20
                        type=Troll
                [/unit]
                [unit]
                        side=2
                        x=23
                        y=20
                        type=Mage
                [/unit]
        [/event]

        [event]
                name=attack
                first_time_only=no
                {DEBUG_MSG "attack"}
        [/event]
        [event]
                name=attack_end
                first_time_only=no
                {DEBUG_MSG "attack_end"}
                {DEBUG_MSG $unit.id}
                {DEBUG_MSG $second_unit.id}
        [/event]


[unit_type]
        id=Test
        name=_ "Test"
        race=mechanical
        image="misc/blank-hex.png"
        hitpoints=50
        movement=4
        level=0
        alignment=neutral
        advances_to=null
        cost=1
        ellipse="misc/blank"
        usage=null
        hide_help=yes
        do_not_list=yes
        description=_"This unit is for testing purposes."
        
        [attack]
                name=fist
                description= _ ""
                type=impact
                range=melee
                damage=9
                number=0
        [/attack]
[/unit_type]


    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1758>

_______________________________________________
  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