Issue information

Issue ID
#4217
Status
Fixed
Severity
None
Started
Hercules Elf Bot
May 1, 2010 16:31
Last Post
Hercules Elf Bot
Dec 13, 2011 21:23
Confirmation
N/A

Hercules Elf Bot - May 1, 2010 16:31

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

There's a small bug in Dead Tree Cane (1643).

Description:

CODE
INT + 4. MATK + 15.
INT bonus increases if refined past + 6, at the cost of reduced Max HP and Max SP.
[Refine Rate 6]
INT + 1, MaxHP - 200, MaxSP - 100.
[Refine Rate 7]
INT + 2, MaxHP - 400, MaxSP - 200.
[Refine Rate 8]
INT + 3, MaxHP - 600, MaxSP - 300.
[Refine Rate 9]
INT + 4, MaxHP - 800, MaxSP - 400.
[Refine Rate 10]
INT + 5, MaxHP - 1000, MaxSP - 500.


Script:

CODE
bonus bMatk,15; if (getrefine()==6) { bonus bInt,5; bonus bMaxHP,-200; bonus bMaxSP,-100; } else if (getrefine()==7) { bonus bInt,6; bonus bMaxHP,-400; bonus bMaxSP,-200; } else if (getrefine()==8) { bonus bInt,7; bonus bMaxHP,-600; bonus bMaxSP,-300; } else if (getrefine()==9) { bonus bInt,8; bonus bMaxHP,-700; bonus bMaxSP,-400; } else if (getrefine()==10) { bonus bInt,9; bonus bMaxHP,-1000; bonus bMaxSP,-500; } else { bonus bInt,4; }


The else if (getrefine()==9) { bonus bInt,8; bonus bMaxHP,-700; bonus bMaxSP,-400; } should obviously be: else if (getrefine()==9) { bonus bInt,8; bonus bMaxHP,-800; bonus bMaxSP,-400; }

No Aegis file to back this one up, but it would make sense, seeing the description and the steps it takes for increasing/descreasing of the HP and SP.