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/mods | |
parent | 1a5636844a5ac885821a1562e38e8f97631fe9d2 (diff) |
Lua: Move spell school usages of HOOK_CALC_BONUS to C
Diffstat (limited to 'lib/mods')
-rw-r--r-- | lib/mods/theme/scpt/spells.lua | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/mods/theme/scpt/spells.lua b/lib/mods/theme/scpt/spells.lua index 838240a3..9f18ee3a 100644 --- a/lib/mods/theme/scpt/spells.lua +++ b/lib/mods/theme/scpt/spells.lua @@ -44,10 +44,6 @@ SCHOOL_FIRE = add_school ["sorcery"] = TRUE, ["hooks"] = { - [HOOK_CALC_BONUS] = function() - if get_skill(SKILL_FIRE) >= 35 then - end - end, [HOOK_CALC_POWERS] = function() if get_skill(SKILL_FIRE) >= 50 then -- player.add_power(PWR_FIRE_SHAPE) @@ -73,11 +69,6 @@ SCHOOL_AIR = add_school ["sorcery"] = TRUE, ["hooks"] = { - [HOOK_CALC_BONUS] = function() - if get_skill(SKILL_AIR) >= 50 then - player.magical_breath = TRUE - end - end, [HOOK_CALC_POWERS] = function() if get_skill(SKILL_AIR) >= 50 then -- player.add_powe(PWR_AIR_SHAPE) @@ -103,11 +94,6 @@ SCHOOL_WATER = add_school ["sorcery"] = TRUE, ["hooks"] = { - [HOOK_CALC_BONUS] = function() - if get_skill(SKILL_WATER) >= 30 then - player.water_breath = TRUE - end - end, [HOOK_CALC_POWERS] = function() if get_skill(SKILL_WATER) >= 50 then -- player.add_powe(PWR_WATER_SHAPE) |