Commit 9d647674 authored by salix5's avatar salix5

field::special_summon_rule()

parent 5f68c7aa
......@@ -2308,11 +2308,11 @@ int32 field::special_summon_rule(uint16 step, uint8 sumplayer, card * target, ui
core.spsummon_once_map[sumplayer][*cit]++;
card_set cset;
for(auto cit = pgroup->container.begin(); cit != pgroup->container.end(); ++cit) {
(*cit)->set_status(STATUS_SUMMONING, TRUE);
if(!(*cit)->is_affected_by_effect(EFFECT_CANNOT_DISABLE_SPSUMMON)) {
raise_single_event(*cit, 0, EVENT_SPSUMMON, (*cit)->current.reason_effect, 0, (*cit)->current.reason_player, (*cit)->summon_player, 0);
cset.insert(*cit);
}
(*cit)->set_status(STATUS_SUMMONING, TRUE);
}
if(cset.size())
raise_event(&cset, EVENT_SPSUMMON, core.units.begin()->peffect, 0, sumplayer, PLAYER_NONE, 0);
......
......@@ -465,7 +465,7 @@ EFFECT_MATCH_KILL =300 --Match胜利(胜利龙)
EFFECT_SYNCHRO_CHECK =310 --基因组斗士
EFFECT_QP_ACT_IN_NTPHAND =311 --对方回合从自己手卡发动(失乐的圣女)
EFFECT_MUST_BE_SMATERIAL =312 --必须作为同调素材(波动龙 声子龙)
EFFECT_TO_GRAVE_REDIRECT_CB =313 --
EFFECT_TO_GRAVE_REDIRECT_CB =313 --重新指定去向(寶玉獸)
EFFECT_CHANGE_LEVEL_FINAL =314 --設定最終等級(銀河女王之光)
EFFECT_CHANGE_RANK_FINAL =315 --設定最終階級
EFFECT_SPSUMMON_PROC_G =320 --P召唤规则
......
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