• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Hero stat damage trigger

Status
Not open for further replies.
Level 2
Joined
Feb 1, 2012
Messages
16
Just a quick question, can't seem to find the answer elsewhere:

Can a hero's base stat be reduced below 1 in any way?

I have a hero that deals a powerful (and temporary) stat damage on enemy heroes (using the Hero - Modify stat trigger). However, this does not let me reduce the base stat below 1, which means if they have items, they have an effective minimum stat. (champions with int items will always have some mana left after being dropped a potential 70 int for example - therefore they will still be able to cast spells if they have an item of +10 int (easy to get)).
 
Level 2
Joined
Feb 1, 2012
Messages
16
Ok, it was a little confusing how you put it, but you're right.

The game seems to have a default minimum of 1 for every stat, but you can change this default by starting the hero with less then 1, achieved by shift+click to open the data field. Once you've set the default lower, the hero stat - set to trigger works, however it the hero stat - subtract trigger (and set to if you use Hero stat - set to (hero int - x) seems to only be able to reduce to 0, even with a large initial stat (like -100).

Oh well, looks like this problem is hard coded, thanks anyways.
 
Status
Not open for further replies.
Top