summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-27 16:31:18 -0300
committershennetsind <ind@henn.et>2013-06-27 16:31:18 -0300
commit897f598ab7ea2235d551081f54328ee69970f731 (patch)
treecba38e4e6f994b2cd871fd0019b342306475ee56 /src/map/status.c
parent85ac3b03b9e642bc322109ea8c176c43192eb4bd (diff)
parent15398c9b90693707c3e49c349e24e6dd655f12a9 (diff)
downloadhercules-897f598ab7ea2235d551081f54328ee69970f731.tar.gz
hercules-897f598ab7ea2235d551081f54328ee69970f731.tar.bz2
hercules-897f598ab7ea2235d551081f54328ee69970f731.tar.xz
hercules-897f598ab7ea2235d551081f54328ee69970f731.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
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 97fed4ceb..dc5d5c5bd 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6586,6 +6586,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])