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

Lua 8.54 Need some help in balancing vocs.

Sane Mei

New Member
Joined
Feb 21, 2010
Messages
56
Reaction score
0
Heyo boys and girls !:D
Well, as I wrote in thread name I am balancing my vocs on my Open Tibia Server.
Before I had no clue how to increase dmg, but I changed from meleedamage 1.1 to 1.8 and it seems to be ok now. But still I need some help:
1. How I can equalize dmg? I mean, sometimes I hit 2-3 in a row like 250 dmg, sometimes it misses 3-4 in a row, sometime it's 4-5 dmg like 10, 25 and suddendly it's 300 dmg.
Does anyone have clue how to equalize dmg? Because it's sux that I hit like 20 3-5 in a row with 110 skill, then 100, then misses twice again and then finally better dmg like 200+

2. How can I set spells dmg? I mean I want just dmg of skill. Not of level + skills as I've it now, just pure skills and level is not important. I mean for example. 100 pally with 100 dist hits the same as 500 pally with 100 dist.

Really thanks in advance! I hope you can help me as fast as possible because I can't do next things cuz of it:(
 
None knows:(? It's really important to me, specially melee dmg hits. It sux, when I hit 3-4 times in a row for 20, then 400, then again 20, then like twice 100+, then it misses some time in a row... :S
 
About missing, change the hitchance of distance weapons to 90 - 100 ? items.xml

In order to equalize the damage you must edit source code ;c

And it should be pretty obvious how to make only skills affect exori con damage, no?
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, true)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ETHEREALSPEAR)

function onGetFormulaValues(cid, level, skill, attack, factor)
	return -(((skill + 25) / 3) + (level / 5)), -((skill + 25) + (level / 5))
end

setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end
 
@Cykotitan
Thanks for your reply :)

Well, I changed to 100% but still it does miss ( I even tried maxhitchance to 100 percent and hitchance as well );
I can edit my sources. I have done it already when I wanted tibia client working on 8.54-8.57 and I've made no exp from same ip. ( I used OTland C++ tutorials ^^ )
So, I just need a tutorial. How do you think, I can find one on otland? Because I am searching like 10 min already and nothing at all.
 
Last edited:
Back
Top