Thanks!
I figured it out before your response by adding:
In
C++:
void MagicField::onStepInField(Creature* creature)
C++:
// remove magic walls/wild growth
if (id == ITEM_MAGICWALL_SAFE || id == ITEM_WILDGROWTH_SAFE || isBlocking()) {
if (!creature->isInGhostMode()) {
g_game.internalRemoveItem(this, 1);
}
return;
}
In combat.cpp
The comment you referenced seems more suitable for a non-PVP server, mine is PVP, but I still appreciate your help.