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

Questions about monster

Sentielo

Advanced OT User
Joined
Feb 3, 2008
Messages
2,388
Reaction score
232
Location
I am from Holland, where the fack you from :)
Hello Otland,

I have some questions about the monster formula melee and distance skills.

First of all, about the melee skill. If it looks like this:
<attack name="melee" interval="2000" skill="24" attack="16"/>
What does the skill "24" mean and what does the attack "16" mean in a formula? How do I know the minimum damage and the maximum damage?

I got the same question for distance fighting, most of the distance fighting spells looks like the following:
<attack name="physical" interval="1000" chance="10" range="7" min="-5" max="-40">
<attribute key="shootEffect" value="throwingknife"/>
Isn't it able to make it with skill and attack too? If so, please say how.

Remember, helping me out, will bring otland to a better monsterpack. (see the link bellow).

Thanks in advance,
Sentielo
 
More:
Code:
int32_t Weapons::getMaxMeleeDamage(int32_t attackSkill, int32_t attackValue)
{
	return (int32_t)std::ceil((attackSkill * (attackValue * 0.05)) + (attackValue * 0.5));
}
This is called when you use skill/attack.
 
From reading this, if Cykotitan is correct then it is much easier to use min and max as you wont have to calculate approximate damage for monsters, however if you used a simple spreadsheet to create some examples it wouldnt make too much difference.

hallux
 
Back
Top