diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-22 22:49:54 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-22 22:49:54 +0000 |
commit | cd6a53f9c55548cfd77038882e96cffa1865fb29 (patch) | |
tree | 30f3b71215b71fa71adaa9a92059a1aca1987b6e /src/map/status.c | |
parent | 292c8eb8404b2cce75a2b99a9fa53dc7458bdceb (diff) | |
download | hercules-cd6a53f9c55548cfd77038882e96cffa1865fb29.tar.gz hercules-cd6a53f9c55548cfd77038882e96cffa1865fb29.tar.bz2 hercules-cd6a53f9c55548cfd77038882e96cffa1865fb29.tar.xz hercules-cd6a53f9c55548cfd77038882e96cffa1865fb29.zip |
- Fixed Dragon Fear's status change selection and duration.
- Fixed Metamorphosis not displaying a speed-change update on the client.
- Status changes that were blocked by element are no longer blocked, instead, now no-damage skills are blocked if they have an element which is absorbed by the target (This is the behaviour that Tharis believes is correct).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11067 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/map/status.c b/src/map/status.c index a08595952..f940e8add 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -4608,20 +4608,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val if (sc->opt1) return 0; //Cannot override other opt1 status changes. [Skotlex] break; - case SC_CURSE: - //Dark Elementals are inmune to curse. - if (status->def_ele == ELE_DARK && !(flag&1)) - return 0; - break; - case SC_CHANGEUNDEAD: //Undead/Dark are inmune to it. - if ((status->def_ele == ELE_DARK || undead_flag) && !(flag&1)) - return 0; - break; - case SC_COMA: - //Dark elementals and Demons are inmune to coma. - if((status->def_ele == ELE_DARK || status->race == RC_DEMON) && !(flag&1)) - return 0; - break; case SC_SIGNUMCRUCIS: //Only affects demons and undead. if(status->race != RC_DEMON && !undead_flag) |