- Joined
- Jun 20, 2017
- Messages
- 959
There are not that many abilities besides pillage, and transmute that enable the player to acquire gold
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I believe it might leak which is not a good thing.use this
Code:Set StructuresInt = (Number of living Footman units owned by Player 1 (Red))
G Bonus

Events


Time - Every 10.00 seconds of game time

Conditions

Actions


Player - Set Player 1 (Red) Current gold to ((Player 1 (Red) Current gold) + (100 x (Number of living Alchemy Crystal units owned by Player 1 (Red))))
so putting
Custom script: set bj_wantDestroyGroup = true
will destroy the next
unit group only if its
just used to count units for somethng
Unit Group - Remove all units from (Last created unit group)
No because the group still exists(it have no units within it but it still exists)Im talking about the
does this prevent the leak also?
Unit Group - Remove all units from (Last created unit group)
Untitled Trigger 1

Events

Conditions

Actions


Custom script: set bj_wantDestroyGroup = true


Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Footman) and do (Actions)



Loop - Actions




Unit - Change color of (Picked unit) to Green




Unit - Order (Picked unit) to Move To (Center of (Playable map area))




Wait 2.00 seconds




Unit - Order (Picked unit) to Move To (Center of (Region1))
Sorry I was replying to another person.Ok will this work though ?
Untitled Trigger 1
Events
Conditions
Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Footman) and do (Actions)
Loop - Actions
Unit - Change color of (Picked unit) to Green
Unit - Order (Picked unit) to Move To (Center of (Playable map area))
Wait 2.00 seconds
Unit - Order (Picked unit) to Move To (Center of (Region1))
Capture

Events


Unit - A unit comes within 350.00 of Sky-Fury Tower 0183 <gen>

Conditions


And - All (Conditions) are true



Conditions




(Owner of (Entering unit)) Equal to Player 1 (Red)




((Unit-type of (Entering unit)) is A Hero) Equal to True

Actions


Special Effect - Create a special effect attached to the overhead of Sky-Fury Tower 0183 <gen> using Abilities\Spells\Other\Charm\CharmTarget.mdl


Special Effect - Destroy (Last created special effect)


Wait 0.50 game-time seconds


Unit - Change ownership of Sky-Fury Tower 0183 <gen> to Player 1 (Red) and Change color
+
+
+
+
+
Gold

Events


Time - Every 10.00 seconds of game time

Conditions

Actions


Custom script: set bj_wantDestroyGroup = true


Player - Set Player 1 (Red) Current gold to ((Player 1 (Red) Current gold) + (50 x (Number of units in (Units owned by Player 1 (Red) matching (((Unit-type of (Matching unit)) Equal to Sky-Fury Tower) and (((Matching unit) is alive) Equal to True))))))
To clarify, you mean an ability that when clicked gives you gold depending on your total enemy kill counter?
It allows a person to turtle, but I don't like having the player need to capture other mines either, it basically forces the player to try to wipe the enemy pi yet asap and when this goes wrong he has to restart
I personally used the lumber economy method, there are also other things but I just don't have the time to write about them
