summaryrefslogtreecommitdiff
path: root/lib/mods/theme/scpt/gods_new.lua
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-05 20:55:25 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-07 15:28:25 +0200
commitc92f7bf932d6e36c1aecd704a2a69d742ef7748d (patch)
treefbcc218187413a4e734d54de12194e53a9f00224 /lib/mods/theme/scpt/gods_new.lua
parentbfa8fa32382c89259dbf4f9301b316b7e0239344 (diff)
Lua: Remove HOOK_GF_EXEC and HOOK_GF_COLOR
Diffstat (limited to 'lib/mods/theme/scpt/gods_new.lua')
-rw-r--r--lib/mods/theme/scpt/gods_new.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/mods/theme/scpt/gods_new.lua b/lib/mods/theme/scpt/gods_new.lua
index 8153d453..9a020915 100644
--- a/lib/mods/theme/scpt/gods_new.lua
+++ b/lib/mods/theme/scpt/gods_new.lua
@@ -192,14 +192,6 @@ GOD_VARDA = add_god
player.cur_lite = player.cur_lite + 1
end
end,
- [HOOK_GF_EXEC] = function (target, who, type, dam, r, y, x, m_ptr)
- if (player.pgod == GOD_VARDA) then
- if ((type == GF_LITE) or (type == GF_LITE_WEAK)) then
- -- Raise piety for using lite
- set_grace(player.grace + 1)
- end
- end
- end,
},
}
@@ -276,14 +268,6 @@ GOD_ULMO = add_god
end
end
end,
- [HOOK_GF_EXEC] = function (target, who, type, dam, r, y, x, m_ptr)
- if (player.pgod == GOD_ULMO) then
- if ((type == GF_FIRE) or (type == GF_HELL_FIRE) or (type == GF_HOLY_FIRE) or (type == GF_LAVA_FLOW) or (type == GF_METEOR) or (type == GF_NUKE) or (type == GF_PLASMA)) then
- -- Reduce piety for using any kind of fire magic
- set_grace(player.grace - 5)
- end
- end
- end,
[HOOK_PROCESS_WORLD] = function()
if (player.pgod == GOD_ULMO) then
GRACE_DELAY = GRACE_DELAY + 1