summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorMatias <matiassw@gmail.com>2013-06-25 17:54:46 -0400
committerMatias <matiassw@gmail.com>2013-06-25 17:54:46 -0400
commit0d2cb05e7ded96c694bfe768c3c97e3c5b3615ec (patch)
treebae522fda7342acf8c6d40ded452f7b501a2d0ef /src/map/status.c
parentb40371d3a0772031d12f2782c10976413c6f34b9 (diff)
downloadhercules-0d2cb05e7ded96c694bfe768c3c97e3c5b3615ec.tar.gz
hercules-0d2cb05e7ded96c694bfe768c3c97e3c5b3615ec.tar.bz2
hercules-0d2cb05e7ded96c694bfe768c3c97e3c5b3615ec.tar.xz
hercules-0d2cb05e7ded96c694bfe768c3c97e3c5b3615ec.zip
- Fixed a bug with Ensemble songs allowing the Buffed target to leave party and keep the buff. Also fixed a strange issue that'd allow non-party members to receive the buff under specific case
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 fdee5b954..1105e97c0 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6576,6 +6576,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])