inferno8 / wesnoth-Era_of_Magic

add-on for Battle for Wesnoth
GNU General Public License v2.0
10 stars 4 forks source link

Animation error when a dimensional gate kills another dimensional gate #37

Closed Toranks closed 1 year ago

Toranks commented 1 year ago

https://user-images.githubusercontent.com/40789364/220008859-b9d4ec6e-6c7b-409c-a2db-0256437218e5.mp4

This has a easy fix. Simply doesn't allow one dimensional gate consume another:

[event]
    name=die
    id=eoma_soulcatcher_event3
    first_time_only=no
    [filter]
        [not]
            race=mechanical,undead
            [or]
                type=EoMa_Dimensional_Gate_II,EoMa_Dimensional_Gate
            [/or]
        [/not]
    [/filter]

Or if you prefer, one dimensional gate can be allowed to consume another without this error, I can find a way and send a joint PR proposal with #36