1 | var inactive_card = irandom_range(1, 8) |
2 | with (obj_attack_ace_dealing_cards) |
3 | { |
4 | if (card_id != inactive_card) |
5 | event_perform(ev_alarm, 0) |
6 | } |
7 | if (attack_number <= 0) |
8 | instance_destroy() |
9 | attack_number-- |