Commit 81a1b411 authored by Vury Leo's avatar Vury Leo

Add has_same

parent 5ca698c3
......@@ -2,7 +2,7 @@
local s,id,o=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,s.ffilter,2,true)
-- aux.AddFusionProcFunRep(c,s.ffilter,2,true)
Fusion.AddFusionProcedure(c,{
slots={
Fusion.Slot.Group({
......@@ -10,7 +10,7 @@ function s.initial_effect(c)
max=2,
unique_by=function(mc) return { mc:GetCode(),mc:GetFusionCode() } end,
has_same={
function(mc) return mc:GetFusionAttribute() end,
function(mc,tc) return mc:GetFusionAttribute(tc:GetOwner()) end,
function(mc) return mc:GetRace() end,
}
})
......
This diff is collapsed.
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