• 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!

TFS 1.X+ How to set effect to correct order in TFS 1.5

mano368

Senior Support Team Member
Staff member
Support Team
Joined
Sep 2, 2011
Messages
646
Solutions
46
Reaction score
296
Location
Brazil
How to solve this problem? Anyone knows how to make effect work in correct order?

When you use exori vis, the energy spark appear below of teleport effect, but the correct way is the energy spark appear on top.

Tested in tfs 1.5 nekiro down 7.72

Thanks in advance!
 
Solution
I'd change order of execution here:

In some OTClient there's a logic to re-draw these effects in reverse order so once you fix it for CIP it won't work for OTClient ;)

Simply comment out:
C++:
/*
    if (params.impactEffect != CONST_ME_NONE) {
        Game::addMagicEffect(spectators, tile->getPosition(), params.impactEffect);
    }
*/

And put this at the end of Combat::doAreaCombat
C++:
    for (Tile* tile : tiles) {
        if (canDoCombat(caster, tile, params.aggressive) !=...
Back
Top