[MIR] Implement Torrent of Lava (#11664)

* [MIR] Implement Torrent of Lava

* Show id of the ToL on the stack in the gained ability text
This commit is contained in:
Cameron Merkel 2024-02-14 23:22:06 -06:00 committed by GitHub
parent 50d44c5f24
commit 39fee40e5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 140 additions and 1 deletions

View file

@ -111,7 +111,11 @@ public final class GameLog {
}
public static String getColoredObjectIdNameForTooltip(MageObject mageObject) {
return "<font color='" + getTooltipColorName(mageObject.getColor(null)) + "'>" + mageObject.getIdName() + "</font>";
return getColoredObjectIdNameForTooltip(mageObject.getColor(null), mageObject.getIdName());
}
public static String getColoredObjectIdNameForTooltip(ObjectColor color, String idName) {
return "<font color='" + getTooltipColorName(color) + "'>" + idName + "</font>";
}
public static String getNeutralColoredText(String text) {