We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69762fb commit 1bc1901Copy full SHA for 1bc1901
unofficial/c100000033.lua
@@ -14,15 +14,14 @@ function s.initial_effect(c)
14
end
15
function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
16
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() and chkc:IsControler(1-tp) and chkc:IsControlerCanBeChanged() end
17
- if chk==0 then return Duel.IsExistingTarget(aux.FaceupFilter(
18
- Card.IsControlerCanBeChanged),tp,0,LOCATION_MZONE,1,nil) end
+ if chk==0 then return true end
19
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONTROL)
20
local g=Duel.SelectTarget(tp,aux.FaceupFilter(Card.IsControlerCanBeChanged),tp,0,LOCATION_MZONE,1,1,nil)
21
Duel.SetOperationInfo(0,CATEGORY_CONTROL,g,1,0,0)
22
23
function s.operation(e,tp,eg,ep,ev,re,r,rp)
24
local tc=Duel.GetFirstTarget()
25
- if tc and tc:IsRelateToEffect(e) then
+ if tc and tc:IsRelateToEffect(e) and tc:IsControlerCanBeChanged() then
26
Duel.GetControl(tc,tp,PHASE_END,1)
27
28
0 commit comments