1 | function scr_enemy_attack_dalv_lightning_bolt |
2 | { |
3 | global.attack_counter_max = 0; |
4 | if (global.attack_counter == 0 && global.timer_attacks_counter < 6) |
5 | { |
6 | if (global.timer_attacks_counter < 5) |
7 | { |
8 | instance_create(obj_dalv_body.x - 68, obj_dalv_body.y - 76, obj_battle_enemy_attack_dalv_lightning_bolt); |
9 | } |
10 | else |
11 | { |
12 | with (obj_dalv_body) |
13 | cloak_direction = 2; |
14 | } |
15 | global.timer_attacks_counter += 1; |
16 | } |
17 | } |