void Monster::dropLoot(Container* corpse) { bool status = true; CreatureEventList dropLootEvents = getCreatureEvents(CREATURE_EVENT_DROP_LOOT); for(CreatureEventList::iterator it = dropLootEvents.begin(); it != dropLootEvents.end(); ++it) if(!(*it)->executeDropLoot(this, corpse) && status) status = false; if(!status) return; if(corpse && lootDrop == LOOT_DROP_FULL) mType->dropLoot(corpse); }