if (self.aivar[AIV_MM_REAL_ID] == ID_DRAGON_ROCK) {
if ((Npc_GetDistToNpc(self, other) > FIGHT_DIST_DRAGON_MAGIC) && (Npc_GetDistToNpc(self, other) < 3500) && (yobdrg <= 0) && (!C_BodyStateContains(self, BS_JUMP))) {
AI_TurnToNpc(self, other);
AI_PlayAni(self, "T_WARN");
wait_drg();
if (self.attribute[ATR_HITPOINTS] <= (self.attribute[ATR_HITPOINTS_MAX] / 4)) {
Wld_PlayEffect("SPELLFX_BREATHOFDEATH", self, other, 2, 550, DAM_BLUNT, TRUE);
}
else {
Wld_PlayEffect("SPELLFX_GREENTENTACLE", self, other, 2, 500, DAM_BLUNT, TRUE);
};
};