• 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.2 speed attack

Ovnyx

Member
Joined
Jul 25, 2017
Messages
163
Solutions
2
Reaction score
7
hi, sorry if this is a stupid question, but i was searching in the forum and im wondering how the server handles the speed a character hits a target? since there is no attackSpeed lua function to handle this, i was trying to understand how the server handles this so i can figure out what should i moidy or add to get what im looking for?
thanks in advice :cool:
 
Code:
ITEM_ABILITY_REGENERATION - flag to activate health/mana regen + ticks
ITEM_ABILITY_DAMAGEMITIGATION - mitigate all damage by a % value
ITEM_ABILITY_BONUSREGEN - nothing, it was leftover from something i was going to do but decided not to
ITEM_ABILITY_MAGICDAMAGE - increases elemental damage by a %
ITEM_ABILITY_SUPPORTHEALING - increases the user's healing values when the heal is on another player (exura sio, exura gran mas res)
ITEM_ABILITY_ATTACKSPEED - attack speed
ITEM_ABILITY_FLEXSKILL - flexible skill, a value of 5 on a sorcerer increases ML by 5, increases distance by 5 on a paladin, increases melee skills by 5 on knights
ITEM_ABILITY_BONUSHEALING - % increase to ALL healing sources
]

for example for the ITEM_ABILITY_REGENERATION is requred to set the flag to one then in another one , but how to set the amount of regeneration or how does this functions work? 😅😅
 
Add the core item abilities from the first link I gave you from my main repo (Vulcanx), then add the new item abilities from the repo I just gave you.

since with this modifications in the source code items have special abilities attributes i can edit manullay in weapons.xml to give a weapon a abilitie by default?
For example: give a magic sword +5 health regeneration by default?
 
for example for a health regeneration, i have to put in 1 the ITEM_ABILITY_REGENERATION, and set for example a value of 5 to
ITEM_ABILITY_HEALTHTICKS? or how is the correct way of using this with lua?
 
for example for a health regeneration, i have to put in 1 the ITEM_ABILITY_REGENERATION, and set for example a value of 5 to
ITEM_ABILITY_HEALTHTICKS? or how is the correct way of using this with lua?
Yes, the REGENERATION attribute is 1 to activate regen, ticks & gain must be defined as well for regeneration to work.
 
Code:
ITEM_ABILITY_REGENERATION - flag to activate health/mana regen + ticks
ITEM_ABILITY_DAMAGEMITIGATION - mitigate all damage by a % value
ITEM_ABILITY_BONUSREGEN - nothing, it was leftover from something i was going to do but decided not to
ITEM_ABILITY_MAGICDAMAGE - increases elemental damage by a %
ITEM_ABILITY_SUPPORTHEALING - increases the user's healing values when the heal is on another player (exura sio, exura gran mas res)
ITEM_ABILITY_ATTACKSPEED - attack speed
ITEM_ABILITY_FLEXSKILL - flexible skill, a value of 5 on a sorcerer increases ML by 5, increases distance by 5 on a paladin, increases melee skills by 5 on knights
ITEM_ABILITY_BONUSHEALING - % increase to ALL healing sources
]
ITEM_ABILITY_MAGICDAMAGE>> Is it the same thing as increaseMagicPercent? item that damage by % magic?
 
Back
Top