mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Added Hazduhr the Abbot.
This commit is contained in:
@@ -111,6 +111,7 @@ public class EffectEffect extends SpellAbilityEffect {
|
||||
}
|
||||
|
||||
final Card eff = createEffect(hostCard, controller, name, image);
|
||||
eff.setEffectSource(hostCard);
|
||||
|
||||
// Grant SVars first in order to give references to granted abilities
|
||||
if (effectSVars != null) {
|
||||
|
||||
@@ -1863,7 +1863,12 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
sb.replace(start, start + 4, "\r\n");
|
||||
}
|
||||
|
||||
return sb.toString().replaceAll("CARDNAME", state.getName()).trim();
|
||||
String desc = sb.toString().replaceAll("CARDNAME", state.getName());
|
||||
if (getEffectSource() != null) {
|
||||
desc = desc.replace("EFFECTSOURCE", getEffectSource().getName());
|
||||
}
|
||||
|
||||
return desc;
|
||||
}
|
||||
|
||||
private StringBuilder abilityTextInstantSorcery(CardState state) {
|
||||
|
||||
Reference in New Issue
Block a user