pushCreatureDelay = 2 * 1000
if(Position::areInRange<1,1,0>(movingCreature->getPosition(), player->getPosition()) && delay > [B]1000[/B]
&& !player->hasCustomFlag(PlayerCustomFlag_CanThrowAnywhere))
pushCreatureDelay = 1 * 1000
(distance push) game.ppc
Code:if(Position::areInRange<1,1,0>(movingCreature->getPosition(), player->getPosition()) && delay > [B]1000[/B] && !player->hasCustomFlag(PlayerCustomFlag_CanThrowAnywhere))
(1SQM push) config.lua
Code:pushCreatureDelay = 1 * 1000
SchedulerTask* task = createSchedulerTask(std::max((int32_t)SCHEDULER_MINTICKS, player->getStepDuration()),
boost::bind(&Game::playerMoveCreature, this, playerId, movingCreatureId, movingCreaturePos, toPos, [COLOR=#0000ff][B]true[/B][/COLOR]));
SchedulerTask* task = createSchedulerTask(std::max((int32_t)SCHEDULER_MINTICKS, player->getStepDuration()),
boost::bind(&Game::playerMoveCreature, this, playerId, movingCreatureId, movingCreaturePos, toPos, [COLOR=#0000ff][B]false[/B][/COLOR]));
I dont have that line ;S(distance push) game.ppc
Code:if(Position::areInRange<1,1,0>(movingCreature->getPosition(), player->getPosition()) && delay > [B]1000[/B] && !player->hasCustomFlag(PlayerCustomFlag_CanThrowAnywhere))
(1SQM push) config.lua
Code:pushCreatureDelay = 1 * 1000