Fluorohydride / ygopro

A script engine for "yu-gi-oh!" and sample gui
GNU General Public License v2.0
1.82k stars 590 forks source link

Issue with SetUniqueOnField and Kaiju #1642

Closed destdev closed 8 years ago

destdev commented 8 years ago

Kaiju state, that there is can only be 1 Kaiju MONSTER. SetUniqueOnField checks the whole field, but according to the wording you should be able to control both, a Kaiju Monster and a Kaiju monster equipped by something (for example Relinquished).

Thus I'd like to ask for a function similar to SetUniqueOnField that only checks monster zones (or add a parameter to that function that does so). That would also help to provide a solution for that ugly effect chaos in Malefic monster scripts, which I'd like to avoid seeing in Kaiju ...

ghost commented 8 years ago

Konami has answered, "If Earthbound Immortal and Malefic are equipped, Earthbound Immortal and Malefic can be Normal or Special Summoned." So, you need something to replace the SetUniqueOnField.

Konami's Answer. 遊戯王OCG事務局です。

いつも遊戯王オフィシャルカードゲームをお楽しみいただき誠にありがとうございます。 ゲームルールについてお問い合わせいただいた件、下記のとおりご案内申し上げます。

Q. 「D-HERO Bloo-D」の効果で装備されている「Sin 青眼の白龍」がフィールドに既に存在する場合、手札から「Sin レインボー・ドラゴン」を特殊召喚できますか? また、「D-HERO Bloo-D」の効果で装備されている「地縛神 Ccapac Apu」がフィールドに既に存在する場合、手札から「地縛神 Uru」を通常召喚できますか? A. ご質問の場合、「Sin レインボー・ドラゴン」「地縛神 Uru」どちらも特殊召喚する事ができます。

destdev commented 8 years ago

Thank you for searching out that Konami Q&A. Yes, this is exactly what I have in mind. "something to replace SetUniqueOnField". So far we can only make a copy of that Malefic code chaos to fix that (for both Earthbound Immortals and Kaiju), but with all the monsters already out there that needs this one it would make sense to have a function like "SetUniqueMZone" or whatever you want to call that.

salix5 commented 8 years ago

@nekrozar What about cards like 六武衆の師範? (「六武衆の師範」は自分フィールド上に1枚しか表側表示で存在できない。) Can you help us check this part?

destdev commented 8 years ago

According to the current english card text you can only control 1 Grandmaster, without any specification (thus SetUniqueOnField works just fine for that one)

ghost commented 8 years ago

Confiming about Grandmaster of the Six Samurai's rule. Konami has answered, "If Grandmaster of the Six Samurai is equipped, Grandmaster of the Six Samurai cannot be Normal or Special Summoned."

Konami's Answer. 遊戯王OCG事務局です。

いつも遊戯王オフィシャルカードゲームをお楽しみいただき誠にありがとうございます。 ゲームルールについてお問い合わせいただいた件、下記のとおりご案内申し上げます。

Q. 「D-HERO Bloo-D」の効果で装備されている「六武衆の師範」が自分フィールドに既に存在する場合、手札から別の「六武衆の師範」を特殊召喚できますか? A. 「D-HERO Bloo-D」に装備されている「六武衆の師範」が存在する場合、手札から「六武衆の師範」を特殊召喚する事はできません。

In Konami's Data Bese, if Unicorn Spear is equipped, Unicorn Spear cannot be Normal or Special Summoned. http://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=12595 Q.装備カード扱いとして自分のフィールド上に「ZW-一角獣皇槍」が存在している場合、モンスターとして「ZW-一角獣皇槍」を召喚する事はできますか? A.装備カード扱いとして「ZW-一角獣皇槍」が自分フィールド上に存在している場合、手札から表側表示で「ZW-一角獣皇槍」を召喚する事はできません。

なお、手札からセットする事はできますが、後からセットしたその「ZW-一角獣皇槍」は、表側表示になった場合にはその時点でただちに破壊されます。

destdev commented 8 years ago

This is exactly what SetUniqueOnField does, and this is why I said that the function as it currently exists works just fine for Grandmaster.

destdev commented 8 years ago

this is fixed with the reworked uniqueonfield function now, thank you