Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Game mode K-OREZ

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
7/23/2024 5:03:56 PMAUrankSmokeDragon before revert after revert
7/23/2024 4:51:31 PMAUrankSmokeDragon before revert after revert
7/23/2024 4:40:40 PMAUrankSmokeDragon before revert after revert
7/10/2024 8:11:24 PMAUrankSmokeDragon before revert after revert
7/1/2024 11:16:43 AMAUrankSmokeDragon before revert after revert
Before After
1 started work again on this: 1 started work again on this:
2 \n 2 \n
3 speed: 3 speed:
4 [spoiler] 4 [spoiler]
5 status:[color=green]working[/color] 5 status:[color=green]working[/color]
6 [spoiler] 6 [spoiler]
7 {{{ 7 {{{
8 local highestspeed = 0 8 local highestspeed = 0
9 local lowestspeed = math.huge 9 local lowestspeed = math.huge
10 local validUnitNames = { 10 local validUnitNames = {
11 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true, 11 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true,
12 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true, 12 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true,
13 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true, 13 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true,
14 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true, 14 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true,
15 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true, 15 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true,
16 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true, 16 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true,
17 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true, 17 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true,
18 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true, 18 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true,
19 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true, 19 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true,
20 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true, 20 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true,
21 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true, 21 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true,
22 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true, 22 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true,
23 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true, 23 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true,
24 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true, 24 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true,
25 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true, 25 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true,
26 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true, 26 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true,
27 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true, 27 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true,
28 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true, 28 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true,
29 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true, 29 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true,
30 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true, 30 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true,
31 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true, 31 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true,
32 } 32 }
33 \n 33 \n
34 for name, ud in pairs(UnitDefs) do 34 for name, ud in pairs(UnitDefs) do
35 if validUnitNames[ud.name] and ud.speed > 0 then 35 if validUnitNames[ud.name] and ud.speed > 0 then
36 if ud.speed > highestspeed then 36 if ud.speed > highestspeed then
37 highestspeed = ud.speed 37 highestspeed = ud.speed
38 end 38 end
39 if ud.speed < lowestspeed then 39 if ud.speed < lowestspeed then
40 lowestspeed = ud.speed 40 lowestspeed = ud.speed
41 end 41 end
42 end 42 end
43 end 43 end
44 \n 44 \n
45 for name, ud in pairs(UnitDefs) do 45 for name, ud in pairs(UnitDefs) do
46 if validUnitNames[ud.name] and ud.speed > 0 then 46 if validUnitNames[ud.name] and ud.speed > 0 then
47 local distance_speed_midpoint = ud.speed - lowestspeed 47 local distance_speed_midpoint = ud.speed - lowestspeed
48 ud.speed = highestspeed - distance_speed_midpoint 48 ud.speed = highestspeed - distance_speed_midpoint
49 end 49 end
50 end 50 end
51 }}} 51 }}}
52 [/spoiler] 52 [/spoiler]
53 [/spoiler] 53 [/spoiler]
54 health: 54 health:
55 [spoiler] 55 [spoiler]
56 status:[color=green]working[/color] 56 status:[color=green]working[/color]
57 [spoiler] 57 [spoiler]
58 {{{ 58 {{{
59 local highesthealth = 0 59 local highesthealth = 0
60 local lowesthealth = math.huge 60 local lowesthealth = math.huge
61 local validUnitNames = { 61 local validUnitNames = {
62 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true, 62 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true,
63 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true, 63 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true,
64 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true, 64 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true,
65 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true, 65 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true,
66 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true, 66 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true,
67 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true, 67 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true,
68 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true, 68 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true,
69 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true, 69 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true,
70 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true, 70 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true,
71 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true, 71 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true,
72 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true, 72 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true,
73 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true, 73 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true,
74 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true, 74 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true,
75 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true, 75 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true,
76 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true, 76 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true,
77 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true, 77 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true,
78 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true, 78 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true,
79 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true, 79 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true,
80 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true, 80 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true,
81 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true, 81 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true,
82 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true, 82 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true,
83 } 83 }
84 \n 84 \n
85 for name, ud in pairs(UnitDefs) do 85 for name, ud in pairs(UnitDefs) do
86 if validUnitNames[ud.name] and ud.health > 0 then 86 if validUnitNames[ud.name] and ud.health > 0 then
87 if ud.health > highesthealth then 87 if ud.health > highesthealth then
88 highesthealth = ud.health 88 highesthealth = ud.health
89 end 89 end
90 if ud.health < lowesthealth then 90 if ud.health < lowesthealth then
91 lowesthealth = ud.health 91 lowesthealth = ud.health
92 end 92 end
93 end 93 end
94 end 94 end
95 \n 95 \n
96 for name, ud in pairs(UnitDefs) do 96 for name, ud in pairs(UnitDefs) do
97 if validUnitNames[ud.name] and ud.health > 0 then 97 if validUnitNames[ud.name] and ud.health > 0 then
98 local distance_health_midpoint = ud.health - lowesthealth 98 local distance_health_midpoint = ud.health - lowesthealth
99 ud.health = highesthealth - distance_health_midpoint 99 ud.health = highesthealth - distance_health_midpoint
100 end 100 end
101 end 101 end
102 }}} 102 }}}
103 [/spoiler] 103 [/spoiler]
104 [/spoiler] 104 [/spoiler]
105 metalcost: 105 metalcost:
106 [spoiler] 106 [spoiler]
107 status:[color=green]working[/color] 107 status:[color=green]working[/color]
108 [spoiler] 108 [spoiler]
109 {{{ 109 {{{
110 local highestmetalcost = 0 110 local highestmetalcost = 0
111 local lowestmetalcost = math.huge 111 local lowestmetalcost = math.huge
112 local validUnitNames = { 112 local validUnitNames = {
113 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true, 113 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true,
114 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true, 114 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true,
115 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true, 115 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true,
116 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true, 116 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true,
117 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true, 117 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true,
118 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true, 118 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true,
119 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true, 119 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true,
120 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true, 120 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true,
121 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true, 121 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true,
122 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true, 122 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true,
123 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true, 123 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true,
124 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true, 124 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true,
125 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true, 125 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true,
126 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true, 126 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true,
127 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true, 127 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true,
128 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true, 128 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true,
129 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true, 129 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true,
130 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true, 130 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true,
131 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true, 131 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true,
132 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true, 132 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true,
133 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true, 133 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true,
134 } 134 }
135 \n 135 \n
136 for name, ud in pairs(UnitDefs) do 136 for name, ud in pairs(UnitDefs) do
137 if validUnitNames[ud.name] and ud.metalcost > 0 then 137 if validUnitNames[ud.name] and ud.metalcost > 0 then
138 if ud.metalcost > highestmetalcost then 138 if ud.metalcost > highestmetalcost then
139 highestmetalcost = ud.metalcost 139 highestmetalcost = ud.metalcost
140 end 140 end
141 if ud.metalcost < lowestmetalcost then 141 if ud.metalcost < lowestmetalcost then
142 lowestmetalcost = ud.metalcost 142 lowestmetalcost = ud.metalcost
143 end 143 end
144 end 144 end
145 end 145 end
146 \n 146 \n
147 for name, ud in pairs(UnitDefs) do 147 for name, ud in pairs(UnitDefs) do
148 if validUnitNames[ud.name] and ud.metalcost > 0 then 148 if validUnitNames[ud.name] and ud.metalcost > 0 then
149 local distance_metalcost_midpoint = ud.metalcost - lowestmetalcost 149 local distance_metalcost_midpoint = ud.metalcost - lowestmetalcost
150 ud.metalcost = highestmetalcost - distance_metalcost_midpoint 150 ud.metalcost = highestmetalcost - distance_metalcost_midpoint
151 end 151 end
152 end 152 end
153 }}} 153 }}}
154 [/spoiler] 154 [/spoiler]
155 [/spoiler] 155 [/spoiler]
156 range: 156 range:
157 [spoiler] 157 [spoiler]
158 status:[color=green]working[/color] 158 status:[color=green]working[/color]
159 [spoiler] 159 [spoiler]
160 {{{ 160 {{{
161 local highestrange = 0 161 local highestrange = 0
162 local lowestrange = math.huge 162 local lowestrange = math.huge
163 local validunitnames = { 163 local validunitnames = {
164 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true, 164 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true,
165 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true, 165 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true,
166 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true, 166 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true,
167 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true, 167 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true,
168 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true, 168 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true,
169 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true, 169 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true,
170 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true, 170 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true,
171 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true, 171 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true,
172 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true, 172 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true,
173 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true, 173 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true,
174 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true, 174 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true,
175 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true, 175 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true,
176 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true, 176 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true,
177 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true, 177 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true,
178 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true, 178 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true,
179 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true, 179 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true,
180 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true, 180 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true,
181 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true, 181 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true,
182 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true, 182 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true,
183 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true, 183 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true,
184 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true, 184 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true,
185 } 185 }
186 for name, ud in pairs(UnitDefs) do 186 for name, ud in pairs(UnitDefs) do
187 if validunitnames[ud.name] and ud.weapondefs then 187 if validunitnames[ud.name] and ud.weapondefs then
188 for _, wd in pairs(ud.weapondefs) do 188 for _, wd in pairs(ud.weapondefs) do
189 if wd.range then 189 if wd.range then
190 if wd.range > highestrange then 190 if wd.range > highestrange then
191 highestrange = wd.range 191 highestrange = wd.range
192 end 192 end
193 if wd.range < lowestrange then 193 if wd.range < lowestrange then
194 lowestrange = wd.range 194 lowestrange = wd.range
195 end 195 end
196 end 196 end
197 end 197 end
198 end 198 end
199 end 199 end
200 \n 200 \n
201 for name, ud in pairs(UnitDefs) do 201 for name, ud in pairs(UnitDefs) do
202 if validunitnames[ud.name] and ud.weapondefs then 202 if validunitnames[ud.name] and ud.weapondefs then
203 for _, wd in pairs(ud.weapondefs) do 203 for _, wd in pairs(ud.weapondefs) do
204 if wd.range then 204 if wd.range then
205 local distance_range_midpoint = wd.range - lowestrange 205 local distance_range_midpoint = wd.range - lowestrange
206 wd.range = (highestrange - distance_range_midpoint) + 100 206 wd.range = (highestrange - distance_range_midpoint) + 100
207 end 207 end
208 end 208 end
209 end 209 end
210 end 210 end
211 }}} 211 }}}
212 [/spoiler] 212 [/spoiler]
213 [/spoiler] 213 [/spoiler]
214 flight time: 214 flight time:
215 [spoiler] 215 [spoiler]
216 status:[color=green]working[/color] 216 status:[color=green]working[/color]
217 [spoiler] 217 [spoiler]
218 {{{ 218 {{{
219 local highestflighttime = 0 219 local highestflighttime = 0
220 local lowestflighttime = math.huge 220 local lowestflighttime = math.huge
221 local validunitnames = { 221 local validunitnames = {
222 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true, 222 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true,
223 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true, 223 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true,
224 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true, 224 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true,
225 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true, 225 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true,
226 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true, 226 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true,
227 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true, 227 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true,
228 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true, 228 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true,
229 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true, 229 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true,
230 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true, 230 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true,
231 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true, 231 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true,
232 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true, 232 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true,
233 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true, 233 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true,
234 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true, 234 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true,
235 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true, 235 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true,
236 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true, 236 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true,
237 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true, 237 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true,
238 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true, 238 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true,
239 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true, 239 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true,
240 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true, 240 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true,
241 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true, 241 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true,
242 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true, 242 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true,
243 } 243 }
244 for name, ud in pairs(UnitDefs) do 244 for name, ud in pairs(UnitDefs) do
245 if validunitnames[ud.name] and ud.weapondefs then 245 if validunitnames[ud.name] and ud.weapondefs then
246 for _, wd in pairs(ud.weapondefs) do 246 for _, wd in pairs(ud.weapondefs) do
247 if wd.flighttime then 247 if wd.flighttime then
248 if wd.flighttime > highestflighttime then 248 if wd.flighttime > highestflighttime then
249 highestflighttime = wd.flighttime 249 highestflighttime = wd.flighttime
250 end 250 end
251 if wd.flighttime < lowestflighttime then 251 if wd.flighttime < lowestflighttime then
252 lowestflighttime = wd.flighttime 252 lowestflighttime = wd.flighttime
253 end 253 end
254 end 254 end
255 end 255 end
256 end 256 end
257 end 257 end
258 \n 258 \n
259 for name, ud in pairs(UnitDefs) do 259 for name, ud in pairs(UnitDefs) do
260 if validunitnames[ud.name] and ud.weapondefs then 260 if validunitnames[ud.name] and ud.weapondefs then
261 for _, wd in pairs(ud.weapondefs) do 261 for _, wd in pairs(ud.weapondefs) do
262 if wd.flighttime then 262 if wd.flighttime then
263 local distance_flighttime_midpoint = wd.flighttime - lowestflighttime 263 local distance_flighttime_midpoint = wd.flighttime - lowestflighttime
264 wd.flighttime = (highestflighttime - distance_flighttime_midpoint) + 100 264 wd.flighttime = (highestflighttime - distance_flighttime_midpoint) + 100
265 end 265 end
266 end 266 end
267 end 267 end
268 end 268 end
269 }}} 269 }}}
270 [/spoiler] 270 [/spoiler]
271 [/spoiler] 271 [/spoiler]
272 damage: 272 damage:
273 [spoiler] 273 [spoiler]
274 status:[color=red]soon[/color] 274 status:[color=green]working[/color]
275 [spoiler] 275 [spoiler]
276 {{{ 276 {{{
277 \n
278 local validunitnames = {
279 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true,
280 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true,
281 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true,
282 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true,
283 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true,
284 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true,
285 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true,
286 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true,
287 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true,
288 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true,
289 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true,
290 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true,
291 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true,
292 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true,
293 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true,
294 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true,
295 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true,
296 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true,
297 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true,
298 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true,
299 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true,
300 }
301 \n
302 local highestdamagedefault = 0
303 local lowestdamagedefault = math.huge
304 \n
305 for name, ud in pairs(UnitDefs) do
306 if validunitnames[ud.name] and ud.weapondefs then
307 for _, wd in pairs(ud.weapondefs) do
308 if wd.damage and wd.damage.default then
309 if wd.damage.default > highestdamagedefault then
310 highestdamagedefault = wd.damage.default
311 end
312 if wd.damage.default < lowestdamagedefault then
313 lowestdamagedefault = wd.damage.default
314 end
315 end
316 end
317 end
318 end
319 \n
320 for name, ud in pairs(UnitDefs) do
321 if validunitnames[ud.name] and ud.weapondefs then
322 for _, wd in pairs(ud.weapondefs) do
323 if wd.damage and wd.damage.default then
324 local distance_damagedefault_midpoint = wd.damage.default - lowestdamagedefault
325 wd.damage.default = highestdamagedefault - distance_damagedefault_midpoint
326 end
327 end
328 end
329 end
330 \n
277 }}} 331 }}}
278 [/spoiler] 332 [/spoiler]
279 [/spoiler] 333 [/spoiler]
280 reload: 334 reload:
281 [spoiler] 335 [spoiler]
282 status:[color=green]working[/color] 336 status:[color=green]working[/color]
283 [spoiler] 337 [spoiler]
284 {{{ 338 {{{
285 local highestreloadtime = 0 339 local highestreloadtime = 0
286 local lowestreloadtime = math.huge 340 local lowestreloadtime = math.huge
287 local validunitnames = { 341 local validunitnames = {
288 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true, 342 ["Glaive"] = true, ["Ronin"] = true, ["Reaver"] = true, ["Knight"] = true,
289 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true, 343 ["Sling"] = true, ["Scythe"] = true, ["Phantom"] = true, ["Imp"] = true,
290 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true, 344 ["Bandit"] = true, ["Rogue"] = true, ["Outlaw"] = true, ["Thug"] = true,
291 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true, 345 ["Racketeer"] = true, ["Dirtbag"] = true, ["Felon"] = true, ["Snitch"] = true,
292 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true, 346 ["Scorcher"] = true, ["Fencer"] = true, ["Ripper"] = true, ["Ravager"] = true,
293 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true, 347 ["Badger"] = true, ["Dart"] = true, ["Impaler"] = true, ["Dominatrix"] = true,
294 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true, 348 ["Dagger"] = true, ["Scalpel"] = true, ["Mace"] = true, ["Halberd"] = true,
295 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true, 349 ["Lance"] = true, ["Bolas"] = true, ["Claymore"] = true, ["Locust"] = true,
296 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true, 350 ["Harpy"] = true, ["Blastwing"] = true, ["Revenant"] = true, ["Nimbus"] = true,
297 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true, 351 ["Gnat"] = true, ["Krow"] = true, ["Charon"] = true, ["Hercules"] = true,
298 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true, 352 ["Swift"] = true, ["Phoenix"] = true, ["Raven"] = true, ["Sparrow"] = true,
299 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true, 353 ["Likho"] = true, ["Thunderbird"] = true, ["Owl"] = true, ["Flea"] = true,
300 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true, 354 ["Recluse"] = true, ["Redback"] = true, ["Hermit"] = true, ["Venom"] = true,
301 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true, 355 ["Crab"] = true, ["Widow"] = true, ["Pyro"] = true, ["Moderator"] = true,
302 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true, 356 ["Placeholder"] = true, ["Jack"] = true, ["Firewalker"] = true, ["Puppy"] = true,
303 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true, 357 ["Jugglenaut"] = true, ["Skuttle"] = true, ["Blitz"] = true, ["Ogre"] = true,
304 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true, 358 ["Minotaur"] = true, ["Emissary"] = true, ["Kodachi"] = true, ["Cyclops"] = true,
305 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true, 359 ["Tremor"] = true, ["Duck"] = true, ["Buoy"] = true, ["Scallop"] = true,
306 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true, 360 ["Bulkhead"] = true, ["Lobster"] = true, ["Archer"] = true, ["Grizzly"] = true,
307 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true, 361 ["Limpet"] = true, ["Hunter"] = true, ["Mistral"] = true, ["Corsair"] = true,
308 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true, 362 ["Siren"] = true, ["Envoy"] = true, ["Cutter"] = true, ["Seawolf"] = true,
309 } 363 }
310 for name, ud in pairs(UnitDefs) do 364 for name, ud in pairs(UnitDefs) do
311 if validunitnames[ud.name] and ud.weapondefs then 365 if validunitnames[ud.name] and ud.weapondefs then
312 for _, wd in pairs(ud.weapondefs) do 366 for _, wd in pairs(ud.weapondefs) do
313 if wd.reloadtime then 367 if wd.reloadtime then
314 if wd.reloadtime > highestreloadtime then 368 if wd.reloadtime > highestreloadtime then
315 highestreloadtime = wd.reloadtime 369 highestreloadtime = wd.reloadtime
316 end 370 end
317 if wd.reloadtime < lowestreloadtime then 371 if wd.reloadtime < lowestreloadtime then
318 lowestreloadtime = wd.reloadtime 372 lowestreloadtime = wd.reloadtime
319 end 373 end
320 end 374 end
321 end 375 end
322 end 376 end
323 end 377 end
324 \n 378 \n
325 for name, ud in pairs(UnitDefs) do 379 for name, ud in pairs(UnitDefs) do
326 if validunitnames[ud.name] and ud.weapondefs then 380 if validunitnames[ud.name] and ud.weapondefs then
327 for _, wd in pairs(ud.weapondefs) do 381 for _, wd in pairs(ud.weapondefs) do
328 if wd.reloadtime then 382 if wd.reloadtime then
329 local distance_reloadtime_midpoint = wd.reloadtime - lowestreloadtime 383 local distance_reloadtime_midpoint = wd.reloadtime - lowestreloadtime
330 wd.reloadtime = (highestreloadtime - distance_reloadtime_midpoint) 384 wd.reloadtime = (highestreloadtime - distance_reloadtime_midpoint)
331 end 385 end
332 end 386 end
333 end 387 end
334 end 388 end
335 local highestrange = 0 389 local highestrange = 0
336 local lowestrange = math.huge 390 local lowestrange = math.huge
337 }}} 391 }}}
338 [/spoiler] 392 [/spoiler]
339 [/spoiler] 393 [/spoiler]