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

Lua NO Drop Corpse - TFS 1.x

HeberPcL

[PowerOT.com.br]
Joined
Aug 21, 2007
Messages
1,292
Reaction score
51
Location
Brazil
GitHub
heberpcl
Hey OTlands,

I would like to disable the body after the death of the players in TFS 1.2, any ideas?
Just editing source?

Code:
        Item* corpse = getCorpse(lastHitCreature, mostDamageCreature);
        if (corpse) {
            g_game.internalAddItem(tile, corpse, INDEX_WHEREEVER, FLAG_NOLIMIT);
            g_game.startDecay(corpse);
        }

Thanks!
 
just try comment the two lines
Code:
//g_game.internalAddItem(tile, corpse, INDEX_WHEREEVER, FLAG_NOLIMIT);
//g_game.startDecay(corpse);
 
Back
Top