Idler_pl

Results 5 comments of Idler_pl

void MagicField::onStepInField(Creature* creature) { if(!creature) return; if(isUnstepable() || isBlocking(creature)) { if(!creature->isGhost()) g_game.internalRemoveItem(creature, this, 1); return; } if(!creature->isAttackable()) return; const ItemType& it = items[id]; if(!it.condition) return; uint32_t ownerId = getOwner(); Tile*...

purposeful function is actually depracated i had to remove it and something else within my code to make fields work properly.

remove purposeful

void MagicField::onStepInField(Creature* creature, bool purposeful/*= true*/) to void MagicField::onStepInField(Creature* creature)

and if(ownerId != 0 && purposeful){ if(ownerId != 0){