Jump to content
  • 0

Atk1 & Atk2, Magic Attack?


Question

Posted

Right so if a monster is supposed to have 2500-3500 dmg and say 500-1000 Magic attack, now according to the documents in rAthena

 
ATK1: The minimum attack of the monster.
 
---------------------------------------
 

ATK2: The maximum attack of the monster. If undefined, the value of ATK1 will be used as the absolute attack.

 

How exactly does this translate into magic attack and how do i set these numbers properly? it seems skills are either way to strong or way to weak.

4 answers to this question

Recommended Posts

  • 0
Posted

Assuming renewal, ATK1 is their ATK, and ATK2 is their MATK. I can't believe they still haven't fixed the documentation in a whole year.

INT and STR (and whatever else present in the formulas) affects the appropriate stats, this is the value of additional attack/magic attack on top of what comes from the monster's stats and level. Kinda like equip atk for a player. Min and Max values are also calculated, you can't set them.

Stat recalculation (after a script command sets them) was not working correctly, so if you're trying to do that, you'll have to fix the source first. Most importantly, script commands to read and write the stats don't set the numbers you expect them to and/or set something that makes no sense (for example yes, you can set max atk from script but then next time it's calculated the value will be replaced so that's pointless. )

  • Upvote 1
  • MVP 1
  • 0
Posted
22 hours ago, Seravy said:

Assuming renewal, ATK1 is their ATK, and ATK2 is their MATK. I can't believe they still haven't fixed the documentation in a whole year.

INT and STR (and whatever else present in the formulas) affects the appropriate stats, this is the value of additional attack/magic attack on top of what comes from the monster's stats and level. Kinda like equip atk for a player. Min and Max values are also calculated, you can't set them.

Stat recalculation (after a script command sets them) was not working correctly, so if you're trying to do that, you'll have to fix the source first. Most importantly, script commands to read and write the stats don't set the numbers you expect them to and/or set something that makes no sense (for example yes, you can set max atk from script but then next time it's calculated the value will be replaced so that's pointless. )

So say that a monster should have 1-2k atk and 3-4k matk, i set Atk1 at 1500 and Atk2 at 3500 ?

 

/ James

  • 0
Posted

Assuming the monster is level 1 with 0 INT and 0 STR then yes. Otherwise you need lower numbers. You have to look up the formula in the source if you want to know the exact calculation.

  • MVP 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...