• 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+ Is it possible to set a loot/exp/skill rate for 1 specific player?

cristianso

Member
Joined
Jan 27, 2019
Messages
47
Reaction score
16
I was looking for some lua function that can increase or decrease a specific player loot/exp/skill rate for X amount, but I had no sucess.

For example: A player wear a ring or maybe he talks to a NPC and then he get a bonus for one those stats.

I am using TFS 1.3
 
Last edited:
You can just use those functions
Lua:
        doPlayerSetExperienceRate(cid, 1.5)
        doPlayerSetSkills(cid, 1.5)
        doPlayerSetMagicRate(cid, 1.5)
        doPlayerSetLootRate(cid, 1.25)
In your NPC script or ring movement script, Not sure if it will work for you since you didn't post your TFS version.
 
You can just use those functions
Lua:
        doPlayerSetExperienceRate(cid, 1.5)
        doPlayerSetSkills(cid, 1.5)
        doPlayerSetMagicRate(cid, 1.5)
        doPlayerSetLootRate(cid, 1.25)
In your NPC script or ring movement script, Not sure if it will work for you since you didn't post your TFS version.
I am sorry. I am using TFS 1.3! Does it work?
 
Back
Top