Zell
Intermediate OT User
- Joined
- Oct 23, 2010
- Messages
- 214
- Reaction score
- 117
Hi there! for fun sometimes I try to make some changes to an old otserv that i have, is an old avesta 7.6 SVN 6.3?
I want add a few lines to check when a player equip any item, but i can't find exactly the lines about it.
i mean, when the server reads he puts the armor on slot armor and then i'll make something like.. setspeed(getplayerbasespeed)-item->getWeight/4
and when remove the item again, returns hes basespeed.
I know that can be done on movements but i'll need make a script for every item..right? or can be done just on 1 script to check this?
Can anyone help me to find these on c++ or throw me some light about the movement way?
Thank you!
I want add a few lines to check when a player equip any item, but i can't find exactly the lines about it.
i mean, when the server reads he puts the armor on slot armor and then i'll make something like.. setspeed(getplayerbasespeed)-item->getWeight/4
and when remove the item again, returns hes basespeed.
I know that can be done on movements but i'll need make a script for every item..right? or can be done just on 1 script to check this?
Can anyone help me to find these on c++ or throw me some light about the movement way?
Thank you!