• 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 addBestiaryKill(creature:getName()) how get BestiaryKill In Lua?

beenii

Well-Known Member
Joined
Jul 26, 2010
Messages
580
Solutions
1
Reaction score
57
hi, i've been exploring my source code

I did not find any function to give me information about the kill of each monster,

what I found was:
player:addBestiaryKill(creature:getName())

and in const.h

static constexpr int32_t STORAGEVALUE_BESTIARYKILLCOUNT = 61305000; // Can get up to 2000 storages!


all monster have this:
monster.raceId = 268 <-- diferent id for each monster

is there a way to make a new counter for each player? taking advantage of the id of each monster

I would like to see how many monsters each player has killed, without a script that has to write each name of monster one by one
 
Back
Top