}
}, 500);
}
}
final double actor_hp_precent = actor.getCurrentHpPercents();
final Reflection r = actor.getReflection();
switch (_stage)
{
case 0:
if (actor_hp_precent < 90)
{
r.addSpawnWithoutRespawn(pirates_zombie_captain_b, actor.getLoc(), 300);
_stage++;
}
break;
case 1:
if (actor_hp_precent < 80)
{
r.addSpawnWithoutRespawn(doll_blader_b, actor.getLoc(), 300);
_stage++;
}
break;
case 2:
if (actor_hp_precent < 70)
{
r.addSpawnWithoutRespawn(vale_master_b, actor.getLoc(), 300);
r.addSpawnWithoutRespawn(vale_master_b, actor.getLoc(), 300);
_stage++;
}
break;
case 3:
if (actor_hp_precent < 60)
{
for (int i = 0; i < 5; i++)
{
r.addSpawnWithoutRespawn(pirates_zombie_b, actor.getLoc(), 300);
}
_stage++;
}
break;
case 4:
if (actor_hp_precent < 50)
{
for (int i = 0; i < 5; i++)
{
r.addSpawnWithoutRespawn(doll_blader_b, actor.getLoc(), 300);
r.addSpawnWithoutRespawn(pirates_zombie_b, actor.getLoc(), 300);
r.addSpawnWithoutRespawn(vale_master_b, actor.getLoc(), 300);
r.addSpawnWithoutRespawn(pirates_zombie_captain_b, actor.getLoc(), 300);
}
_stage++;
}
break;
case 5:
if (actor_hp_precent < 40)
{
for (int i = 0; i < 6; i++)
{
r.addSpawnWithoutRespawn(doll_blader_b, actor.getLoc(), 300);
r.addSpawnWithoutRespawn(pirates_zombie_b, actor.getLoc(), 300);
r.addSpawnWithoutRespawn(vale_master_b, actor.getLoc(), 300);
r.addSpawnWithoutRespawn(pirates_zombie_captain_b, actor.getLoc(), 300);
}
_stage++;
}
break;
case 6:
if (actor_hp_precent < 30)
{
for (int i = 0; i < 7; i++)
{
r.addSpawnWithoutRespawn(doll_blader_b, actor.getLoc(), 300);
r.addSpawnWithoutRespawn(pirates_zombie_b, actor.getLoc(), 300);
r.addSpawnWithoutRespawn(vale_master_b, actor.getLoc(), 300);
r.addSpawnWithoutRespawn(pirates_zombie_captain_b, actor.getLoc(), 300);
}
_stage++;
}
break;
default: