diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-04-06 19:24:21 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-04-07 15:28:27 +0200 |
commit | 41b6617e992d3fedda4c0a93ddd0fa4ad834a2ae (patch) | |
tree | 14828062fd2d5faf7947feecae48ef6be1efcd00 /lib/scpt/player.lua | |
parent | 1de4221b9e906ce8324237943165c161f78b5e07 (diff) |
Lua: Refactor the "set" part of player.corruption() to C
Diffstat (limited to 'lib/scpt/player.lua')
-rw-r--r-- | lib/scpt/player.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/scpt/player.lua b/lib/scpt/player.lua index e8fb7e25..1c8da791 100644 --- a/lib/scpt/player.lua +++ b/lib/scpt/player.lua @@ -5,9 +5,9 @@ function __birth_hook_objects() -- Start the undeads, as undeads with the corruptions if get_subrace_name() == "Vampire" then - player.corruption(CORRUPT_VAMPIRE_TEETH, TRUE) - player.corruption(CORRUPT_VAMPIRE_STRENGTH, TRUE) - player.corruption(CORRUPT_VAMPIRE_VAMPIRE, TRUE) + player_gain_corruption(CORRUPT_VAMPIRE_TEETH) + player_gain_corruption(CORRUPT_VAMPIRE_STRENGTH) + player_gain_corruption(CORRUPT_VAMPIRE_VAMPIRE) end end |