Issue information

Issue ID
#322
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Oct 28, 2007 1:17
Last Post
Hercules Elf Bot
Feb 21, 2012 7:33
Confirmation
N/A

Hercules Elf Bot - Oct 28, 2007 1:17

Originally posted by [b]Barron-Monster[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=322

code is
CODE
2426,Shadow_Walk,Shadow Walk,5,,10,2000,,0,,0,0xFFFFFFFE,2,2,64,,75,1,0,{ bonus bMdef,10; if(getskilllv(135) < 3){ bonus5 bAutoSpellWhenHit,135,3,50,BF_MAGIC,0; } else bonus5 bAutoSpellWhenHit,135,getskilllv(135),50,BF_MAGIC,0; },{},{}


and the correct should be
CODE
2426,Shadow_Walk,Shadow Walk,5,,10,2000,,0,,0,0xFFFFFFFE,2,2,64,,75,1,0,{ bonus bMdef,10; if(getskilllv(135) < 3) { bonus3 bAutoSpellWhenHit,135,3,50; } else bonus3 bAutoSpellWhenHit,135,getskilllv(135),50; },{},{}


I don't know why use it an fucking bonus5 when an bonus3 can do it whitout bug... And the item with bonus5 doesn't work don't know why maybe an error with triger ...