Commit f087ee85 authored by nekrozar's avatar nekrozar

fix is_player_can_spsummon by equipped token

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=19254

なお、装備カード扱いとなっている「フォトントークン」を『③:自分・相手のエンドフェイズに、このカードの効果で装備したモンスターカード1枚を対象として発動できる。そのカードを自分フィールドに特殊召喚する』モンスター効果を発動する際の対象として選択する事はできません。
parent e78e83af
......@@ -2955,6 +2955,8 @@ int32 field::is_player_can_spsummon(effect* peffect, uint32 sumtype, uint8 sumpo
return FALSE;
if(pcard->is_status(STATUS_FORBIDDEN))
return FALSE;
if((pcard->data.type & TYPE_TOKEN) && (pcard->current.location & LOCATION_ONFIELD))
return FALSE;
if(pcard->data.type & TYPE_LINK)
sumpos &= POS_FACEUP_ATTACK;
if(sumpos == 0)
......
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