Viewing Issue Simple Details
[ Jump to Notes ]
[ Wiki ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0006971 |
[DCSS] Patches |
minor |
always |
2013-04-27 23:44 |
2013-08-10 22:47 |
|
Reporter |
BlackSheep |
View Status |
public |
|
Assigned To |
neil |
Priority |
normal |
Resolution |
done |
|
Status |
closed |
|
Product Branch |
0.13 ancient branch |
|
Summary |
0006971: TSO shapeshifter quibble |
Description |
The Shining One dislikes it when you hit distracted/disabled enemies unless they're undead, demonic or of less-than-normal intelligence. I think it would make sense to exclude shapeshifters from the restrictions, as well, not because he has any special regard for them, but because it makes little sense for it to be ok to shoot a "yak" one turn and then not ok to shoot the "elf" that it turned into later. There are already special cases in the game for Jiyva and Beogh for shapeshifters, and I think TSO merits one, too. |
Additional Information |
|
Tags |
No tags attached. |
|
Attached Files |
0001-Exclude-shapeshifters-from-unchivalric-attack-determ.patch [^] (813 bytes) 2013-04-27 23:44 [Show Content] [Hide Content]From d0f7487ea84661ba82d4d9285387948630bb9d0c Mon Sep 17 00:00:00 2001
From: BlackSheep <chris.terenzi@gmail.com>
Date: Sat, 27 Apr 2013 17:40:41 -0400
Subject: [PATCH] Exclude shapeshifters from unchivalric attack determination
---
crawl-ref/source/religion.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index be20b59..e4bad46 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -4244,6 +4244,7 @@ bool tso_unchivalric_attack_safe_monster(const monster* mon)
const mon_holy_type holiness = mon->holiness();
return (mons_intel(mon) < I_NORMAL
|| mon->undead_or_demonic()
+ || mon->is_shapeshifter()
|| !mon->is_holy() && holiness != MH_NATURAL);
}
--
1.7.9.5
|
|