Can you Change Health pool type like white, blue, yellow?

I was just wondering if this is an option for tinkerers to play with on the workshop.

If not it would be an amazing addition, and would be grateful to the devs if they implemented the available scripts for all health types

Uhm do you mean, like normal health? (white), armor? (yellow), and shields? (blue)

if you do, then yes it’s possible, theres actions for that, just type the word “Healthpool” and you’ll see the following actions

2 Likes

I tried to give rein 100 armor and it doesn’t show up on his health.

Would you give us a code snippet or the actual workshop code of your game mode, so we can over look it and help you out even better? Also on which server do you Play Retail or PTR?

Dqjdm

I’m on retail.

Im not sure how rules with no conditions work, but I’m pretty sure your script just instantly runs when the game starts and tries to add the health to existing rein players.

Try changing the rule from “Ongoing - Global” to “Ongoing - Each player” and add a single condition: “Has spawned: Event player”

Yea I figured it out just a min ago but thx. It doesn’t need any condition to work.

Now is there a way to reduce health types? Can I just do add negative health?

No you can’t, adding negative health or any pool type will be set back to 0 internally in the corresponding function, you can Set Player Health in between the lowest health Value a Hero/Player can have and their Max HP. Removing hard-wired Health Types directly by any value isn’t possible yet. We can only add Health Pools and Remove that specific Health Pool, Set the health as mentioned, and increase or decrease the Max Health, the hard-wired Health types will procedurally and propotionally change with any Max Health configuration you make, so be aware.

Edit: A for me weird way is you can Set Player Health to 1 and fill the remaining amount to Max Health with any Health Pool you want, e.g. for Reinhardt you would give him 1 Base/Normal/Hard-wired Health and the other 499 left could be an additional Pool of Amor.

2 Likes

That may work. I’m trying to give him 200 health 300 armor without reducing his barrier health.

1 Like