攻略
Combo
考据
好物分享
卡图故事
支缓
盘点整理
Duel Links
--生還の宝札 function c57953380.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --draw local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(57953380,0)) e2:SetCategory(CATEGORY_DRAW) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetRange(LOCATION_SZONE) e2:SetCondition(c57953380.con) e2:SetTarget(c57953380.tg) e2:SetOperation(c57953380.op) c:RegisterEffect(e2) end function c57953380.gfilter(c,tp) return c:IsPreviousLocation(LOCATION_GRAVE) and c:GetPreviousControler()==tp end function c57953380.con(e,tp,eg,ep,ev,re,r,rp) return eg:IsExists(c57953380.gfilter,1,nil,tp) end function c57953380.tg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end Duel.SetTargetPlayer(tp) Duel.SetTargetParam(1) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1) end function c57953380.op(e,tp,eg,ep,ev,re,r,rp) if not e:GetHandler():IsRelateToEffect(e) then return end local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM) Duel.Draw(p,d,REASON_EFFECT) end