From d2dad92cd1c4f7cb560c5920421760be901cc9f7 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 2 Aug 2006 21:00:45 +0000 Subject: - 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 --- Changelog-Trunk.txt | 4 ++++ src/map/skill.c | 4 ++-- src/map/status.c | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index e84bc2143..13f1dd811 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,10 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2006/08/02 + * Fixed failing to create Deadly Poison Bottles damaging 50% of your max + life instead of 25% [Skotlex] + * Added the missing status-change flags to SC_FREEZE to signal it should + modify def and magic def [Skotlex] * Little add on NJ_HUUMA [Toms] * Merged Mpeg's work on Ninja skills [Toms] * Fixed Martyr's Reckoning having a cap damage of 32k. [Skotlex] 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; -- cgit v1.2.3-70-g09d2