From b2acf4c0b0eaeb9415bc5d82fb2df8253b599325 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 22 Nov 2006 05:04:16 +0000 Subject: - Fixed the Auto-Berserk giving you back defense when it triggers during berserk's HP penalty. - Some small changes in the pet ai to make it more responsive. - Rewrote the pet looting behaviour (taken from the mob's), pets are much more smarter now when looting from multiple possible items. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9291 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index ebab67eb1..dcc1f9e1d 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6666,6 +6666,8 @@ int status_change_timer(int tid, unsigned int tick, int id, int data) break; case SC_BERSERK: + //The damage below should be made aware that Berserk is active. + sc->data[type].timer = temp_timerid; // 5% every 10 seconds [DracoRPG] if((--sc->data[type].val3)>0 && status_charge(bl, sc->data[type].val2, 0)) { -- cgit v1.2.3-60-g2f50