diff options
Diffstat (limited to 'lib/mods')
-rw-r--r-- | lib/mods/theme/scpt/corrupt.lua | 8 | ||||
-rw-r--r-- | lib/mods/theme/scpt/misc.lua | 12 |
2 files changed, 0 insertions, 20 deletions
diff --git a/lib/mods/theme/scpt/corrupt.lua b/lib/mods/theme/scpt/corrupt.lua index f3ae60eb..5cacd2b7 100644 --- a/lib/mods/theme/scpt/corrupt.lua +++ b/lib/mods/theme/scpt/corrupt.lua @@ -129,14 +129,6 @@ CORRUPT_DEMON_BREATH = add_corruption [HOOK_CALC_POWERS] = function() player.add_power(PWR_BR_FIRE) end, - [HOOK_QUAFF] = function(obj) - if magik(9) == TRUE then - msg_print("Your demon breath spoils the potion!") - return TRUE, FALSE - else - return FALSE - end - end, }, } diff --git a/lib/mods/theme/scpt/misc.lua b/lib/mods/theme/scpt/misc.lua index 6738b8f3..17eba40f 100644 --- a/lib/mods/theme/scpt/misc.lua +++ b/lib/mods/theme/scpt/misc.lua @@ -164,18 +164,6 @@ add_building_action end } --- function to make Melkor like it if a player quaffs potions of corruption -function melkor_potion_corruption(object) - if (player.pgod == GOD_MELKOR) then - if (object.tval == TV_POTION) and (object.sval == SV_POTION_MUTATION) then - msg_print("Your quaffing of this potion pleases Melkor!") - set_grace(player.grace + 2) - return FALSE - end - end -end -add_hook_script(HOOK_QUAFF, "melkor_potion_corruption", "melkor_potion_corruption") - -- function to check for Key of Orthanc before proceeding to the final level in Isengard add_hooks { |