summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-01-08 22:46:45 +0100
committerBardur Arantsson <bardur@scientician.net>2010-01-08 23:46:24 +0100
commit9e22bbbff2d3c7922c6f05777b306a41b5d56782 (patch)
treee5b11041ceb063d1ae27acc22fb651d74be1cf27
parent3d4703c91748560548196824e53ede19e4b99ebb (diff)
Import fix from CVS: Make Abomination mimicry cloaks aggravate properly.
-rw-r--r--changes.txt1
-rw-r--r--lib/core/mimc_aux.lua3
2 files changed, 3 insertions, 1 deletions
diff --git a/changes.txt b/changes.txt
index ff3e998d..def6cae9 100644
--- a/changes.txt
+++ b/changes.txt
@@ -3,6 +3,7 @@ T.o.M.E 2.3.6
- Don't generate impassable glass walls.
- Mark *all* quest monsters properly.
- Avoid generating up staircases in selected dungeons.
+- Mimicry cloaks of Abomination now aggravate properly.
diff --git a/lib/core/mimc_aux.lua b/lib/core/mimc_aux.lua
index c37a869b..cea1f4dc 100644
--- a/lib/core/mimc_aux.lua
+++ b/lib/core/mimc_aux.lua
@@ -90,6 +90,7 @@ add_mimic_shape
["rarity"] = 101,
["duration"] = {20, 100},
["calc"] = function ()
- apply_flags(TR1_SPEED + TR1_STR + TR1_INT + TR1_WIS + TR1_DEX + TR1_CON + TR1_CHR, 0, TR3_AGGRAVATE, 0, 0, 0, -10)
+ apply_flags(TR1_SPEED + TR1_STR + TR1_INT + TR1_WIS + TR1_DEX + TR1_CON + TR1_CHR, 0, 0, 0, 0, 0, -10)
+ player.xtra_f3 = bor(player.xtra_f3, TR3_AGGRAVATE)
end,
}