diff options
author | Playtester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-05 09:11:52 +0000 |
---|---|---|
committer | Playtester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-05 09:11:52 +0000 |
commit | c0c50e46e6c9667b9f96a0a40bff85437e61f7ea (patch) | |
tree | d0f078493c804947c803f8f57d48eb3532b3fa80 /src/map | |
parent | 91bc012f85c8dd1a6e40497f59fc9a576474a8cd (diff) | |
download | hercules-c0c50e46e6c9667b9f96a0a40bff85437e61f7ea.tar.gz hercules-c0c50e46e6c9667b9f96a0a40bff85437e61f7ea.tar.bz2 hercules-c0c50e46e6c9667b9f96a0a40bff85437e61f7ea.tar.xz hercules-c0c50e46e6c9667b9f96a0a40bff85437e61f7ea.zip |
* Attempt to fix Kyrie Eleison not castable on enemy players
- please test, I can't double client to test it in pvp
- don't forget to recompile before testing
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10459 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c index 841b40867..c968fd58e 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -4594,10 +4594,14 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val //Only affects demons and undead. if(status->race != RC_DEMON && !undead_flag) return 0; - break; + break; case SC_AETERNA: - if (sc->data[SC_STONE].timer != -1 || sc->data[SC_FREEZE].timer != -1) - return 0; + if (sc->data[SC_STONE].timer != -1 || sc->data[SC_FREEZE].timer != -1) + return 0; + break; + case SC_KYRIE: + if (bl->type == BL_MOB) + return 0; break; case SC_OVERTHRUST: if (sc->data[SC_MAXOVERTHRUST].timer != -1) |