diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-05-29 06:25:07 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-05-29 18:18:10 +0200 |
commit | d98a999477698bb0a304c4995df44f2b7ef5389d (patch) | |
tree | e0d30c7a705368f7991371a143a9c4c7b06faf60 /lib/mods/theme/scpt/s_eru.lua | |
parent | 127f4d6985d998c65d958907758e474edb29ceec (diff) |
Lua: Convert all the spell metadata to C code
(Yay automated translation!)
Diffstat (limited to 'lib/mods/theme/scpt/s_eru.lua')
-rw-r--r-- | lib/mods/theme/scpt/s_eru.lua | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/lib/mods/theme/scpt/s_eru.lua b/lib/mods/theme/scpt/s_eru.lua deleted file mode 100644 index d61b6118..00000000 --- a/lib/mods/theme/scpt/s_eru.lua +++ /dev/null @@ -1,88 +0,0 @@ --- Handle Eru Iluvatar magic school - -ERU_SEE = add_spell -{ - ["name"] = "See the Music", - ["school"] = {SCHOOL_ERU}, - ["level"] = 1, - ["mana"] = 1, - ["mana_max"] = 50, - ["fail"] = 20, - -- Uses piety to cast - ["piety"] = TRUE, - ["stat"] = A_WIS, - -- Unnafected by blindness - ["blind"] = FALSE, - ["random"] = SKILL_SPIRITUALITY, - ["spell"] = function() return eru_see_the_music() end, - ["info"] = function() return eru_see_the_music_info() end, - ["desc"] = { - "Allows you to 'see' the Great Music from which the world", - "originates, allowing you to see unseen things", - "At level 10 it allows you to see your surroundings", - "At level 20 it allows you to cure blindness", - "At level 30 it allows you to fully see all the level" - } -} - -ERU_LISTEN = add_spell -{ - ["name"] = "Listen to the Music", - ["school"] = {SCHOOL_ERU}, - ["level"] = 7, - ["mana"] = 15, - ["mana_max"] = 200, - ["fail"] = 25, - -- Uses piety to cast - ["piety"] = TRUE, - ["stat"] = A_WIS, - ["random"] = SKILL_SPIRITUALITY, - ["spell"] = function() return eru_listen_to_the_music() end, - ["info"] = function() return eru_listen_to_the_music_info() end, - ["desc"] = { - "Allows you to listen to the Great Music from which the world", - "originates, allowing you to understand the meaning of things", - "At level 14 it allows you to identify all your pack", - "At level 30 it allows you to identify all items on the level", - } -} - -ERU_UNDERSTAND = add_spell -{ - ["name"] = "Know the Music", - ["school"] = {SCHOOL_ERU}, - ["level"] = 30, - ["mana"] = 200, - ["mana_max"] = 600, - ["fail"] = 50, - -- Uses piety to cast - ["piety"] = TRUE, - ["stat"] = A_WIS, - ["random"] = SKILL_SPIRITUALITY, - ["spell"] = function() return eru_know_the_music() end, - ["info"] = function() return eru_know_the_music_info() end, - ["desc"] = { - "Allows you to understand the Great Music from which the world", - "originates, allowing you to know the full abilities of things", - "At level 10 it allows you to *identify* all your pack", - } -} - -ERU_PROT = add_spell -{ - ["name"] = "Lay of Protection", - ["school"] = {SCHOOL_ERU}, - ["level"] = 35, - ["mana"] = 400, - ["mana_max"] = 400, - ["fail"] = 80, - -- Uses piety to cast - ["piety"] = TRUE, - ["stat"] = A_WIS, - ["random"] = SKILL_SPIRITUALITY, - ["spell"] = function() return eru_lay_of_protection() end, - ["info"] = function() return eru_lay_of_protection_info() end, - ["desc"] = { - "Creates a circle of safety around you", - } -} |