Debian Codegraph @

techs/megapack/factions/persian/units/magician/magician.xml

raw
1 <?xml version="1.0" standalone="no"?>
2
3 <unit>
4 <parameters>
5 <size value="1"/>
6 <height value="3"/>
7 <max-hp value="900" regeneration="3"/>
8 <max-ep value="0"/>
9 <armor value="20"/>
10 <armor-type value="leather"/>
11 <sight value="15"/>
12 <time value="60"/>
13 <multi-selection value="true"/>
14 <cellmap value="false"/>
15 <levels>
16 <level name="elite" kills="5"/>
17 </levels>
18 <fields>
19 <field value="land"/>
20 <field value="air"/>
21 </fields>
22 <properties/>
23 <light enabled="false"/>
24 <unit-requirements>
25 <unit name="tent"/>
26 </unit-requirements>
27 <upgrade-requirements>
28 <upgrade name="magic_level_1"/>
29 </upgrade-requirements>
30 <resource-requirements>
31 <resource name="gold" amount="200"/>
32 <resource name="wood" amount="100"/>
33 <resource name="stone" amount="100"/>
34 <resource name="food" amount="1"/>
35 </resource-requirements>
36 <resources-stored/>
37 <image path="images/magician.bmp"/>
38 <image-cancel path="../genie/images/tech_cancel.bmp"/>
39 <meeting-point value="false"/>
40 <selection-sounds enabled="true">
41 <sound path="sounds/select1.wav"/>
42 <sound path="sounds/select2.wav"/>
43 <sound path="sounds/select3.wav"/>
44 <sound path="sounds/select4.wav"/>
45 <sound path="sounds/select5.wav"/>
46 </selection-sounds>
47 <command-sounds enabled="true">
48 <sound path="sounds/ack1.wav"/>
49 <sound path="sounds/ack2.wav"/>
50 <sound path="sounds/ack3.wav"/>
51 <sound path="sounds/ack4.wav"/>
52 <sound path="sounds/ack5.wav"/>
53 </command-sounds>
54 </parameters>
55
56 <skills>
57
58 <skill>
59 <type value="stop"/>
60 <name value="stop_skill"/>
61 <ep-cost value="0"/>
62 <speed value="1000"/>
63 <anim-speed value="45"/>
64 <animation path="models/magician_ambient.g3d"/>
65 <sound enabled="false"/>
66 </skill>
67
68 <skill>
69 <type value="move"/>
70 <name value="move_skill"/>
71 <ep-cost value="0"/>
72 <speed value="220"/>
73 <anim-speed value="85"/>
74 <animation path="models/magician_walking.g3d"/>
75 <sound enabled="false"/>
76 </skill>
77
78 <skill>
79 <type value="move"/>
80 <name value="charge_skill"/>
81 <ep-cost value="0"/>
82 <speed value="250"/>
83 <anim-speed value="90"/>
84 <animation path="models/magician_walking.g3d"/>
85 <sound enabled="false"/>
86 </skill>
87
88 <skill>
89 <type value="repair"/>
90 <name value="heal"/>
91 <ep-cost value="0"/>
92 <speed value="210"/>
93 <anim-speed value="50"/>
94 <animation path="models/magician_healing.g3d"/>
95 <sound enabled="true" start-time="0.5">
96 <sound-file path="$COMMONDATAPATH/sounds/shaman_heal1.wav"/>
97 </sound>
98 </skill>
99
100 <skill>
101 <type value="repair"/>
102 <name value="repair_skill"/>
103 <ep-cost value="0"/>
104 <speed value="210"/>
105 <anim-speed value="50"/>
106 <animation path="models/magician_building.g3d"/>
107 <sound enabled="false" start-time="0">
108 <sound-file path="sounds/shaman_build1.wav"/>
109 <sound-file path="sounds/shaman_build2.wav"/>
110 <sound-file path="sounds/shaman_build3.wav"/>
111 <sound-file path="sounds/shaman_build4.wav"/>
112 <sound-file path="sounds/shaman_build5.wav"/>
113 <sound-file path="sounds/shaman_build6.wav"/>
114 </sound>
115
116 </skill>
117
118 <skill>
119 <type value="build"/>
120 <name value="build_skill"/>
121 <ep-cost value="0"/>
122 <speed value="180"/>
123 <anim-speed value="50"/>
124 <animation path="models/magician_building.g3d"/>
125 <sound enabled="false" start-time="0">
126 <sound-file path="sounds/shaman_build1.wav"/>
127 <sound-file path="sounds/shaman_build2.wav"/>
128 <sound-file path="sounds/shaman_build3.wav"/>
129 <sound-file path="sounds/shaman_build4.wav"/>
130 <sound-file path="sounds/shaman_build5.wav"/>
131 <sound-file path="sounds/shaman_build6.wav"/>
132 </sound>
133 </skill>
134
135 <skill>
136 <type value="attack"/>
137 <name value="attack_skill"/>
138 <ep-cost value="0"/>
139 <speed value="50"/>
140 <anim-speed value="50"/>
141 <animation path="models/magician_attacking.g3d"/>
142 <sound enabled="true" start-time="0.0">
143 <sound-file path="/sounds/throw2.wav"/>
144 </sound>
145 <attack-strenght value="150"/>
146 <attack-var value="70"/>
147 <attack-range value="10"/>
148 <attack-type value="energy"/>
149 <attack-start-time value="0.67"/>
150 <attack-fields>
151 <field value="land"/>
152 <field value="air"/>
153 </attack-fields>
154 <projectile value="true">
155 <particle value="true" path="particle_proj.xml"/>
156 <sound enabled="true">
157 <sound-file path="/sounds/hit.wav"/>
158 </sound>
159 </projectile>
160 <splash value="true">
161 <radius value="0"/>
162 <damage-all value="true"/>
163 <particle value="true" path="particle_splash.xml"/>
164 </splash>
165 </skill>
166 <skill>
167 <type value="die"/>
168 <name value="die_skill"/>
169 <ep-cost value="0"/>
170 <speed value="60"/>
171 <anim-speed value="60"/>
172 <animation path="models/magician_dying.g3d"/>
173 <sound enabled="true" start-time="0">
174 <sound-file path="sounds/die1.wav"/>
175 <sound-file path="sounds/die2.wav"/>
176 <sound-file path="sounds/die3.wav"/>
177 <sound-file path="sounds/die4.wav"/>
178 </sound>
179 <fade value="false"/>
180 </skill>
181
182 </skills>
183
184 <!-- *** commands *** -->
185
186 <commands>
187
188 <command>
189 <type value= "stop"/>
190 <name value="stop"/>
191 <image path="../genie/images/tech_stop.bmp"/>
192 <unit-requirements/>
193 <upgrade-requirements/>
194 <stop-skill value="stop_skill"/>
195 </command>
196
197 <command>
198 <type value="move"/>
199 <name value="move"/>
200 <image path="../genie/images/tech_move.bmp"/>
201 <unit-requirements/>
202 <upgrade-requirements/>
203 <move-skill value="move_skill"/>
204 </command>
205
206 <command>
207 <type value="attack"/>
208 <name value="attack"/>
209 <image path="images/fire.bmp"/>
210 <unit-requirements/>
211 <upgrade-requirements>
212 </upgrade-requirements>
213 <move-skill value="charge_skill"/>
214 <attack-skill value="attack_skill"/>
215 </command>
216
217 <command>
218 <type value="repair"/>
219 <name value="repair"/>
220 <image path="../worker/images/worker_repair.bmp"/>
221 <unit-requirements/>
222 <upgrade-requirements/>
223 <move-skill value="move_skill"/>
224 <repair-skill value="repair_skill"/>
225 <repaired-units>
226 <!--unit name="catapult"/-->
227 <unit name="snake_basket"/>
228 <!--unit name="air_ballista"/>
229 <unit name="aerodrome"/-->
230 </repaired-units>
231 </command>
232
233 <command>
234 <type value= "build"/>
235 <name value="build_snake_basket"/>
236 <image path="../worker/images/worker_build_basic.bmp"/>
237 <unit-requirements/>
238 <upgrade-requirements/>
239 <move-skill value="move_skill"/>
240 <build-skill value="build_skill"/>
241 <buildings>
242 <building name="snake_basket"/>
243 </buildings>
244 <start-sound enabled="false"/>
245 <built-sound enabled="true">
246 <sound-file path="$COMMONDATAPATH/sounds/worker_work_end1.wav"/>
247 </built-sound>
248 </command>
249
250 <command>
251 <type value="repair"/>
252 <name value="heal"/>
253 <image path="images/heal.bmp"/>
254 <unit-requirements/>
255 <upgrade-requirements/>
256 <move-skill value="move_skill"/>
257 <repair-skill value="heal"/>
258 <repaired-units>
259 <unit name="worker"/>
260 <unit name="magician"/>
261 <unit name="stickfighter"/>
262 <unit name="genie"/>
263 <unit name="princess"/>
264 <unit name="swordman"/>
265 <unit name="flying_carpet"/>
266 <unit name="sheep"/>
267 <unit name="elephant"/>
268 <unit name="fakir"/>
269 </repaired-units>
270 </command>
271
272 <command>
273 <type value="attack_stopped"/>
274 <name value="hold_position"/>
275 <image path="../genie/images/tech_hold.bmp"/>
276 <unit-requirements/>
277 <upgrade-requirements>
278 </upgrade-requirements>
279 <stop-skill value="stop_skill"/>
280 <attack-skill value="attack_skill"/>
281 </command>
282
283 </commands>
284 </unit>