• 0

    posted a message on Patch 5.0 breaks validator used in switch effect [Solved]

    SC2 Patch 5.0 introduced bugs to many Arcade maps.

    I was able to identify and fix one of those for my map. I thought it's worth sharing it's details with other map makers.

     

    My problem was that Switch effect no longer worked correctly, breaking many features in my map.

     

    It turns out that Blizzard changed the way Switch works.

     

    Before patch 5.0 only validators used in cases mattered in deciding Switch's effect execution.

    After patch 5.0, besides case validators, internal validators of the case's effect can make Switch move on to the next case.

     

    I am attaching an image of how the problem looked in my case.

    After patch 5.0 my switch always executed the last case because previous cases failed due to their effect's validators not passing.

    Once I knew what's going on, fixing it was easy. I made "wrapper" Set effects with no validators and used them directly in Switch.

    Posted in: Galaxy Editor Bugs and Feedback
  • To post a comment, please or register a new account.