• 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.

[Spell] SPELL: Mimic unit problem not working as expected

Status
Not open for further replies.
Heey everyone, I made a unit that is supposed to be able to transform into a targeted friend or enemy unit.

The unit has 2 abilities: 1 for friend and 1 for enemy units.

The problem here is that when I use it on a unit, it does transform, but it charges 350 gold and no lumber, ignoring the checks.
Then, if the player doesn't have 350 gold, it does it for free.

I can't see what's wrong here

  • Shade Copy
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to Copy Enemy
          • (Ability being cast) Equal to Copy Friend
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Footman
              • (Unit-type of (Target unit of ability being cast)) Equal to Footman (Cookhouse-ed)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 135
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 0
            • Then - Actions
              • Unit - Replace (Casting unit) with a Footman using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 135)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 0)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Captain
              • (Unit-type of (Target unit of ability being cast)) Equal to Captain (Cookhouse-ed)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 300
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 50
            • Then - Actions
              • Unit - Replace (Casting unit) with a Captain using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 300)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 50)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Knight
              • (Unit-type of (Target unit of ability being cast)) Equal to Knight (Cookhouse-ed)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 245
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 60
            • Then - Actions
              • Unit - Replace (Casting unit) with a Knight using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 245)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 60)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Rifleman
              • (Unit-type of (Target unit of ability being cast)) Equal to Rifleman (Cookhouse-ed)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 205
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 30
            • Then - Actions
              • Unit - Replace (Casting unit) with a Rifleman using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 205)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 30)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Mortar Team
              • (Unit-type of (Target unit of ability being cast)) Equal to Mortar Team (Cookhouse-ed)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 180
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 70
            • Then - Actions
              • Unit - Replace (Casting unit) with a Mortar Team using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 180)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 70)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Priest
              • (Unit-type of (Target unit of ability being cast)) Equal to Priest (Cookhouse-ed)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 135
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 10
            • Then - Actions
              • Unit - Replace (Casting unit) with a Priest using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 135)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 10)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Sorceress
              • (Unit-type of (Target unit of ability being cast)) Equal to Sorceress (Cookhouse-ed)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 155
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 20
            • Then - Actions
              • Unit - Replace (Casting unit) with a Sorceress using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 155)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 20)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Sorceress (Ethereal)
              • (Unit-type of (Target unit of ability being cast)) Equal to Sorceress (Ethereal) (Cookhouse-ed)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 155
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 20
            • Then - Actions
              • Unit - Replace (Casting unit) with a Sorceress using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 155)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 20)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Gryphon
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 100
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 20
            • Then - Actions
              • Unit - Replace (Casting unit) with a Gryphon using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 100)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 20)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Assassin
              • (Unit-type of (Target unit of ability being cast)) Equal to Assassin (Cookhouse-ed)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 195
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 20
            • Then - Actions
              • Unit - Replace (Casting unit) with a Assassin using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 195)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 20)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Shadow Priest (Used)
              • (Unit-type of (Target unit of ability being cast)) Equal to Shadow Priest (Used)(Cookhouse-ed)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 135
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 10
            • Then - Actions
              • Unit - Replace (Casting unit) with a Shadow Priest (Used) using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 135)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 10)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Shaman (Dwarrf)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 180
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 50
            • Then - Actions
              • Unit - Replace (Casting unit) with a Shaman (Dwarrf) using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 180)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 50)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Peasant
              • (Unit-type of (Target unit of ability being cast)) Equal to Engineer
              • (Unit-type of (Target unit of ability being cast)) Equal to Ghost (Upgraded)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 75
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 0
            • Then - Actions
              • Unit - Replace (Casting unit) with a (Unit-type of (Target unit of ability being cast)) using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 75)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 0)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Target unit of ability being cast)) Equal to Spell Breaker
              • (Unit-type of (Target unit of ability being cast)) Equal to Spell Breaker (Cookhouse-ed)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 215
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 30
            • Then - Actions
              • Unit - Replace (Casting unit) with a Spell Breaker using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 215)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 30)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Dragonhawk Rider
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 200
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 30
            • Then - Actions
              • Unit - Replace (Casting unit) with a (Unit-type of (Target unit of ability being cast)) using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 200)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 30)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Gryphon Rider
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 280
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 70
            • Then - Actions
              • Unit - Replace (Casting unit) with a (Unit-type of (Target unit of ability being cast)) using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 280)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 70)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Horror
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 200
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 40
            • Then - Actions
              • Unit - Replace (Casting unit) with a (Unit-type of (Target unit of ability being cast)) using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 200)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 40)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Terror (2)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 400
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 80
            • Then - Actions
              • Unit - Replace (Casting unit) with a (Unit-type of (Target unit of ability being cast)) using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 400)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 80)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Target unit of ability being cast)) Equal to Nightmare (3)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 600
                  • ((Owner of (Triggering unit)) Current lumber) Greater than or equal to 120
            • Then - Actions
              • Unit - Replace (Casting unit) with a (Unit-type of (Target unit of ability being cast)) using The new unit's default life and mana
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 600)
              • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 120)
              • Special Effect - Create a special effect attached to the origin of (Last replaced unit) using Abilities\Spells\Other\Levelup\Levelupcaster.mdx
              • Special Effect - Destroy (Last created special effect)
              • Skip remaining actions
            • Else - Actions
        • Else - Actions
 
Level 8
Joined
Jan 28, 2016
Messages
486
I don't know if this will complete solve your issue but it should help.

You're setting the gold for the player twice instead of the gold and the lumber.

  • Temp Trigger
    • Events
    • Conditions
    • Actions
      • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 135)
      • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current lumber) - 0)
 
Status
Not open for further replies.
Top