diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-04-07 20:47:47 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-04-07 20:47:47 +0200 |
commit | 5ea970c82ba3119ca3a5ee68037aee7cdda6dfa3 (patch) | |
tree | 0ea4395ab8fe0cf0f6ff480228a3fb0964926fd7 /src/cmd7.c | |
parent | 23ead090b5c135702eb8b178d8c74cb347815c29 (diff) |
Lua: Moved mimicry to C
Diffstat (limited to 'src/cmd7.c')
-rw-r--r-- | src/cmd7.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -735,7 +735,7 @@ static int get_mimic_chance(int mimic) { s32b chance; - call_lua("get_mimic_info", "(d,s)", "d", mimic, "level", &chance); + chance = get_mimic_level(mimic); chance *= 3; chance -= get_skill_scale(SKILL_MIMICRY, 150); |