diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-02 21:00:45 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-02 21:00:45 +0000 |
commit | d2dad92cd1c4f7cb560c5920421760be901cc9f7 (patch) | |
tree | 9f37bf89bcb8f5491b1d32cd8553424dcbd6d80b /src/map | |
parent | 833fa2b474c0eeca359f4f28b09cccd501066918 (diff) | |
download | hercules-d2dad92cd1c4f7cb560c5920421760be901cc9f7.tar.gz hercules-d2dad92cd1c4f7cb560c5920421760be901cc9f7.tar.bz2 hercules-d2dad92cd1c4f7cb560c5920421760be901cc9f7.tar.xz hercules-d2dad92cd1c4f7cb560c5920421760be901cc9f7.zip |
- Fixed failing to create Deadly Poison Bottles damaging 50% of your max life instead of 25%
- Added the missing status-change flags to SC_FREEZE to signal it should modify def and magic def
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8070 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 4 | ||||
-rw-r--r-- | src/map/status.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index ad0efe30c..098101f65 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -10575,8 +10575,8 @@ int skill_produce_mix (struct map_session_data *sd, int skill_id, int nameid, in clif_misceffect(&sd->bl,2); } else { switch (skill_id) { - case ASC_CDP: //50% Damage yourself, and display same effect as failed potion. - status_percent_damage(NULL, &sd->bl, -50, 0); + case ASC_CDP: //25% Damage yourself, and display same effect as failed potion. + status_percent_damage(NULL, &sd->bl, -25, 0); case AM_PHARMACY: case AM_TWILIGHT1: case AM_TWILIGHT2: diff --git a/src/map/status.c b/src/map/status.c index 5969cf7c9..7aeaa39ae 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -108,7 +108,7 @@ void initChangeTables(void) { //These are the status-change flags for the common ailments. StatusChangeFlagTable[SC_STONE] = SCB_DEF_ELE; - StatusChangeFlagTable[SC_FREEZE] = SCB_DEF_ELE; + StatusChangeFlagTable[SC_FREEZE] = SCB_DEF_ELE|SCB_DEF|SCB_MDEF; // StatusChangeFlagTable[SC_STUN] = SCB_NONE; // StatusChangeFlagTable[SC_SLEEP] = SCB_NONE; StatusChangeFlagTable[SC_POISON] = SCB_DEF2; |