summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorMatias <matiassw@gmail.com>2013-06-25 02:46:11 -0400
committerMatias <matiassw@gmail.com>2013-06-25 02:46:11 -0400
commit7c81bc0fb6817748ea38cd1bbd440a1c46811131 (patch)
tree9f8b99ba62a01b0822ae0a8b5f58981b36eb524e /src/map/status.c
parentdc5c72590f286125f1f1aad8321a80127b0ed9d8 (diff)
downloadhercules-7c81bc0fb6817748ea38cd1bbd440a1c46811131.tar.gz
hercules-7c81bc0fb6817748ea38cd1bbd440a1c46811131.tar.bz2
hercules-7c81bc0fb6817748ea38cd1bbd440a1c46811131.tar.xz
hercules-7c81bc0fb6817748ea38cd1bbd440a1c46811131.zip
- Fixing an issue with Ensemble Songs buffing non-party members and not clearing once leaving party. (Allowing you to walk off the AoE and keep the buff)
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index b7e906910..a6acaf874 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6514,6 +6514,15 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
undead_flag = battle->check_undead(status->race,status->def_ele);
//Check for inmunities / sc fails
switch (type) {
+ case SC_DRUMBATTLE:
+ case SC_NIBELUNGEN:
+ case SC_INTOABYSS:
+ case SC_SIEGFRIED:
+ if( bl->type == BL_PC) {
+ struct map_session_data *sd = BL_CAST(BL_PC,bl);
+ if (!sd->status.party_id) return 0;
+ }
+ break;
case SC_ANGRIFFS_MODUS:
case SC_GOLDENE_FERSE:
if ((type==SC_GOLDENE_FERSE && sc->data[SC_ANGRIFFS_MODUS])