Commit b0c3e75e authored by Tachibana's avatar Tachibana

rar

parent 94d1c752
Pipeline #3731 passed with stages
in 40 minutes and 17 seconds
......@@ -6,7 +6,7 @@ cm.rssetcode="yatori"
function cm.initial_effect(c)
local e1=rsef.QO(c,nil,{m,0},nil,"sp",nil,LOCATION_HAND,nil,cm.spcost,cm.sptg,cm.spop)
local e2=rsef.STO(c,EVENT_SPSUMMON_SUCCESS,{m,1},nil,"sp","tg,de",nil,nil,rstg.target({cm.cfilter,nil,LOCATION_MZONE,LOCATION_MZONE }),cm.lvop)
local e3=rsef.STO(c,EVENT_TO_GRAVE,{m,3},nil,"con","tg,de",cm.ctcon,nil,rstg.target({cm.ctfilter,nil,0,LOCATION_MZONE }),cm.ctop)
local e3=rsef.STO(c,EVENT_TO_GRAVE,{m,3},nil,"ctrl","tg,de",cm.ctcon,nil,rstg.target({cm.ctfilter,nil,0,LOCATION_MZONE }),cm.ctop)
end
function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......@@ -36,7 +36,7 @@ function cm.lvop(e,tp)
if tc:IsLevelAbove(1) then lv=tc:GetLevel()
else lv=tc:GetRank()
end
local e1=rsef.SV_CHANGE(c,"lv",lv,nil,rsreset.est+RESET_DISABLE)
local e1=rsef.SV_CHANGE(c,nil,lv,nil,rsreset.est+RESET_DISABLE)
local g=Duel.GetMatchingGroup(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,nil,nil)
if #g>0 and Duel.SelectYesNo(tp,aux.Stringid(m,2)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
......
--尺酱的外包
if not pcall(function() require("expansions/script/c10199990") end) then require("script/c10199990") end
rsof.SelectHint=rshint.Select
--[[
DIY Record
......
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