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

Hi, help pls.

Status
Not open for further replies.

Sherlok

Active Member
Joined
Aug 29, 2008
Messages
2,116
Reaction score
44
Location
Poland, Wrocław.
Hiho.
How can I do 'exori gran' spell for all skills? I mean sword, axe, club, fist.

I've this spell, but it's only for SKILL_SWORD :(
Code:
function onGetFormulaValues(cid, level, skill, attack, factor)
	local min = getPlayerSkillLevel(cid, SKILL_SWORD) * 10
	local max = getPlayerSkillLevel(cid, SKILL_SWORD) * 10
	
	if(level < 500)then
		min = min / 2
		max = max / 2
	end
	
	return -min, -max
end
 
Code:
function onGetFormulaValues(cid, level, skill, attack, factor)
	local min = getPlayerSkillLevel(cid, SKILL_SWORD) + getPlayerSkillLevel(cid, SKILL_AXE) + getPlayerSkillLevel(cid, SKILL_CLUB) * 10
	local max = getPlayerSkillLevel(cid, SKILL_SWORD) + getPlayerSkillLevel(cid, SKILL_AXE) + getPlayerSkillLevel(cid, SKILL_CLUB) *  10
	
	if(level < 500)then
		min = min / 2
		max = max / 2
	end
	
	return -min, -max
end

?? xd
 
Status
Not open for further replies.
Back
Top