• 🏆 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!

Destroyer form payment bug

Status
Not open for further replies.
Level 2
Joined
Apr 24, 2015
Messages
19
I have an issue with a bug regarding the payment for an ability based on "Destroyer Form" (which transforms a unit at the cost of resources).
The spell costs 50 gold in my map, and works just fine if you have for example 200 gold and upgrade 1-4 units. BUT; if you upgrade more units than you can afford, at the same time, they will still all be upgraded. So if you have 200 gold but select 12 units and cast the spell on them all at the same time they will all be upgraded even though you only could afford 4 of them. Anyone who knows how to solve this issue? Is it possible to stop some of the units from casting the spell etc.?

I have searched the forums and couldn't find anyone with the same problem.

(EDIT: added a picture of the settings of the spell)
 

Attachments

  • Destroyer Form.PNG
    Destroyer Form.PNG
    52.4 KB · Views: 63
Last edited:
Level 11
Joined
Jun 2, 2004
Messages
849
I can't help you with the destroyer form ability, but if you want an alternative, building upgrades work fine on units. With the standard wold editor, you need to turn on the "is a building" flag on the unit to have the "Upgrades To" option shown (anything set there will be retained after turning off the building flag).
 
Status
Not open for further replies.
Top