* Orah, Skyclave Hierophant - Fixed that his ability was also triggerd for opponents clerics dying (fixes #7196).

This commit is contained in:
LevelX2 2020-11-24 09:46:17 +01:00
parent 8c33fa863c
commit 3bc3ca6a50

View file

@ -66,8 +66,10 @@ class OrahSkyclaveHierophantTriggeredAbility extends TriggeredAbilityImpl {
public boolean checkTrigger(GameEvent event, Game game) {
ZoneChangeEvent zEvent = (ZoneChangeEvent) event;
if (!zEvent.isDiesEvent()
|| !zEvent.getTarget().isControlledBy(getControllerId())
|| (!zEvent.getTarget().hasSubtype(SubType.CLERIC, game)
&& !zEvent.getTarget().getId().equals(getSourceId()))) {
&& !zEvent.getTarget().getId().equals(getSourceId()))
) {
return false;
}
FilterCard filterCard = new FilterCard(