• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[General] Individual upgrade on attack 1 and 2

Level 15
Joined
Sep 11, 2013
Messages
557
Greetings!

I have many units with attack 1 (ground, etc) and attack 2 (air only).
1741939474811.png


I wonder if there is a way when I use an upgrade for all those units/buildings to increase the attack 1 (ground, etc) with 10 damage/upgrade and at the same time attack 2 (air only) must be increased only with half of the value 5 damage/same upgrade.:peasant-confused:

The help will be appreciated!
 
Make two separate upgrades for each attack (you can differentiate their damage increase value from here).
Use trigger to detect when the player upgrades, then upgrade the other one through trigger.
I think something like this should work:
  • Events
    • Unit - A unit Finishes research
  • Conditions
    • (Researched tech-type) Equal to Upgrade for Attack 1
  • Actions
    • Player - Set the current research level of Upgrade for Attack 2 to (Current research level of Upgrade for Attack 1 for (Triggering player)) for (Triggering player)
 
Back
Top