summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt4
-rw-r--r--src/map/skill.c4
-rw-r--r--src/map/status.c2
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;