summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-17 03:15:33 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-17 03:15:33 +0000
commit70e7719b125c934e984a747cfc276b1ebac4f54b (patch)
tree00cf9e9d6c4a3467ff8536199c14f0a3d2380aa5 /src/map/skill.c
parent8314f662e97a867e1d756db2f5e5da0a8d1890d5 (diff)
downloadhercules-70e7719b125c934e984a747cfc276b1ebac4f54b.tar.gz
hercules-70e7719b125c934e984a747cfc276b1ebac4f54b.tar.bz2
hercules-70e7719b125c934e984a747cfc276b1ebac4f54b.tar.xz
hercules-70e7719b125c934e984a747cfc276b1ebac4f54b.zip
Poem Bragi, Whistle, Assasin Cross, Apple Idun, Humming, Don't Forget me, Fortune Kiss and Service4U are only dispellable if you're no longer in the song area (in the 20s grace time), bugreport:4888
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15139 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c23
1 files changed, 17 insertions, 6 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index eed8c334d..6bf098367 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5493,13 +5493,24 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case SC_SPL_ATK: case SC_SPL_DEF: case SC_MANU_MATK:
case SC_SPL_MATK: case SC_RICHMANKIM: case SC_ETERNALCHAOS:
case SC_DRUMBATTLE: case SC_NIBELUNGEN: case SC_ROKISWEIL:
- case SC_INTOABYSS: case SC_SIEGFRIED: case SC_WHISTLE:
- case SC_ASSNCROS: case SC_POEMBRAGI: case SC_APPLEIDUN:
- case SC_HUMMING: case SC_DONTFORGETME: case SC_FORTUNE:
- case SC_SERVICE4U: case SC_FOOD_STR_CASH: case SC_FOOD_AGI_CASH:
- case SC_FOOD_VIT_CASH: case SC_FOOD_DEX_CASH: case SC_FOOD_INT_CASH:
- case SC_FOOD_LUK_CASH:
+ case SC_INTOABYSS: case SC_SIEGFRIED: case SC_FOOD_STR_CASH:
+ case SC_FOOD_AGI_CASH: case SC_FOOD_VIT_CASH: case SC_FOOD_DEX_CASH:
+ case SC_FOOD_INT_CASH: case SC_FOOD_LUK_CASH:
continue;
+ /**
+ * bugreport:4888 these songs may only be dispelled if you're not in their song area anymore
+ **/
+ case SC_WHISTLE:
+ case SC_ASSNCROS:
+ case SC_POEMBRAGI:
+ case SC_APPLEIDUN:
+ case SC_HUMMING:
+ case SC_DONTFORGETME:
+ case SC_FORTUNE:
+ case SC_SERVICE4U:
+ if( tsc->data[i]->val4 ) //val4 = out-of-song-area
+ continue;
+ break;
case SC_ASSUMPTIO:
if( bl->type == BL_MOB )
continue;