diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-04-05 21:36:53 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-04-07 15:28:26 +0200 |
commit | a222834aca2090772fec130ded728424a5e790d6 (patch) | |
tree | ac0639ec9e4f908dbe1f9cb4e74f14bacb6a1d0f /lib/mods/theme/scpt | |
parent | 6cefca4c3f1ded484c4e00aeb9a660f131a48b16 (diff) |
Lua: Remove dead code from Theme spells.lua
Diffstat (limited to 'lib/mods/theme/scpt')
-rw-r--r-- | lib/mods/theme/scpt/spells.lua | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/mods/theme/scpt/spells.lua b/lib/mods/theme/scpt/spells.lua index 9f18ee3a..36829356 100644 --- a/lib/mods/theme/scpt/spells.lua +++ b/lib/mods/theme/scpt/spells.lua @@ -42,14 +42,6 @@ SCHOOL_FIRE = add_school ["skill"] = SKILL_FIRE, ["spell_power"] = TRUE, ["sorcery"] = TRUE, - ["hooks"] = - { - [HOOK_CALC_POWERS] = function() - if get_skill(SKILL_FIRE) >= 50 then --- player.add_power(PWR_FIRE_SHAPE) - end - end, - }, ["gods"] = { -- Aule provides the Fire school at 3/5 the prayer skill @@ -67,14 +59,6 @@ SCHOOL_AIR = add_school ["skill"] = SKILL_AIR, ["spell_power"] = TRUE, ["sorcery"] = TRUE, - ["hooks"] = - { - [HOOK_CALC_POWERS] = function() - if get_skill(SKILL_AIR) >= 50 then --- player.add_powe(PWR_AIR_SHAPE) - end - end, - }, ["gods"] = { -- Manwe Sulimo provides the Air school at 2/3 the prayer skill @@ -92,14 +76,6 @@ SCHOOL_WATER = add_school ["skill"] = SKILL_WATER, ["spell_power"] = TRUE, ["sorcery"] = TRUE, - ["hooks"] = - { - [HOOK_CALC_POWERS] = function() - if get_skill(SKILL_WATER) >= 50 then --- player.add_powe(PWR_WATER_SHAPE) - end - end, - }, ["gods"] = { -- Yavanna Kementari provides the Water school at 1/2 the prayer skill @@ -124,14 +100,6 @@ SCHOOL_EARTH = add_school ["skill"] = SKILL_EARTH, ["spell_power"] = TRUE, ["sorcery"] = TRUE, - ["hooks"] = - { - [HOOK_CALC_POWERS] = function() - if get_skill(SKILL_EARTH) >= 50 then --- player.add_powe(PWR_EARTH_SHAPE) - end - end, - }, ["gods"] = { -- Tulkas provides the Earth school at 4/5 the prayer skill |