I have several towers which can be morphed from level 1 to level 2 to level 3 towers. I just now noticed that it's not deducting the correct amount from my resources when morphing. So for instance, one of my towers cost 600 to construct (this amount is deducted correctly), after this tower is done I have the ability to morph it into a more powerful level 2 version which cost 1200 minerals. The tooltip when highlighting the morph level 2 says "1200" minerals, YET when I click it it only deducts 600 minerals. The 3rd upgrade shows "1800 minerals" yet when I upgrade it, it only deducts 600 minerals. Here is what I've done:
I've set the cost of the towers (level 1, level 2, level 3) under "units" in the data editor for each specified tower. I thought to myself, "well there is a cost+ for the morph ability itself. so I zeroed out the price for level 2 and level 3 of the tower and put the 1200 and 1800 prices in the morph ability cost + field. This doesn't work either! It still only reduces minerals by 600 each upgrade even though it shows the proper amount in the tooltip.
I haven't tried this, but I notice, looking at the brood lord morph, that the cost of broodlord listed in unit:costs is the combined cost of the corruptor and the broodlord.
Maybe since you have 1200 for tower lvl 2 it's requiring 1200-(lvl 1 tower cost)=600 and for lvl 3, 1800-(lvl 2 tower cost)
I'm having a similar problem. This is the math so far:
Costs
Tower A Rank 1 = $15 to place.
Morph cost = $12 to upgrade to Rank 2.
Actually happening in game: Tower A = $15 to place, and -$3 to upgrade. yes, I get 3 minierals upgrading it.
So what I am seeing happening is the morph cost subtracted by the Placement cost = the actual cost.
12 - 15 = -3
However, from Rank 2 to Rank 3, Rank 3 to Rank 4 etc... the cost is correct. It removes the correct amount from my resources. However, the tooltip is always displaying -15 from the amount.
The cost is $75 from Rank 3 to Rank 4, The tooltip displayed the cost as $60 but the amount removed from my resources is $75.
The tooltip error is just for the consecutive morphs. The tooltip is correct for the actual amount being deducted/added to my resouces.
It's not just this tower, my other towers are effected like this as well.
Tower B cost = 5 to place
Upgrade to Rank 2 = $5
What is happening in game - Tooltip displays Upgrade to Rank 2 = $0 (no change in my resources)
Then each consecutive upgrade is -$5 in the tooltip, but correct amount being deducted.
It's just that first upgrade. I don't understand.
Ive double checked and rechecked costs in the morph ability. compared them with the other Ranks of upgrade morph abilities, I can't find the error. I've deleted the morph ability and recreated it, still the error.
Anyone have an idea?
Edit: I've tried increasing the cost of the first morph by the amount of the tower cost. This corrects the tooltip error and the cost of the first morph, but each consecutive morph is actually removing more resources by the amount I increased the first upgrade cost. Something fishy is going on here.
EDIT #2: I've solved the problem for me, hopefully is solves it for you. The Morph abiliy [STATS:FLAGS] field needs to have a check in "Ignore Unit Cost"
I have several towers which can be morphed from level 1 to level 2 to level 3 towers. I just now noticed that it's not deducting the correct amount from my resources when morphing. So for instance, one of my towers cost 600 to construct (this amount is deducted correctly), after this tower is done I have the ability to morph it into a more powerful level 2 version which cost 1200 minerals. The tooltip when highlighting the morph level 2 says "1200" minerals, YET when I click it it only deducts 600 minerals. The 3rd upgrade shows "1800 minerals" yet when I upgrade it, it only deducts 600 minerals. Here is what I've done:
I've set the cost of the towers (level 1, level 2, level 3) under "units" in the data editor for each specified tower. I thought to myself, "well there is a cost+ for the morph ability itself. so I zeroed out the price for level 2 and level 3 of the tower and put the 1200 and 1800 prices in the morph ability cost + field. This doesn't work either! It still only reduces minerals by 600 each upgrade even though it shows the proper amount in the tooltip.
How do I fix this?
@Etravex: Go
SOLUTION AT BOTTOM
I'm having a similar problem. This is the math so far:
Costs
Tower A Rank 1 = $15 to place.
Morph cost = $12 to upgrade to Rank 2.
Actually happening in game: Tower A = $15 to place, and -$3 to upgrade. yes, I get 3 minierals upgrading it.
So what I am seeing happening is the morph cost subtracted by the Placement cost = the actual cost. 12 - 15 = -3
However, from Rank 2 to Rank 3, Rank 3 to Rank 4 etc... the cost is correct. It removes the correct amount from my resources. However, the tooltip is always displaying -15 from the amount. The cost is $75 from Rank 3 to Rank 4, The tooltip displayed the cost as $60 but the amount removed from my resources is $75. The tooltip error is just for the consecutive morphs. The tooltip is correct for the actual amount being deducted/added to my resouces.
It's not just this tower, my other towers are effected like this as well.
Tower B cost = 5 to place
Upgrade to Rank 2 = $5
What is happening in game - Tooltip displays Upgrade to Rank 2 = $0 (no change in my resources) Then each consecutive upgrade is -$5 in the tooltip, but correct amount being deducted.
It's just that first upgrade. I don't understand.
Ive double checked and rechecked costs in the morph ability. compared them with the other Ranks of upgrade morph abilities, I can't find the error. I've deleted the morph ability and recreated it, still the error.
Anyone have an idea?
Edit: I've tried increasing the cost of the first morph by the amount of the tower cost. This corrects the tooltip error and the cost of the first morph, but each consecutive morph is actually removing more resources by the amount I increased the first upgrade cost. Something fishy is going on here.
EDIT #2: I've solved the problem for me, hopefully is solves it for you. The Morph abiliy [STATS:FLAGS] field needs to have a check in "Ignore Unit Cost"