summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-11 10:23:35 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-11 10:23:35 +0000
commit0c05afd837fc443fa8800b9c4a650441872e65a5 (patch)
treeec375ff5c658e0d3c216b404555f6b2bb8d42a55 /src
parent6bea982d80a3c71342fa888123ea1c9d43deff00 (diff)
downloadhercules-0c05afd837fc443fa8800b9c4a650441872e65a5.tar.gz
hercules-0c05afd837fc443fa8800b9c4a650441872e65a5.tar.bz2
hercules-0c05afd837fc443fa8800b9c4a650441872e65a5.tar.xz
hercules-0c05afd837fc443fa8800b9c4a650441872e65a5.zip
Going 90% overweight will now make you stop attacking (bugreport:2315).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13279 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 9cdd35ac7..cd3c2ff15 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -5488,10 +5488,12 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
break;
//Permanent effects.
+ case SC_WEIGHT90:
+ unit_stop_attack(bl);
+ // fall through
case SC_AETERNA:
case SC_MODECHANGE:
case SC_WEIGHT50:
- case SC_WEIGHT90:
case SC_BROKENWEAPON:
case SC_BROKENARMOR:
case SC_READYSTORM: