--是小钱硬币哟! local m=33701341 local cm=_G["c"..m] function cm.initial_effect(c) c:SetUniqueOnField(1,0,m) --recover local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_RECOVER) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(cm.rectg) e1:SetOperation(cm.recop) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetCode(EVENT_RECOVER) e2:SetRange(LOCATION_SZONE) e2:SetCondition(cm.drcon) e2:SetOperation(cm.drop) c:RegisterEffect(e2) end function cm.rectg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return true end Duel.SetTargetPlayer(tp) Duel.SetTargetParam(400) Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,400) end function cm.recop(e,tp,eg,ep,ev,re,r,rp) local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM) Duel.Recover(p,d,REASON_EFFECT) end function cm.drcon(e,tp,eg,ep,ev,re,r,rp) return ev<=400 end function cm.drop(e,tp,eg,ep,ev,re,r,rp) Duel.Draw(tp,1,REASON_EFFECT) end