Issue information

Issue ID
#579
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Dec 10, 2007 10:22
Last Post
Hercules Elf Bot
Dec 10, 2007 10:22
Confirmation
N/A

Hercules Elf Bot - Dec 10, 2007 10:22

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

CODE
set Zeny,Zeny-@def_invest;
SetCastleData getarg(1),5,GetCastleData(getarg(1),5)+1;
SetCastleData getarg(1),3,.@Defence+1;
set .@Defence, .@Defence + 1;
set .@AGuardian, strmobinfo(4,1285) + (.@Defence*2000);
set .@KGuardian, strmobinfo(4,1286) + (.@Defence*2000);
set .@SGuardian, strmobinfo(4,1287) + (.@Defence*2000);


Error in the defense code.
Should be:

CODE
set Zeny,Zeny-.@def_invest;


Current error has allowed guilds to invest in 2 defense for free every day.
Please update in the most recent SVN.

This post has been edited by Jikari: Dec 10 2007, 02:23 AM