mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Merge branch 'effect' into 'master'
Effects/Emblems with set code/rarity to match host See merge request core-developers/forge!3480
This commit is contained in:
@@ -137,6 +137,8 @@ public class EffectEffect extends SpellAbilityEffect {
|
|||||||
|
|
||||||
for (Player controller : effectOwner) {
|
for (Player controller : effectOwner) {
|
||||||
final Card eff = createEffect(sa, controller, name, image);
|
final Card eff = createEffect(sa, controller, name, image);
|
||||||
|
eff.setSetCode(sa.getHostCard().getSetCode());
|
||||||
|
eff.setRarity(sa.getHostCard().getRarity());
|
||||||
|
|
||||||
// Grant SVars first in order to give references to granted abilities
|
// Grant SVars first in order to give references to granted abilities
|
||||||
if (effectSVars != null) {
|
if (effectSVars != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user