or even gen-y.
solution:
creature.cpp
under:
C++:
void Creature::dropCorpse(DeathList deathList) {
add:
C++:
Monster* monster = this->getMonster();
if (monster && monster->getMaster()) {
return;
}
and for player to prevent dop the corpse if he had summons (?? i think from request)
under our new code
C++:
Player* player = this->getPlayer();
if (player && player->getSummonCount() > 0) {
return;
}
btw
@Codinablack is absolutely right, 0.3.6 its very out of date and not beginner friendly, consider change you'r tfs to 1.x, way easier to help, way easier to learn, way easier to write systems/functions/scripts whatever we call it