There was an error while loading. Please reload this page.
1 parent 58d440e commit 9640eb9Copy full SHA for 9640eb9
1 file changed
HearthDb/Card.cs
@@ -205,6 +205,6 @@ public string GetLocText(Locale lang)
205
public bool Reborn => _reborn ??= Entity.GetTag(REBORN) > 0;
206
207
private bool? _deathrattle;
208
- public bool Deathrattle => _deathrattle ??= Entity.GetTag(DEATHRATTLE) > 0;
+ public bool Deathrattle => _deathrattle ??= (Entity.GetTag(DEATHRATTLE) > 0 || Entity.GetLocString(CARDTEXT_INHAND, Locale.enUS)?.Contains("Deathrattle:") ?? false);
209
}
210
0 commit comments