diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-04-06 16:00:55 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-04-07 15:28:26 +0200 |
commit | 893ab1125bb3d25c184750aa146d3d6f5d82aa10 (patch) | |
tree | dc6bd22fc15a3d895ee5aaada91a6c2e2940ae0c /lib/core/player.lua | |
parent | bf358f4520ea47059e02237892955edaa24c8be9 (diff) |
Lua: Refactor vampire corruption logic to C
Diffstat (limited to 'lib/core/player.lua')
-rw-r--r-- | lib/core/player.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/core/player.lua b/lib/core/player.lua index 16878228..03e9824f 100644 --- a/lib/core/player.lua +++ b/lib/core/player.lua @@ -123,13 +123,3 @@ add_hook_script(HOOK_MKEY, "__mkey_fct_activate", "__mkey_fct_activate") function subrace(racem) return race_mod_info[racem + 1] end - -function subrace_add_power(subrace, power) - for i = 1, 4 do - if subrace.powers[i] == -1 then - subrace.powers[i] = power - return not nil - end - end - return nil -end |