Jump to content
  • 0

Increased mob ATK


daikatana_

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  05/09/19
  • Last Seen:  

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.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

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
Link to comment
Share on other sites

  • 1

  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

Did you try checking via @mi command?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  05/09/19
  • Last Seen:  

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!

Link to comment
Share on other sites

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.

×
×
  • Create New...