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

Exori con

Phantom22

The Chosen
Joined
Dec 20, 2009
Messages
334
Reaction score
2
Hey guys im having an issue with exori con, it hits like a wet noodle, nah like a dry noodle. anyways

Code:
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 + 75) / 3) + (level / 5)), -((skill + 25) + (level / 95))
end

setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end

I wish it responded to sharpshooter better. Rep + to anyone that can help me. Thank you :)
 
Code:
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
 
Code:
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 -((([B][COLOR="Red"]getPlayerSkillLevel(cid, SKILL_DISTANCE)[/COLOR][/B] + 25) / 3) + (level / 5)), -(([B][COLOR="Red"]getPlayerSkillLevel(cid, SKILL_DISTANCE)[/COLOR][/B] + 25) + (level / 5))
end

setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end
It should check your distance skill, not the skill of the weapon you got in your hands.
 
False alarm it still only responds to level. now it just varies alittle bit :\
but with sharpshooter there is zero change.
 
Want to come on my server and see? I have 2 other testers with me. very logical testers. sometimes when sharpshooter is cast it does less but the variables are the same with or without.
 
Okay, you were right after all.
getPlayerSkillLevel only gets your actual skill level, without any buffs such as Sharpshooter.
 
I did some testing with that script and it seems like distance sorta helps but the main problem with it is, the script isn't taking into consideration the attack of the weapon your using.

Tested on a pally with 110 dist and level 220 and hitting < 200 which is quite off if i do say so myself.

Ill take a look and see what I can find.
 
Yea I wasn't sure about that and I cant seem to find a formula on any wikia or anything so I'm not sure however the distance skill is playing a decent part in the dmg of that spell the way you guys have it scripted. The reason its dmg is so low is because the distance part is in fact just low, raising the distance part of the foruma will help a lot and as far as skill buffs via spell or equipment I cant really test that cuz I have no equipment that gives skills in my OT atm. However what I have tested is...


This increased my damage from < 200 to about 300 no more than 400 (weapons did make the dmg raise using this though)

Code:
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0.5, 0, 0.8, 0)

This increased my damage from < 200 to about 300 aswell and again high hits being in the low 400s however with this one the attack of the weapons does not play a role in the outcome of the damage.

Code:
function onGetFormulaValues(cid, level, skill, attack, factor)
	return -(((getPlayerSkillLevel(cid, SKILL_DISTANCE) * 3 + 25) / 3) + (level / 5)), -((getPlayerSkillLevel(cid, SKILL_DISTANCE) + 25) * 3 + (level / 5))
end

setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues")
 
Code:
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 * 3 + 25) / 3) + (level / 5)), -((skill * 3 + 25) + (level / 5))
end

setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end

Try that I just tested it with sharpshooter and my dmg went up a ton so it seems as though its working.
 
Yea but he said it hits like a wet noodle and it don't react to sharpshooter, now it does... and yea u may need a distance weapon in your hand but there isnt much else he can do lol also how many pallys run around with no weap wile hunting anyway zz
 
Back
Top