*/
@Override
public void onEvtSpawn()
{
super.onEvtSpawn();
final SiegeGuardInstance actor = getActor();
final FortressSiegeEvent siegeEvent = actor.getEvent(FortressSiegeEvent.class);
if (siegeEvent == null)
{
return;
}
if (siegeEvent.getResidence().getFacilityLevel(Fortress.GUARD_BUFF) > 0)
{
actor.doCast(SkillTable.getInstance().getInfo(5432, siegeEvent.getResidence().getFacilityLevel(Fortress.GUARD_BUFF)), actor, false);
}
siegeEvent.barrackAction(0, false);
}