Commit 3c532fec authored by Huangnan's avatar Huangnan

Merge branch 'new-fusion-proper-material-check' into 'master'

fix material limitation of サイバー・ダーク・キメラ

See merge request mycard/pre-release-database-cdb!202
parents 5bc4dd16 4d45d23d
...@@ -2785,9 +2785,9 @@ function FusionSpell.GetMaterialsGroupForTargetCard( ...@@ -2785,9 +2785,9 @@ function FusionSpell.GetMaterialsGroupForTargetCard(
mg=mg:Filter(aux.NOT(Card.IsImmuneToEffect),nil,e) mg=mg:Filter(aux.NOT(Card.IsImmuneToEffect),nil,e)
--- filter out card can not be material --- filter out card can not be material
--- comment out, currently core can not return correct value if affected by EFFECT_EXTRA_FUSION_MATERIAL. --- comment out, currently core can not return correct value if affected by EFFECT_EXTRA_FUSION_MATERIAL.
--mg=mg:Filter(Card.IsCanBeFusionMaterial,tc) --mg=mg:Filter(Card.IsCanBeFusionMaterial,nil,tc,sumtype)
--- workaround until core fixes --- workaround until core fixes
mg=mg:Filter(FusionSpell.IsCanBeFusionMaterial,tc,sumtype) mg=mg:Filter(function(mc) return FusionSpell.IsCanBeFusionMaterial(mc,tc,sumtype) end,nil)
--- in order to be qualified for being material, it need to be able to perform the operation. --- in order to be qualified for being material, it need to be able to perform the operation.
--- @param mc Card --- @param mc Card
mg=mg:Filter(function(mc) mg=mg:Filter(function(mc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment