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

Problems with Potions on tfs 0.4 Rep++

Piltrafa

Active Member
Joined
Nov 10, 2010
Messages
654
Reaction score
29
Hello.

I want to make exahusted of Potions like 1.5 seconds without change it on Config.lua because its delay all Items too...

Also, I can use Potions with all Range. And I want to only can use potions on target only if you are nearly them.

Anyone can help me?
Thanks, and Rep++ for help.
 
I think that if you want to change exhaustion of potions, you shud go to data/actions/scripts/liquids
Then change the number in this line, I guess if its less then you will get less exhausted and if its more then more exhaustion

LUA:
local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100))

Im not sure if this is it though, but it looks like it.
No idea bout the other one.
 
I have this part of scripts same thats you post... testing put - 1000 / - 10000 / - 9000 / 900 / 9000 / 5000; and exahusted its same.

I need fix exahusted, because in 1 second (exahusted from potions) Knight's are really hard to kill him.
 
Tested and dind't work, same exahusted with 2000, that with 5000.
local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, 2000)
Also, you know how to fix thats can only use potions on target that are near you?
 
I need help to make thats potions only can use on target that are nearly you... not in 2-6 sqm.
Also, need fix to make exahusted like 1.5/2 seconds.

BUMP
 
Back
Top