Debian Codegraph @

techs/megapack/factions/egypt/units/priest/priest.xml

raw
1 <?xml version="1.0" standalone="no"?>
2
3 <unit>
4 <parameters>
5 <size value="1"/>
6 <height value="2"/>
7 <max-hp value="700" regeneration="1"/>
8 <max-ep value="500" regeneration="5"/>
9 <armor value="20"/>
10 <armor-type value="leather"/>
11 <sight value="10"/>
12 <time value="120"/>
13 <multi-selection value="true"/>
14 <cellmap value="false"/>
15 <levels>
16 <level name="elite" kills="3"/>
17 </levels>
18 <fields>
19 <field value="land"/>
20 </fields>
21 <properties/>
22 <light enabled="false"/>
23 <unit-requirements>
24 </unit-requirements>
25 <upgrade-requirements/>
26 <resource-requirements>
27 <resource name="gold" amount="200"/>
28 <resource name="wood" amount="90"/>
29 <resource name="food" amount="1"/>
30 </resource-requirements>
31 <resources-stored/>
32 <image path="images/priest.bmp"/>
33 <image-cancel path="../spearman/images/tech_cancel.bmp"/>
34 <meeting-point value="false"/>
35 <selection-sounds enabled="true">
36 <sound path="$COMMONDATAPATH/sounds/swordman_select1.wav"/>
37 <sound path="$COMMONDATAPATH/sounds/swordman_select2.wav"/>
38 <sound path="$COMMONDATAPATH/sounds/swordman_select3.wav"/>
39 <sound path="$COMMONDATAPATH/sounds/swordman_select4.wav"/>
40 <sound path="$COMMONDATAPATH/sounds/swordman_select5.wav"/>
41 <sound path="$COMMONDATAPATH/sounds/swordman_select6.wav"/>
42 <sound path="$COMMONDATAPATH/sounds/swordman_select7.wav"/>
43 </selection-sounds>
44 <command-sounds enabled="true">
45 <sound path="$COMMONDATAPATH/sounds/swordman_ack1.wav"/>
46 <sound path="$COMMONDATAPATH/sounds/swordman_ack2.wav"/>
47 <sound path="$COMMONDATAPATH/sounds/swordman_ack3.wav"/>
48 <sound path="$COMMONDATAPATH/sounds/swordman_ack4.wav"/>
49 <sound path="$COMMONDATAPATH/sounds/swordman_ack5.wav"/>
50 <sound path="$COMMONDATAPATH/sounds/swordman_ack6.wav"/>
51 </command-sounds>
52 </parameters>
53
54 <skills>
55
56 <skill>
57 <type value="stop"/>
58 <name value="stop_skill"/>
59 <ep-cost value="0"/>
60 <speed value="1000"/>
61 <anim-speed value="55"/>
62 <animation path="models/pharao_standing.g3d"/>
63 <sound enabled="false"/>
64 </skill>
65
66 <skill>
67 <type value="produce"/>
68 <name value="produce_skill"/>
69 <ep-cost value="0"/>
70 <speed value="150"/>
71 <anim-speed value="50"/>
72 <animation path="models/pharao_producing.g3d"/>
73 <sound enabled="true" start-time="0.3">
74 <sound-file path="$COMMONDATAPATH/sounds/summoner_summon1.wav"/>
75 <sound-file path="$COMMONDATAPATH/sounds/summoner_summon2.wav"/>
76 <sound-file path="$COMMONDATAPATH/sounds/summoner_summon3.wav"/>
77 <sound-file path="$COMMONDATAPATH/sounds/summoner_summon4.wav"/>
78 </sound>
79 </skill>
80
81 <skill>
82 <type value="move"/>
83 <name value="move_skill"/>
84 <ep-cost value="0"/>
85 <speed value="210"/>
86 <anim-speed value="120"/>
87 <animation path="models/pharao_walking.g3d"/>
88 <sound enabled="false"/>
89 </skill>
90
91 <skill>
92 <type value="attack"/>
93 <name value="attack_skill"/>
94 <ep-cost value="15"/>
95 <speed value="250"/>
96 <anim-speed value="250"/>
97 <animation path="models/pharao_attacking.g3d"/>
98 <sound enabled="true" start-time="0">
99 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack1.wav"/>
100 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack2.wav"/>
101 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack3.wav"/>
102 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack4.wav"/>
103 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack6.wav"/>
104 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack8.wav"/>
105 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack11.wav"/>
106 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack12.wav"/>
107 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack13.wav"/>
108 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack15.wav"/>
109 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack16.wav"/>
110 </sound>
111 <attack-strenght value="85"/>
112 <attack-var value="25"/>
113 <attack-range value="9"/>
114 <attack-type value="energy"/>
115 <attack-fields>
116 <field value="land"/>
117 <field value="air"/>
118 </attack-fields>
119 <attack-start-time value="0.5"/>
120 <projectile value="true">
121 <particle value="true" path="particle_proj.xml"/>
122 <sound enabled="true">
123 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit1.wav"/>
124 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit2.wav"/>
125 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit3.wav"/>
126 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit4.wav"/>
127 </sound>
128 </projectile>
129 <splash value="true">
130 <radius value="4"/>
131 <damage-all value="true"/>
132 <particle value="true" path="particle_splash.xml"/>
133 </splash>
134 </skill>
135
136 <skill>
137 <type value="repair"/>
138 <name value="heal"/>
139 <ep-cost value="0"/>
140 <speed value="210"/>
141 <anim-speed value="110"/>
142 <animation path="models/pharao_healing.g3d"/>
143 <sound enabled="true" start-time="0.5">
144 <sound-file path="$COMMONDATAPATH/sounds/shaman_heal1.wav"/>
145 </sound>
146 </skill>
147
148 <!--skill>
149 <type value="move"/>
150 <name value="charge_skill"/>
151 <ep-cost value="0"/>
152 <speed value="220"/>
153 <anim-speed value="125"/>
154 <animation path="models/spearman_charging.g3d"/>
155 <sound enabled="false"/>
156 </skill>
157
158 <skill>
159 <type value="morph"/>
160 <name value="morph_skill"/>
161 <ep-cost value="0"/>
162 <speed value="500"/>
163 <anim-speed value="80"/>
164 <animation path="models/spearman_standing.g3d"/>
165 <sound enabled="false"/>
166 </skill-->
167
168 <skill>
169 <type value="die"/>
170 <name value="die_skill"/>
171 <ep-cost value="0"/>
172 <speed value="90"/>
173 <anim-speed value="50"/>
174 <animation path="models/pharao_dying.g3d"/>
175 <sound enabled="true" start-time="0">
176 <sound-file path="$COMMONDATAPATH/sounds/technician_die1.wav"/>
177 <sound-file path="$COMMONDATAPATH/sounds/technician_die2.wav"/>
178 <sound-file path="$COMMONDATAPATH/sounds/technician_die3.wav"/>
179 <sound-file path="$COMMONDATAPATH/sounds/technician_die4.wav"/>
180 </sound>
181 <fade value="false"/>
182 </skill>
183
184 <skill>
185 <type value="upgrade"/>
186 <name value="upgrade_skill"/>
187 <ep-cost value="0" />
188 <speed value="300" />
189 <anim-speed value="40" />
190 <animation path="models/pharao_attacking.g3d"/>
191 <sound enabled="false" />
192 </skill>
193
194 </skills>
195
196 <commands>
197
198 <command>
199 <type value="stop"/>
200 <name value="stop"/>
201 <image path="../spearman/images/tech_stop.bmp"/>
202 <unit-requirements/>
203 <upgrade-requirements/>
204 <stop-skill value="stop_skill"/>
205 </command>
206
207 <command>
208 <type value="move"/>
209 <name value="move"/>
210 <image path="../spearman/images/tech_move.bmp"/>
211 <unit-requirements/>
212 <upgrade-requirements/>
213 <move-skill value="move_skill"/>
214 </command>
215
216 <command>
217 <type value="upgrade"/>
218 <name value="speedup_priest_production"/>
219 <image path="../../upgrades/speedup_priest_production/images/stables.bmp" />
220 <unit-requirements>
221 <unit name="temple" />
222 </unit-requirements>
223 <upgrade-requirements />
224 <upgrade-skill value="upgrade_skill"/>
225 <produced-upgrade name="speedup_priest_production"/>
226 </command>
227
228 <command>
229 <type value="repair"/>
230 <name value="heal"/>
231 <image path="images/heal.bmp"/>
232 <unit-requirements/>
233 <upgrade-requirements/>
234 <move-skill value="move_skill"/>
235 <repair-skill value="heal"/>
236 <repaired-units>
237 <unit name="mummy"/>
238 <unit name="anubis_warrior"/>
239 <unit name="chicken"/>
240 <unit name="priest"/>
241 <unit name="slave"/>
242 <unit name="snake"/>
243 <unit name="spearman"/>
244 <unit name="spearthrower"/>
245 <unit name="scarab"/>
246 </repaired-units>
247 </command>
248
249 <command>
250 <type value="produce"/>
251 <name value="produce_mummy" />
252 <image path="../mummy/images/daemon.bmp"/>
253 <unit-requirements/>
254 <upgrade-requirements/>
255 <produce-skill value="produce_skill"/>
256 <produced-unit name="mummy"/>
257 </command>
258
259 <command>
260 <type value="produce"/>
261 <name value="produce_anubis_warrior" />
262 <image path="../anubis_warrior/images/anubis.bmp"/>
263 <unit-requirements/>
264 <upgrade-requirements/>
265 <produce-skill value="produce_skill"/>
266 <produced-unit name="anubis_warrior"/>
267 </command>
268
269 <command>
270 <type value="attack"/>
271 <name value="ice_nova"/>
272 <image path="images/priest_attack.bmp"/>
273 <unit-requirements/>
274 <upgrade-requirements/>
275 <move-skill value="move_skill"/>
276 <attack-skill value="attack_skill"/>
277 </command>
278
279 <command>
280 <type value="attack_stopped"/>
281 <name value="hold_position"/>
282 <image path="../spearman/images/tech_hold.bmp"/>
283 <unit-requirements/>
284 <upgrade-requirements>
285 <!--upgrade name="training_field"/-->
286 </upgrade-requirements>
287 <stop-skill value="stop_skill"/>
288 <attack-skill value="attack_skill"/>
289 </command>
290
291 <!--command>
292 <type value="morph"/>
293 <name value="promote_to_guard"/>
294 <image path="../guard/images/guard.bmp"/>
295 <unit-requirements/>
296 <upgrade-requirements/>
297 <morph-skill value="morph_skill"/>
298 <morph-unit name= "guard"/>
299 <discount value="60"/>
300 </command-->
301
302 </commands>
303 </unit>