• 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 0.X Tfs 0.3.6 Physical bonus for addonss

Varkh

New Member
Joined
May 7, 2020
Messages
3
Reaction score
0
Hello, is there anyway to add physical protection to addon bonuses like I can do it with hp by using conditionParam?
I know that I can edit outfits.xml, but I want to do it like that.

Lua:
local knight = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(knight, CONDITION_PARAM_TICKS, -1)
setConditionParam(knight, CONDITION_PARAM_SKILL_SWORD, 3)
setConditionParam(knight, CONDITION_PARAM_STAT_MAXHEALTH, 200)
 
Back
Top