Commit d27fdb16 authored by salix5's avatar salix5

fix

parent 4772c650
...@@ -2218,12 +2218,12 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card * target) { ...@@ -2218,12 +2218,12 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card * target) {
send_to(&cset, 0, REASON_RULE, sumplayer, sumplayer, LOCATION_GRAVE, 0, 0); send_to(&cset, 0, REASON_RULE, sumplayer, sumplayer, LOCATION_GRAVE, 0, 0);
adjust_instant(); adjust_instant();
add_process(PROCESSOR_POINT_EVENT, 0, 0, 0, FALSE, 0); add_process(PROCESSOR_POINT_EVENT, 0, 0, 0, FALSE, 0);
if(pgroup->container.size() == 0)
return TRUE;
return FALSE; return FALSE;
} }
case 27: { case 27: {
group* pgroup = core.units.begin()->ptarget; group* pgroup = core.units.begin()->ptarget;
if(pgroup->container.size() == 0)
return TRUE;
for(auto oeit = effects.oath.begin(); oeit != effects.oath.end(); ++oeit) for(auto oeit = effects.oath.begin(); oeit != effects.oath.end(); ++oeit)
if(oeit->second == core.units.begin()->peffect) if(oeit->second == core.units.begin()->peffect)
oeit->second = 0; oeit->second = 0;
......
...@@ -73,7 +73,6 @@ function Auxiliary.EnableDualAttribute(c) ...@@ -73,7 +73,6 @@ function Auxiliary.EnableDualAttribute(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DUAL_SUMMONABLE) e1:SetCode(EFFECT_DUAL_SUMMONABLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
......
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