more golem stone-to-flesh
Since all golem statues are stone, make them all become flesh.
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ Never say "It moves only reluctantly"
|
|||||||
expert fireball/cone of cold could not target a monster seen only with
|
expert fireball/cone of cold could not target a monster seen only with
|
||||||
infravision or ESP
|
infravision or ESP
|
||||||
display "lotus juice", not "lotu juice" for the fruit juice name
|
display "lotus juice", not "lotu juice" for the fruit juice name
|
||||||
statue of Stone golem hit with stone-to-flesh spell animates as flesh golem
|
statue of any golem hit with stone-to-flesh spell animates as flesh golem
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+5
-3
@@ -417,8 +417,8 @@ int *fail_reason;
|
|||||||
if (mon && mon->mtame && !mon->isminion)
|
if (mon && mon->mtame && !mon->isminion)
|
||||||
wary_dog(mon, TRUE);
|
wary_dog(mon, TRUE);
|
||||||
} else {
|
} else {
|
||||||
/* statue of Stone golem hit with Stone-to-flesh becomes flesh golem */
|
/* statue of any golem hit with stone-to-flesh becomes flesh golem */
|
||||||
if (statue->corpsenm == PM_STONE_GOLEM && cause == ANIMATE_SPELL)
|
if (is_golem(&mons[statue->corpsenm]) && cause == ANIMATE_SPELL)
|
||||||
mptr = &mons[PM_FLESH_GOLEM];
|
mptr = &mons[PM_FLESH_GOLEM];
|
||||||
else
|
else
|
||||||
mptr = &mons[statue->corpsenm];
|
mptr = &mons[statue->corpsenm];
|
||||||
@@ -454,8 +454,10 @@ int *fail_reason;
|
|||||||
if (mon->m_ap_type) seemimic(mon);
|
if (mon->m_ap_type) seemimic(mon);
|
||||||
else mon->mundetected = FALSE;
|
else mon->mundetected = FALSE;
|
||||||
if ((x == u.ux && y == u.uy) || cause == ANIMATE_SPELL) {
|
if ((x == u.ux && y == u.uy) || cause == ANIMATE_SPELL) {
|
||||||
|
const char *comes_to_life = nonliving(mon->data) ?
|
||||||
|
"moves" : "comes to life";
|
||||||
pline_The("statue %s!",
|
pline_The("statue %s!",
|
||||||
canspotmon(mon) ? "comes to life" : "disappears");
|
canspotmon(mon) ? comes_to_life : "disappears");
|
||||||
if (historic) {
|
if (historic) {
|
||||||
You_feel("guilty that the historic statue is now gone.");
|
You_feel("guilty that the historic statue is now gone.");
|
||||||
adjalign(-1);
|
adjalign(-1);
|
||||||
|
|||||||
Reference in New Issue
Block a user