Issue information

Issue ID
#4631
Status
Fixed
Severity
Fair
Started
Hercules Elf Bot
Dec 10, 2010 5:57
Last Post
Hercules Elf Bot
Mar 5, 2012 17:46
Confirmation
N/A

Hercules Elf Bot - Dec 10, 2010 5:57

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

case BA_ASSASSINCROSS:
val1 = 100+10*skilllv+status->agi; // ASPD increase
if(sd)
val1 += 5*pc_checkskill(sd,BA_MUSICALLESSON);


It should be: val1 = 100+10*skilllv+status->agi/10;

Currently it counts every single point of agi, rather than ever 10.

Unless Riff is strangely different from every other song being /5 or /10, it is currently incorrectly implemented.

Hercules Elf Bot - Dec 17, 2011 9:45

Originally posted by [b]Ind[/b]
[quote]
[07:39:12] <@Epoque> http://rathena.org/board/tracker/issue-4631-impressive-riff-incorrect-script/ <- he's correct, it should be status->agi/10 since AGI only provides 1/10th of a bonus
[07:39:32] <@Epoque> 100% + (10% * SkillLV) + (AGI / 10)%
[/quote]
Fixed in [rev=15153]