question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

getPlayable does not work correctly with all spell reduction abilities (e.g. Mystical Dispute) or with targeting conditions for the cost reduction

See original GitHub issue

I was unable to cast a Mystical Dispute on my opponent’s Mystical Dispute targeting my blue spell with one mana open for it. My opponent was at 3 mana and paid 1 to cast his.

Check and fix:

  • AbilitiesCostReductionControllerEffect.java
  • AffinityEffect.java
  • BantPlane.java
  • CommanderCostModification.java
  • ConditionalCostModificationEffect.java
  • CostModificationSourceEffect.java
  • EscalateAbility.java
  • FeedingGroundsPlane.java
  • !!! OfferingAbility.java
  • SourceCostReductionForEachCardInGraveyardEffect.java (removed)
  • SpellCostReductionSourceEffect.java
  • SpellCostReductionForEachSourceEffect
  • SpellCostReductionSourceForOpponentsEffect.java (removed)
  • SpellsCostIncreasementAllEffect.java (removed)
  • SpellsCostIncreasingAllEffect.java
    • DampingSphereIncreasementAllEffect
  • SpellsCostIncreasementControllerEffect.java (removed)
  • SpellsCostReductionAllEffect.java
    • SpellsCostReductionAllOfChosenSubtypeEffect
    • SpellsCostReductionAllOfChosenCardTypeEffect
  • SpellsCostReductionControllerEffect.java
    • CentaurOmenreaderSpellsCostReductionEffect
  • StriveAbility.java
  • TurriIslandPlane.java
  • SpellsCostModificationThatTargetSourceEffect.java

Use checkplayable state:

  • search by public void adjustCosts(

Refactor to standard method, search by cast that target (fix example):

  • AccursedWitch.java
  • AncientStoneIdol.java
  • AngelOfJubilation.java
  • AnimarSoulOfElements.java
  • ArcaneMelee.java
  • AuraOfSilence.java
  • AvatarOfFury.java
  • AvatarOfHope.java
  • xxx BattlefieldThaumaturge.java
  • BiomancersFamiliar.java
  • BlasphemousAct.java
  • BonePicker.java
  • BorealElemental.java
  • BrineGiant.java
  • BrutalSuppression.java
  • CallapheBelovedOfTheSea.java
  • CatalystStone.java
  • ChandrasIncinerator.java
  • CloudKey.java
  • CouncilOfTheAbsolute.java
  • DefenseGrid.java
  • DovinHandOfControl.java
  • Draco.java
  • Drought.java
  • EchoBaseCommando.java
  • EidolonOfObstruction.java
  • ElderwoodScion.java
  • ElspethConquersDeath.java
  • EmbalmersTools.java
  • Embercleave.java
  • EmrakulThePromisedEnd.java
  • EmryLurkerOfTheLoch.java
  • FerventChampion.java
  • Fluctuator.java
  • GateColossus.java
  • GaviNestWarden.java
  • GearseekerSerpent.java
  • GhaltaPrimalHunger.java
  • Gloom.java
  • Glowrider.java
  • GodPharaohsStatue.java
  • GrandArbiterAugustinIV.java
  • HardenedBerserker.java
  • Heartstone.java
  • HeraldOfWar.java
  • HollowOne.java
  • HumOfTheRadix.java
  • IcefallRegent.java
  • InfectiousCurse.java
  • JubilantSkybonder.java
  • KaerveksTorch.java
  • KaradorGhostChieftain.java
  • KasminaEnigmaticMentor.java
  • KopalaWardenOfWaves.java
  • LiciaSanguineTribune.java
  • LocketOfYesterdays.java
  • LodestoneGolem.java
  • LoreseekersStone.java
  • MemoryCrystal.java
  • MetalworkColossus.java
  • MizzixOfTheIzmagnus.java
  • MobilizedDistrict.java
  • MonasterySiege.java
  • MythUnbound.java
  • NemesisOfMortals.java
  • NewPerspectives.java
  • OppressiveRays.java
  • PowerArtifact.java
  • PrimevalProtector.java
  • Pteramander.java
  • PursuedWhale.java
  • RakdosLordOfRiots.java
  • RisenExecutioner.java
  • SaheeliTheGifted.java
  • SealOfTheGuildpact.java
  • SemblanceAnvil.java
  • SenatorLottDod.java
  • SpellwildOuphe.java
  • SphinxOfNewPrahv.java
  • StoneIdolTrap.java
  • Stratadon.java
  • SuppressionField.java
  • SyrElenoraTheDiscerning.java
  • TerrorOfThePeaks.java
  • ThaliaGuardianOfThraben.java
  • TheCauldronOfEternity.java
  • TheCircleOfLoyalty.java
  • TheGreatHenge.java
  • TitheTaker.java
  • TorgaarFamineIncarnate.java
  • TrainingGrounds.java
  • Trinisphere.java
  • ValiantChangeling.java
  • VolcanicSalvo.java
  • VrynWingmare.java
  • Warbringer.java
  • ZirdaTheDawnwaker.java

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Zerrisxcommented, Jun 22, 2020

In that case, let’s create a master issue (it could be this one) for this and start adding every card that gets reported to it, while closing all the individual card issues as duplicates. #6680, #6685, #6696, and the reports in discord that you can’t cast spells with an untapped Chrome Mox in play were probably all issues revealed by this.

1reaction
Zerrisxcommented, Jun 22, 2020

That sounds right to me. There are a lot of ways to cast a card that might be hard to calculate. For example, if you want to use Selvala, Explorer Returned without worrying about opponents getting priority due to effects triggering off the card draw, it is the strategically correct play to put a sometimes as-yet unaffordable spell on the stack. A player shouldn’t be hard locked out of that option.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spell Cost Reduction? : r/skyrimrequiem - Reddit
You can enchant four pieces with 18% cost reduction each, up to 72% with full perks only. Then you can use potions to...
Read more >
Mystical Dispute - Regional Championship Qualifiers 2023
This spell costs {2} less to cast if it targets a blue spell. Counter target spell unless its controller pays {3} . Illustrated...
Read more >
J E M S 2-2013 8-2019 - FUPRESS
We are not in a no-man's-land, but, rather, in a recurrent situation of collaboration, which is far more important than the ability to...
Read more >
Untitled
... monthly 0.5 2016-04-16 https://boardgamegeek.com/thread/1560979/would-work-group-5-people-2-non-gamers monthly 0.5 2016-04-16 ...
Read more >
Blue Rose by Kai Tave - RPG Writeups
Blue Rose came out at a time when everyone and their dog was publishing d20-compatible fantasy RPG material and while Green Ronin is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found