Commit 6928a5b1 authored by unyutema's avatar unyutema

fix

parent d6f92cb9
--ブラックフェザー・ドラゴン --ブラックフェザー・ドラゴン
function c9012916.initial_effect(c) function c9012916.initial_effect(c)
c:EnableCounterPermit(0x3010)
--synchro summon --synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit() c:EnableReviveLimit()
...@@ -34,25 +35,25 @@ function c9012916.initial_effect(c) ...@@ -34,25 +35,25 @@ function c9012916.initial_effect(c)
end end
function c9012916.damval(e,re,val,r,rp,rc) function c9012916.damval(e,re,val,r,rp,rc)
if bit.band(r,REASON_EFFECT)~=0 then if bit.band(r,REASON_EFFECT)~=0 then
e:GetHandler():AddCounter(0x10,1) e:GetHandler():AddCounter(0x3010,1)
return 0 return 0
end end
return val return val
end end
function c9012916.atkval(e,c) function c9012916.atkval(e,c)
return c:GetCounter(0x10)*-700 return c:GetCounter(0x3010)*-700
end end
function c9012916.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c9012916.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():GetCounter(0x10)>0 end if chk==0 then return e:GetHandler():GetCounter(0x3010)>0 end
local ct=e:GetHandler():GetCounter(0x10) local ct=e:GetHandler():GetCounter(0x3010)
e:SetLabel(ct*700) e:SetLabel(ct*700)
e:GetHandler():RemoveCounter(tp,0x10,ct,REASON_COST) e:GetHandler():RemoveCounter(tp,0x3010,ct,REASON_COST)
end end
function c9012916.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c9012916.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and chkc:IsFaceup() end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and chkc:IsFaceup() end
if chk==0 then return Duel.IsExistingTarget(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingTarget(aux.nzatk,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,Card.IsFaceup,tp,0,LOCATION_MZONE,1,1,nil) Duel.SelectTarget(tp,aux.nzatk,tp,0,LOCATION_MZONE,1,1,nil)
end end
function c9012916.operation(e,tp,eg,ep,ev,re,r,rp) function c9012916.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
......
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
!counter 0xd 强欲指示物 !counter 0xd 强欲指示物
!counter 0xe A指示物 !counter 0xe A指示物
!counter 0xf 虫指示物 !counter 0xf 虫指示物
!counter 0x10 黑羽指示物 !counter 0x3010 黑羽指示物
!counter 0x11 超毒指示物 !counter 0x11 超毒指示物
!counter 0x12 机巧指示物 !counter 0x12 机巧指示物
!counter 0x13 混沌指示物 !counter 0x13 混沌指示物
......
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