summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_you.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-03-11 14:30:24 -0400
committerNeil Moore <neil@s-z.org>2013-03-11 14:30:24 -0400
commit4a659799ab21cb615ece32e70c27c28f91bf92cd (patch)
tree18718ace00226f68b578ab814eddcae120cd278d /crawl-ref/source/l_you.cc
parentd42d709c0449754bac859debc2e1c18dd317cdd5 (diff)
downloadcrawl-ref-4a659799ab21cb615ece32e70c27c28f91bf92cd.tar.gz
crawl-ref-4a659799ab21cb615ece32e70c27c28f91bf92cd.zip
Add you.phase_shifted() to Lua API (kek).
Diffstat (limited to 'crawl-ref/source/l_you.cc')
-rw-r--r--crawl-ref/source/l_you.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/l_you.cc b/crawl-ref/source/l_you.cc
index 4c8934e838..8c53e00004 100644
--- a/crawl-ref/source/l_you.cc
+++ b/crawl-ref/source/l_you.cc
@@ -149,6 +149,7 @@ LUARET1(you_extra_resistant, boolean, you.duration[DUR_RESISTANCE])
LUARET1(you_mighty, boolean, you.duration[DUR_MIGHT])
LUARET1(you_agile, boolean, you.duration[DUR_AGILITY])
LUARET1(you_brilliant, boolean, you.duration[DUR_BRILLIANCE])
+LUARET1(you_phase_shifted, boolean, you.duration[DUR_PHASE_SHIFT])
LUARET1(you_rotting, boolean, you.rotting)
LUARET1(you_silenced, boolean, silenced(you.pos()))
LUARET1(you_sick, boolean, you.disease)
@@ -414,6 +415,7 @@ static const struct luaL_reg you_clib[] =
{ "confused", you_confused },
{ "paralysed", you_paralysed },
{ "shrouded", you_shrouded },
+ { "phase_shifted", you_phase_shifted },
{ "swift", you_swift },
{ "caught", you_caught },
{ "asleep", you_asleep },