Felipe93
Ghost Member
Hello i found this c++ code for tfs 0.4 in this thread
wonder if someone could convert it for tfs 1.5 please.
Feature - TFS 0.4 overspawn monsters like old tibia
Hello I have paid someone to create this code and would like to share it to community as I requested it on support and nobody had it. void Monster::onThink(uint32_t interval) { Creature::onThink(interval); if(despawn()) { if(spawn) {...
otland.net
Lua:
void Monster::onThink(uint32_t interval)
{
Creature::onThink(interval);
if(despawn())
{
if(spawn)
{
spawn->removeMonster(this);
spawn->startEvent();
spawn = NULL;
masterRadius = -1;
}
}
updateIdleStatus();
if(isIdle)
return;