diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-04-05 21:25:42 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-04-07 15:28:26 +0200 |
commit | 6cefca4c3f1ded484c4e00aeb9a660f131a48b16 (patch) | |
tree | 465f7117b764f7cecdfab6e2aa27861538f37735 /lib/scpt/spells.lua | |
parent | 1a5636844a5ac885821a1562e38e8f97631fe9d2 (diff) |
Lua: Move spell school usages of HOOK_CALC_BONUS to C
Diffstat (limited to 'lib/scpt/spells.lua')
-rw-r--r-- | lib/scpt/spells.lua | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/scpt/spells.lua b/lib/scpt/spells.lua index 2f90c10b..24b4f02b 100644 --- a/lib/scpt/spells.lua +++ b/lib/scpt/spells.lua @@ -42,14 +42,6 @@ SCHOOL_AIR = add_school ["skill"] = SKILL_AIR, ["spell_power"] = TRUE, ["sorcery"] = TRUE, - ["hooks"] = - { - [HOOK_CALC_BONUS] = function() - if get_skill(SKILL_AIR) >= 50 then - player.magical_breath = TRUE - end - end, - }, ["gods"] = { -- Manwe Sulimo provides the Air school at 2/3 the prayer skill @@ -67,14 +59,6 @@ SCHOOL_WATER = add_school ["skill"] = SKILL_WATER, ["spell_power"] = TRUE, ["sorcery"] = TRUE, - ["hooks"] = - { - [HOOK_CALC_BONUS] = function() - if get_skill(SKILL_WATER) >= 30 then - player.water_breath = TRUE - end - end, - }, ["gods"] = { -- Yavanna Kementari provides the Water school at 1/2 the prayer skill |