Issue information

Issue ID
#4116
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Mar 11, 2010 9:27
Last Post
Hercules Elf Bot
Mar 5, 2012 17:31
Confirmation
N/A

Hercules Elf Bot - Mar 11, 2010 9:27

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

SP formula for AS_POISONREACT is incorrect.

trunk/db/skill_require_db.txt has:

CODE
139,0,0,20:25:30:35:40:45:50:55:60:45,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0    //AS_POISONREACT#Æ’|Æ’CÆ’Yƒ“ƒŠƒAÆ’NÆ’g#


Should be:

CODE
139,0,0,25:30:35:40:45:50:55:60:45:45,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0    //AS_POISONREACT#Æ’|Æ’CÆ’Yƒ“ƒŠƒAÆ’NÆ’g#


Based on Aegis skill logic, which has:

CODE
__int16 __thiscall SK_AS_POISONREACT__GetSPCost(SK_AS_POISONREACT *this, __int16 level)
{
  int v2; // eax@2

  if ( level >= 9 )
    LOWORD(v2) = 45;
  else
    v2 = 5 * (level + 4);
  return v2;
}


Secondary reference at http://iro.ragnarokonline.com/game/library...asp?Category=11