Jump to content

Question

Posted

Hi,

I've got a weird problem. All monsters have a lot higher ATK, than they should. For example, Lunatic should have ATK 9-12, at least that's what both databases say, mob_db.txt and mob_db in sql, but its real ATK in game is 23-26. All other stats and parameters like HP, EXP, etc. are as they should be. I looked through all possible conf files, if there is not some ATK increase for mobs, but found nothing. I found out, the increase isn't numerical, or percentage, it just seems like some random increases. Does anybody here know where should I look? 

Thanks.

4 answers to this question

Recommended Posts

  • 0
Posted

Okay I searched for a while and figured out the root cause is the config change that came with the commit above. It also affects pre-renewal.

You will need to find battle.conf config file and change:

// Who should have a baseatk value (makes str affect damage)? (Note 3)
enable_baseatk: 0x29F

Back to:

// Who should have a baseatk value (makes str affect damage)? (Note 3)
enable_baseatk: 9

 

  • Love 1
  • 1
Posted

Are you on renewal because if you are there are new damage calculations for monsters: https://github.com/rathena/rathena/commit/fe197bfa120aef5fd31c6896122b35fdc06774b4

Basically the ATK displayed in mobinfo is:

mob->status.batk + mob->status.rhw.atk, mob->status.batk + mob->status.rhw.atk2

Base attack for monsters:

str = dstr + level;

Atk is 80% of Atk.

Atk2 is 120% of Atk.

So let's take a look at lunatic:

// ID,Sprite_Name,kROName,iROName,LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK

1063,LUNATIC,Lunatic,Lunatic,3,55,1,36,27,1,11,1,18,0,10,3,3,0,8,5

LEVEL=3
ATK1=11
STR=10

Base attack = 10+3 = 13
ATK1 = 11 * 0.8 = 8
ATK2 = 11 * 1.2 = 13

So Lunatic damage is 21~26.

  • 0
Posted

Sure, that's where I found out attack is this high.

Actually no, I am on pre-renewal. All other stats are as they should be, only atk is off. And if I'm right, @mi command should display ATK1 and ATK2.

Thanks a lot!!!!!!!!!!!

It actually works, you are a lifesaver!

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...