func void B_GiveExtraLoot(var C_Npc self)
{
if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(DMT_1299_OberDementor_DI))
{
if((hero.guild == GIL_KDF) || (hero.guild == GIL_KDW) || (hero.guild == GIL_KDM) || (hero.guild == GIL_GUR) || (hero.guild == GIL_NDM) || (hero.guild == GIL_NDW) || (hero.guild == GIL_NOV))
{
CreateInvItems(self,ItAm_Irdorat,1);
CreateInvItems(self,ItPo_Perm_Health,1);
}
else
{
if(hero.attribute[ATR_STRENGTH] >= hero.attribute[ATR_DEXTERITY])
{
CreateInvItems(self,ItAr_Helm_Blood,1);
}
else
{
CreateInvItems(self,ItMw_DemonSpear,1);
};
CreateInvItems(self,ItPo_Perm_Health,1);
};
CreateInvItems(self,ItMi_Sapphire,1);
};