Kayoss666
Member
- Reaction score
- 7
Code:
[wc3]
WindmillDungeonCreeps
Events
Conditions
Actions
Wait 0.10 seconds
Unit Group - Pick every unit in (Units in WindmillDungeon1stStage <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A Hero) Equal to True
Then - Actions
Unit Group - Add (Picked unit) to DungeonHeroUnits
Else - Actions
Player Group - Pick every player in (All players matching ((WindmillDungeon1stStage <gen> contains PlayerUnit[(Player number of (Matching player))]) Equal to True)) and do (Actions)
Loop - Actions
Player Group - Add (Picked player) to DungeonHeroes
Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9633.00, 13816.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9431.00, 13900.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9031.00, 14200.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8985.00, 14000.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-9101.00, 13900.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8297.00, 13950.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8322.00, 13672.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8447.00, 13634.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8623.00, 14701.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8558.00, 14705.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Bruiser for Neutral Hostile at ((Center of (Playable map area)) offset by (-8473.00, 14703.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-8396.00, 14705.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-8329.00, 14701.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7900.00, 15050.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Bruiser for Neutral Hostile at ((Center of (Playable map area)) offset by (-7761.00, 15267.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7825.00, 15451.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7510.00, 13663.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-7489.00, 13964.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Brawler for Neutral Hostile at ((Center of (Playable map area)) offset by (-7391.00, 13762.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Warrior for Neutral Hostile at ((Center of (Playable map area)) offset by (-7276.00, 13929.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Archer for Neutral Hostile at ((Center of (Playable map area)) offset by (-7255.00, 13683.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Wait 0.10 seconds
Set DCreep_Count = 0
[/wc3]
Code:
[wc3]
WindmillDungeonCreeps2
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Goblin Brawler
Actions
Unit Group - Pick every unit in DungeonCreeps and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit Group - Remove (Picked unit) from DungeonCreeps
Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 13186.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 12971.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-9345.00, 12745.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-8524.00, 13000.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-8524.00, 12800.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-7517.00, 12758.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Goblin Juggernaut for Neutral Hostile at ((Center of (Playable map area)) offset by (-7517.00, 13003.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Unit - Create 1 Nazrook Geargrind for Neutral Hostile at ((Center of (Playable map area)) offset by (-7406.00, 12907.00)) facing Default building facing degrees
Unit Group - Add (Last created unit) to DungeonCreeps
Wait 0.10 seconds
Set DCreep_Count = 0
Unit Group - Pick every unit in DungeonHeroUnits and do (Unit - Move (Picked unit) instantly to (Random point in WindmillDungeonBossEntry <gen>))
[/wc3]
Code:
[wc3]
DungeonCreepRevive
Events
Unit - A unit enters Dungeon1Entry <gen>
Conditions
Actions
Wait 0.02 seconds
Unit Group - Pick every unit in DungeonCreeps and do (Actions)
Loop - Actions
Set DCreep_Count = (DCreep_Count + 1)
Set DCreep_Start_Position[DCreep_Count] = (Position of (Picked unit))
Unit - Set the custom value of (Picked unit) to DCreep_Count
[/wc3]
Code:
[wc3]
ReviveDCreeps
Events
Unit - A unit Dies
Conditions
((Dying unit) is in DungeonCreeps) Equal to True
Actions
Wait (Random real number between 25.00 and 30.00) seconds
Unit - Create 1 (Unit-type of (Dying unit)) for Neutral Hostile at DCreep_Start_Position[(Custom value of (Dying unit))] facing (Random angle) degrees
Unit - Set the custom value of (Last created unit) to (Custom value of (Dying unit))
Unit Group - Add (Last created unit) to DungeonCreeps
[/wc3]
it some-what works if you take the wait down to 5 seconds and set dcreep count to 700.