• 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.4.2 item skills dont change when equip

archer32

Member
Joined
Feb 3, 2011
Messages
88
Solutions
1
Reaction score
9
Hi,

I have weapon with life leech and crit chance (example)
I equip it and it doesn't give bonus
I RELOG
Then bonus appears
If I unequip, bonus stays until relog

Is there a simple LUA that I just need to get this to work properly or is it in src?
I am not much for knowing src... stuff

I did find a article on creating a "onInventoryUpdate" but when trying to compile that, it never worked and couldn't figure it out... so it is rip

Any help is much appreciated
 
Hi,

I have weapon with life leech and crit chance (example)
I equip it and it doesn't give bonus
I RELOG
Then bonus appears
If I unequip, bonus stays until relog

Is there a simple LUA that I just need to get this to work properly or is it in src?
I am not much for knowing src... stuff

I did find a article on creating a "onInventoryUpdate" but when trying to compile that, it never worked and couldn't figure it out... so it is rip

Any help is much appreciated
did you declare the weapon or armor in movements or weapons?
 
I did add a onEquip and onDeEquip but it didn't change... also, I would have to make that setup for EVERY item then?
You must declare each item that has some ability example: + ml or % against elements.

in movements if it is an item like armor and if it is a weapon in weapons
 
Back
Top