summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-01 22:21:26 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-01 22:21:26 +0000
commit83be2ad0b8c0543bc7403a0cc40b5ec1545f3ec2 (patch)
tree1002fc2bc3da5366baddf56a3e5857b7b4aaa81c /src/map
parenta26df9b75e9401b0f590dd6cde4680394eaf1e7a (diff)
downloadhercules-83be2ad0b8c0543bc7403a0cc40b5ec1545f3ec2.tar.gz
hercules-83be2ad0b8c0543bc7403a0cc40b5ec1545f3ec2.tar.bz2
hercules-83be2ad0b8c0543bc7403a0cc40b5ec1545f3ec2.tar.xz
hercules-83be2ad0b8c0543bc7403a0cc40b5ec1545f3ec2.zip
- Fixed berserk not raising your HP to your new cap.
- Fixed ground-skills not displaying damage done. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5851 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c6
-rw-r--r--src/map/status.c4
2 files changed, 6 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 6636865c9..21c8bcbcc 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -4412,8 +4412,10 @@ int clif_skill_setunit(struct skill_unit *unit)
bl=map_id2bl(unit->group->src_id);
- if (unit->group->unit_id == UNT_ATTACK_SKILLS)
- return 0; //These are invisible client-side. [Skotlex]
+// These are invisible client-side, but are necessary because
+// otherwise the client will not know who caused the attack.
+// if (unit->group->unit_id == UNT_ATTACK_SKILLS)
+// return 0;
#if PACKETVER < 3
memset(WBUFP(buf, 0),0,packet_len_table[0x11f]);
diff --git a/src/map/status.c b/src/map/status.c
index 8d1028427..cb97017b1 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4235,6 +4235,8 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
break;
case SC_BERSERK: /* ƒo?ƒT?ƒN */
+ if (sc->data[SC_ENDURE].timer == -1 || sc->data[SC_ENDURE].val1 <= 10)
+ sc_start(bl, SC_ENDURE, 100, 11, tick);
if(sd && !(flag&4)){
sd->status.hp = sd->status.max_hp * 3;
sd->status.sp = 0;
@@ -4244,8 +4246,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
}
if (!(flag&4))
tick = 10000;
- if (sc->data[SC_ENDURE].timer == -1 || sc->data[SC_ENDURE].val1 <= 10)
- sc_start(bl, SC_ENDURE, 100, 11, tick);
calc_flag = 1;
break;