File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 1010{
1111 setvar IS_MAGIC_HAND 1
1212
13- const ANIM_LIFT1 7 //0
13+ const ANIM_LIFT1 7 //0
1414 const ANIM_PREPARE 9 //2
1515 const ANIM_PREPARE_FAIL 10 //3
1616 const ANIM_PREPARE_IDLE 11 //4
169169//---------------------------
170170
171171{ game_prepare_success
172-
172+
173173 callevent 1.43 prepare_success_anim
174174 callevent SPELL_PREPARE_TIME prepare_success_done
175175}
176176
177177{ prepare_success_anim
178-
179178 playviewanim ANIM_PREPARE
180179}
181180
189188}
190189
191190//---------------------------
192-
193-
194191{ cast_start
195192
196193 if ( ANIM_CAST isnot 'ANIM_CAST' ) playviewanim ANIM_CAST
197- playowneranim critical PLAYERANIM_PREPARE squatwalk1
194+ playowneranim critical PLAYERANIM_PREPARE squatwalk1
198195 svplaysound game.sound.item game.sound.maxvol SOUND_CHARGE
199196}
200197
201198{ cast_strike //If melee
202-
199+
203200 callevent spell_casted PARAM1 PARAM2 PARAM3
204201}
205202
206- { cast_toss //If ranged
203+ { cast_toss //If ranged
207204
208205 callevent spell_casted
209206 playowneranim critical PLAYERANIM_CAST squatwalk1
210- if ( ANIM_CAST isnot 'ANIM_CAST' ) playviewanim ANIM_CAST
207+ // if ( ANIM_CAST isnot 'ANIM_CAST' ) playviewanim ANIM_CAST //TODO: Should be replaced with a var for casting.
211208}
212209
213- { cast_end
210+ { cast_end
214211
215212 //playviewanim ANIM_IDLE1
216213}
217214
218- { spell_end
215+ { spell_end
219216
220217 if ( !CUST_MESSAGE ) playermessage "The spell's duration ends."
221218 callevent bweapon_effect_remove
You can’t perform that action at this time.
0 commit comments