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

Windows Got A Small Question.

Muciz

New Member
Joined
Mar 27, 2011
Messages
60
Reaction score
1
Hello Otland!!

Example i want to make great mana potion so it heals a little bit faster and make it so someone else can pot each other from 1 sqm, can someone help me with it?
 
actions/liquids/potions.lua, here you can edit some config of the potions:

Code:
local config = {
	removeOnUse = "no",
	usableOnTarget = "yes", -- can be used on target? (fe. healing friend)
	splashable = "no",
	realAnimation = "no", -- make text effect visible only for players in range 1x1
	healthMultiplier = 1.0,
	manaMultiplier = 1.0
}
 
Search for this:

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

Im not sure how this works, but try modifing the "100" maybe if you put a lower number like 50..
 
Back
Top Bottom