PTR Patch broke Workshop Max Health < 100%

I have a preset focusing around manipulating Max Health. Last night before the patch it worked perfectly. After the patch it’s a broken mess.

Even a simple code like

rule(“Rule 1”)
{
event
{
Ongoing - Each Player;
All;
All;
}

conditions
{
	Is In Spawn Room(Event Player) == False;
}

actions
{
	Set Max Health(Event Player, 50);
}

}

doesn’t work properly.

While ~IN~ the spawn room it will apply Set Max Health to 50%, then once the Event Player leaves the spawn room it’ll reduce their current HP to 50% of their new max HP as well.

It seems to be whenever you set Max Health below 100%. It first sets your Max Health to whatever % you set, but then it sets Normalised Health to that percentage of your new Max HP too.

Examples:
200 HP hero default

  • Set Max Health 90%. Max HP = 180, HP = 162
  • Set Max Health 50%. Max HP = 100, HP = 50
  • Set Max Health 10%. Max HP = 20, HP = 2

I tried this code again, but instead of leaving the Spawn Room to apply the Set Max Health, this time I had it trigger from pressing the Interact key. The same thing happened: the Set Max Health applied despite not meeting the condition, and then the Normalised HP kicked in once I pressed the Interact key.

I hope this gets fixed soon, so the code I spent days working on isn’t completely ruined.