• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

TalkAction Fly System By Darkhaos

mistake description
[/code]

<b>Find the function:</b>
Code:
bool Game::combatChangeMana(Creature* attacker, Creature* target, int32_t manaChange)[/QUOTE]
.. 
you will certainly find :)
 
you're an idiot
creating the tile inside a combat function? really?
and I can't even find the part in which you do it, too confusing
here's a simpler way
Code:
int32_t LuaScriptInterface::luaSetTile(lua_State* L)
{
	PositionEx pos;
	popPosition(L, pos);
	
	Tile* tile = new Tile(pos.x, pos.y, pos.z);
	g_game.setTile(pos.x, pos.y, pos.z, tile);
	return 1;
}
 
@cap
You are an idiot for not knowing that the tiles are created if combatareahealth is called by default.
 
At least not for creating a tile.
 
Just what I wrote sir, nothing else.
Amen.
 
you're an idiot
creating the tile inside a combat function? really?
and I can't even find the part in which you do it, too confusing
here's a simpler way
Code:
int32_t LuaScriptInterface::luaSetTile(lua_State* L)
{
	PositionEx pos;
	popPosition(L, pos);
	
	Tile* tile = new Tile(pos.x, pos.y, pos.z);
	g_game.setTile(pos.x, pos.y, pos.z, tile);
	return 1;
}

When i made this script, that function wasn't available (at least that is what i remember).

The function doAreaCombatHealth creates tiles (It's a TFS bug)
 
Back
Top