Handles the healing effects
| 5659 | |
| 5660 | // Handles the healing effects |
| 5661 | void AlienBoss::UpdateHealingEnergyBeams(int me) { |
| 5662 | // See if it's time to create the next energy effect |
| 5663 | if (memory->next_update_beam_time <= Game_GetTime()) { |
| 5664 | float next_duration = AB_BEAM_UPDATE_TIME; |
| 5665 | |
| 5666 | memory->next_update_beam_time = Game_GetTime() + next_duration; |
| 5667 | |
| 5668 | aLightningCreate(memory->tail_pos_handle, memory->nest_handle, next_duration, 1.0f, 2, boss_heal_effect_id, |
| 5669 | next_duration, 1, 255, 255, 255, false); |
| 5670 | |
| 5671 | // Create healing sparks |
| 5672 | int room; |
| 5673 | vector pos; |
| 5674 | Obj_Value(memory->tail_pos_handle, VF_GET, OBJV_I_ROOMNUM, &room); |
| 5675 | Obj_Value(memory->tail_pos_handle, VF_GET, OBJV_V_POS, &pos); |
| 5676 | Game_CreateRandomSparks(5, &pos, room); |
| 5677 | } |
| 5678 | } |
| 5679 | |
| 5680 | // Handles the healing effects |
| 5681 | void AlienBoss::UpdateDamageEffect(int me) { |
nothing calls this directly
no test coverage detected