mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-08-05 12:15:26 +01:00
Merge pull request #1791 from NeroOneTrueKing/patch-bandaid-bad-spell-target-msg
Bandaid spellcaster wildmiss message
This commit is contained in:
commit
1366a66d72
1 changed files with 1 additions and 1 deletions
|
@ -1869,7 +1869,7 @@ int tary;
|
|||
/* print spell-cast message */
|
||||
if (spellnum) {
|
||||
if ((youagr || (youdef && !is_undirected_spell(spellnum) && cansee(tarx, tary)) || canspotmon(magr)) && magr->mtyp != PM_HOUND_OF_TINDALOS) {
|
||||
if (is_undirected_spell(spellnum) || notarget)
|
||||
if (is_undirected_spell(spellnum) || notarget || (!foundem && distmin(x(mdef), y(mdef), tarx, tary) > 2))
|
||||
buf[0] = '\0';
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue