git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
22a2700
)
sc: egg and broodling as bw subunits
author
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 12 Jun 2015 17:42:44 +0000
(19:42 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 12 Jun 2015 17:42:44 +0000
(19:42 +0200)
sc-units.inc.pl
patch
|
blob
|
history
diff --git
a/sc-units.inc.pl
b/sc-units.inc.pl
index 87de9ec2f00e7b3a5005a06661c0cf856de3cd70..d2c3b01406ef2c584a3a8a784c347716eeb626e0 100644
(file)
--- a/
sc-units.inc.pl
+++ b/
sc-units.inc.pl
@@
-1252,25
+1252,25
@@
attack => {
},
sight => 4,
speed => 0.1, #XXX
},
sight => 4,
speed => 0.1, #XXX
-special => [
],
-},
-
-{
-cat => 'creep',
-
name => 'Egg
',
-trans => {
-
nl => 'ei'
,
-
}
,
-suit => 3,
-
race => 'zerg'
,
-
organic => 1
,
-hp => 200,
-
armor => 10
,
-attack => {
-
}
,
-
sight => 4
,
-
speed => 0
,
-
special => [
],
+special => [
+ {
+ name => 'transform',
+ alt => 'Egg',
+ trans => {
+
nl => 'ei
',
+ },
+
suit => 3
,
+
race => 'zerg'
,
+ organic => undef, # unchanged from parent
+
hp => 200
,
+
armor => 10
,
+ attack => {
+
}
,
+ sight => 4,
+
speed => 0
,
+
special => []
,
+
}
,
+],
},
{
},
{
@@
-1458,37
+1458,29
@@
special => [
duration => undef,
},
{
duration => undef,
},
{
- name => 'Broodling',
+ name => '
Spawn
Broodling',
abbr => 'sb',
desc => 'spawn one inside an enemy unit killing it',
range => 9,
cost => 75-60,
abbr => 'sb',
desc => 'spawn one inside an enemy unit killing it',
range => 9,
cost => 75-60,
- },
-],
-},
-{
-cat => 'lair',
-name => 'Broodling',
-min => 0,
-gas => 0,
-build => 0,
-suit => 1,
-unit => 0,
-race => 'zerg',
-organic => 1,
-hp => 30,
-armor => 0,
-attack => {
- ground => {
- damage => [4, 5, 6, 7],
- dps => [8, 10, 12, 14],
+ alt => 'Broodling',
+ suit => 1,
+ unit => undef,
+ organic => undef,
+ hp => 30,
+ armor => 0,
+ attack => {
+ ground => {
+ damage => [4, 5, 6, 7],
+ dps => [8, 10, 12, 14],
+ },
+ range => 1,
+ },
+ sight => 5,
+ speed => 19,
},
},
- range => 1,
-},
-sight => 5,
-speed => 19,
-special => [],
+],
},
{
},
{