summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-08 19:33:01 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-08 19:33:01 +0000
commit1f8acdc9e58cd5344427babe69539ba86fdda03d (patch)
tree5a7f497e867ddf19a75f3aa241145d1418cb0e58 /src/map/status.c
parenta9c2d623a66f27674ea539963a8738138ca7f6aa (diff)
downloadhercules-1f8acdc9e58cd5344427babe69539ba86fdda03d.tar.gz
hercules-1f8acdc9e58cd5344427babe69539ba86fdda03d.tar.bz2
hercules-1f8acdc9e58cd5344427babe69539ba86fdda03d.tar.xz
hercules-1f8acdc9e58cd5344427babe69539ba86fdda03d.zip
- Added battle config options:
- skill_caster_check (does a status_checkskilluse on all skill attacks) - status_cast_cancel (invokes skill_castcancel for opt1 type status changes) - Fixed the death exp penalty underflow bug git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5229 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 72a5e036a..f9c79cc8c 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4632,7 +4632,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
battle_stopattack(bl);
skill_stop_dancing(bl); /* 演奏/ダンスの中? */
// Cancel cast when get status [LuzZza]
- if (!sd || sd->skillid != PA_PRESSURE) //Only Pressure cannot be cancelled.
+ if (battle_config.sc_castcancel)
skill_castcancel(bl, 0);
case SC_STOP:
case SC_CONFUSION: