Issue information

Issue ID
#4054
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Feb 11, 2010 21:58
Last Post
Hercules Elf Bot
Feb 11, 2010 21:58
Confirmation
N/A

Hercules Elf Bot - Feb 11, 2010 21:58

Originally posted by [b]Blackthunder[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4054

Hi,
the battle options in pet.c
CODE
pet_max_atk1: 100
pet_max_atk2: 1000

dont work.

I have pet leveling enabled. The level get set. And with a debug i checked "status_calc_pet" get executed.
But after that returning to "pet_data_init" the data is lost
rhw.atk and rhw.atk2 (and perhaps str,dex,agi.... too) is back to monster value, uncapped.
-
For testing i set rhw.atk and rhw.atk2 to a random value, right after "status_calc_pet" get called in "pet_data_init"
and it works, the pet atk with my given values.
Well thats the wrong place, and it just overwride anything.
I tried different things, but run out of idea why it happens.

So please check and fix this.

thx and bye