cphase_updates += 1;
if(cphase_updates == 0)
- Announce("prepareforbattle");
+ Send_Notification(NOTIF_ALL, world, MSG_ANNCE, ANNCE_PREPARE);
else if(cphase_updates == 3)
- Announce("3");
+ Send_Notification(NOTIF_ALL, world, MSG_ANNCE, ANNCE_NUM_3);
else if(cphase_updates == 4)
- Announce("2");
+ Send_Notification(NOTIF_ALL, world, MSG_ANNCE, ANNCE_NUM_2);
else if(cphase_updates == 5)
- Announce("1");
+ Send_Notification(NOTIF_ALL, world, MSG_ANNCE, ANNCE_NUM_1);
else if(cphase_updates == 6)
{
- Announce("begin");
+ Send_Notification(NOTIF_ALL, world, MSG_ANNCE, ANNCE_BEGIN);
combat_phase_begin();
}
for(head = world;(head = findflags(head, flags, FL_GENERATOR)); )
{
- if(head.health <= 15 && head.max_health > 100)
- Announce("lastsecond");
-
if(head.health < head.max_health)
{
gen_washealed = TRUE;