Commit 7c14f2e0 authored by POLYMER's avatar POLYMER

fix

parent 4efd33e5
......@@ -4,7 +4,7 @@ local cm=_G["c"..m]
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetDescription(aux.Stringid(43990098,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
......@@ -35,7 +35,7 @@ function c43990098.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c43990098.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateActivation(ev) and re:GetHandler():IsRelateToEffect(re) then
if Duel.Destroy(eg,REASON_EFFECT)~=0 and Duel.IsExistingMatchingCard(Card.IsRace,tp,0,LOCATION_MZONE,1,nil,RACE_MACHINE) and eg:GetFirst():IsLocation(0x70) and eg:GetFirst():IsFacedownEx() and Duel.SelectYesNo(tp,aux.Stringid(c43990098,3)) then
if Duel.Destroy(eg,REASON_EFFECT)~=0 and Duel.IsExistingMatchingCard(Card.IsRace,tp,0,LOCATION_MZONE,1,nil,RACE_MACHINE) and eg:GetFirst():IsLocation(0x70) and eg:GetFirst():IsFacedownEx() and Duel.SelectYesNo(tp,aux.Stringid(43990098,3)) then
Duel.SendtoHand(eg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,eg)
end
......
......@@ -863,7 +863,7 @@ function s.chainop(e,tp,eg,ep,ev,re,r,rp)
local ischain=false
local mg=Group.CreateGroup()
if cardtype~=KingBomb and cardtype~=Bomb and g:CheckSubGroup(s.fbomb,2,4) and Duel.SelectYesNo(p,aux.Stringid(id,5)) then
mg=g:SelectSubGroup(p,s.fbomb,true,4,4)
mg=g:SelectSubGroup(p,s.fbomb,true,2,4)
if mg and mg:GetCount()==4 then
cardtype=Bomb
point=s.getpoint(mg:GetFirst())
......
......@@ -39,7 +39,7 @@ function cm.atkfilter(c)
end
function cm.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and cm.atkfilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(cm.atkfilter,tp,LOCATION_MZONE,0,1,nil) end
if chk==0 then return Duel.IsExistingTarget(cm.atkfilter,tp,LOCATION_MZONE,0,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,cm.atkfilter,tp,LOCATION_MZONE,0,1,1,nil)
end
......
......@@ -52,8 +52,8 @@ end
function c51929013.rectg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(1000)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,1000)
Duel.SetTargetParam(700)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,700)
end
function c51929013.recop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
......
--魔餐的准备
function c51930028.initial_effect(c)
--Activate
local e10=Effect.CreateEffect(c)
e10:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e10:SetType(EFFECT_TYPE_ACTIVATE)
e10:SetCode(EVENT_FREE_CHAIN)
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,51930028)
e1:SetCost(c51930028.thcost)
e1:SetTarget(c51930028.thtg)
e1:SetOperation(c51930028.thop)
c:RegisterEffect(e10)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
......
......@@ -19,7 +19,7 @@ function c51930032.initial_effect(c)
c:RegisterEffect(e2)
--to grave
local e3=Effect.CreateEffect(c)
e3:Sedesescription(1191)
e3:SetDescription(1191)
e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_BATTLE_END)
e3:SetCategory(CATEGORY_TOGRAVE)
e3:SetType(EFFECT_TYPE_QUICK_O)
......
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