The set maximum shields is bugged, it's not changing the maximum shields, it changes the maximum life instead.
For example, you have 50 shield and 100 life in the unit, you set maximum shields of that unit with triggers to 70, then the unit will have 50 shield and 120 life. If you set it to 35 for example, the unit will have 50 shields and 85 life.
Its doing the calculation right, it knows how much it has to increase the shield to get it to the max I told it to, but its increasing that in the life instead of the shield.
Event
Unit is Attacked
Condition
Attacking unit type = zealot
action
Unit set (attacking unit) maximum shields to (((attacking unit) Maximum shield (current)) + 1)
This trigger adds to the units maximum life rather than its shields but other similar triggers (for movement speed, and life) work fine.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
The set maximum shields is bugged, it's not changing the maximum shields, it changes the maximum life instead.
For example, you have 50 shield and 100 life in the unit, you set maximum shields of that unit with triggers to 70, then the unit will have 50 shield and 120 life. If you set it to 35 for example, the unit will have 50 shields and 85 life.
Its doing the calculation right, it knows how much it has to increase the shield to get it to the max I told it to, but its increasing that in the life instead of the shield.
haha I was just about to post this.
Event Unit is Attacked Condition Attacking unit type = zealot action Unit set (attacking unit) maximum shields to (((attacking unit) Maximum shield (current)) + 1)
This trigger adds to the units maximum life rather than its shields but other similar triggers (for movement speed, and life) work fine.