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

Solved About attack speed

Tazzonny

The Bestest
Joined
Feb 8, 2009
Messages
161
Reaction score
2
I was wondering whether or not there was a way to store a player's attackspeed in the database so that items can modify it whether it is by lua scripting or source edits.

Thanks in advance,
Tazzonny.
 
Last edited:
You can store anything to the database.
However, what are you trying to accomplish in this?

Do you want players to have a fixed attackspeed?
Like, eat an apple, gain 200 attack speed permanently; eat a grape, lose 100 attack speed permanently?
 
I'm trying to make weapons such as sais (which looks like 2 daggers, one for each hand) to attack faster so it would only be for the time the item is equipped.
 
Then, you would use the attack speed attribute in items.xml.
Don't forget to add the item to movements.xml for Equip and deEquip.
 
Back
Top