Commit 1bfe38e0 authored by VanillaSalt's avatar VanillaSalt

fix

parent 5f67c188
--F.A. Downforce --F.A.ダウンフォース
function c66322203.initial_effect(c) function c66322203.initial_effect(c)
--Activate --Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -14,7 +14,7 @@ function c66322203.initial_effect(c) ...@@ -14,7 +14,7 @@ function c66322203.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_GRAVE) e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1,66322203+100) e2:SetCountLimit(1,66322204)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCondition(aux.exccon) e2:SetCondition(aux.exccon)
e2:SetCost(aux.bfgcost) e2:SetCost(aux.bfgcost)
......
--Samurai Skull --堕ち武者
function c68989981.initial_effect(c) function c68989981.initial_effect(c)
--send to grave --send to grave
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -15,7 +15,7 @@ function c68989981.initial_effect(c) ...@@ -15,7 +15,7 @@ function c68989981.initial_effect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_LEAVE_FIELD) e2:SetCode(EVENT_LEAVE_FIELD)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e2:SetCondition(c68989981.spcon) e2:SetCondition(c68989981.spcon)
e2:SetTarget(c68989981.sptg) e2:SetTarget(c68989981.sptg)
e2:SetOperation(c68989981.spop) e2:SetOperation(c68989981.spop)
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
function c91269402.initial_effect(c) function c91269402.initial_effect(c)
--Activate --Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TODECK) e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_END_PHASE) e1:SetHintTiming(TIMING_END_PHASE)
e1:SetCountLimit(1,91269402) e1:SetCountLimit(1,91269402)
e1:SetCondition(c91269402.condition) e1:SetCondition(c91269402.condition)
e1:SetTarget(c91269402.target) e1:SetTarget(c91269402.target)
e1:SetOperation(c91269402.activation) e1:SetOperation(c91269402.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
if not c91269402.global_check then if not c91269402.global_check then
c91269402.global_check=true c91269402.global_check=true
...@@ -35,7 +35,7 @@ function c91269402.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -35,7 +35,7 @@ function c91269402.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c91269402.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c91269402.filter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end end
function c91269402.activation(e,tp,eg,ep,ev,re,r,rp) function c91269402.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c91269402.filter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c91269402.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
......
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