okay so i'm 100% sure this is something stupid but to me this stupid thing is hard to find.
I have an upgrade ability that cost 20 minerals but for some reason it's showing up at -105 minerals when i run the game.
In StarCraft II costs are usually relative. Example: Upgrading a unit that costs 50 minerals to a unit that costs 70 minerals would cost you the difference, not the total. So upgrading this example unit would cost 20 minerals. Similarly, if the unit initially costed 150 minerals and the upgrade unit costed 45 minerals, then the upgrade cost would be -105 minerals, because it charges you the difference.
My guess is (though I may be wrong), that you are upgrading a unit to another unit and its cost is lower than the initial unit.
I figured something like that would be the issue.. and I changed the values but nothing adds up properly or subtracts properly. I can even put the values to 0 and it will give me -105. I don't get why it would work like that,
Are you checking the costs on the Units as well as the cost of the Morph Ability? There's also a flag "ignore unit cost" which you could try for testing purposes.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
okay so i'm 100% sure this is something stupid but to me this stupid thing is hard to find. I have an upgrade ability that cost 20 minerals but for some reason it's showing up at -105 minerals when i run the game.
help
In StarCraft II costs are usually relative. Example: Upgrading a unit that costs 50 minerals to a unit that costs 70 minerals would cost you the difference, not the total. So upgrading this example unit would cost 20 minerals. Similarly, if the unit initially costed 150 minerals and the upgrade unit costed 45 minerals, then the upgrade cost would be -105 minerals, because it charges you the difference.
My guess is (though I may be wrong), that you are upgrading a unit to another unit and its cost is lower than the initial unit.
@Hoernchy: Go
I figured something like that would be the issue.. and I changed the values but nothing adds up properly or subtracts properly. I can even put the values to 0 and it will give me -105. I don't get why it would work like that,
Are you checking the costs on the Units as well as the cost of the Morph Ability? There's also a flag "ignore unit cost" which you could try for testing purposes.