diff options
Diffstat (limited to 'crawl-ref/source/dat/des/altar/trog_wizard.des')
-rw-r--r-- | crawl-ref/source/dat/des/altar/trog_wizard.des | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/crawl-ref/source/dat/des/altar/trog_wizard.des b/crawl-ref/source/dat/des/altar/trog_wizard.des index 9627fa6890..1f91c2f3fa 100644 --- a/crawl-ref/source/dat/des/altar/trog_wizard.des +++ b/crawl-ref/source/dat/des/altar/trog_wizard.des @@ -31,8 +31,16 @@ function callback.trog_wizard_convert_wizard(data, triggerable, end dgn.place_cloud(_x, _y, "flame", 15) - crawl.god_speaks("Trog", "Flames erupt from the bowels of the wizard! " - .. "Trog roars with satisfaction!") + local mons = dgn.mons_at(_x, _y) + if mons and mons.base_name == "wizard" then + crawl.god_speaks("Trog", "Flames erupt from the bowels of the wizard! " + .. "Trog roars with satisfaction!") + else + crawl.god_speaks("Trog", "Flames erupt from the wizard's " + .. (mons and "" or "empty ") + .. "cell! " + .. "Trog roars with frustration!") + end data.triggered = true end end |