Commit 4e633b2a authored by Nemo Ma's avatar Nemo Ma

fix

parent 4c6d8925
...@@ -50,10 +50,14 @@ function cm.hint(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,10 +50,14 @@ function cm.hint(e,tp,eg,ep,ev,re,r,rp)
e3:SetDescription(aux.Stringid(m,1)) e3:SetDescription(aux.Stringid(m,1))
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e3:SetCode(EVENT_FREE_CHAIN) e3:SetCode(EVENT_FREE_CHAIN)
e3:SetCondition(cm.debcon)
e3:SetOperation(cm.debug) e3:SetOperation(cm.debug)
Duel.RegisterEffect(e3,tp) Duel.RegisterEffect(e3,tp)
end end
end end
function cm.debcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp and (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2)
end
function cm.debug(e,tp,eg,ep,ev,re,r,rp) function cm.debug(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsFaceup,0,LOCATION_MZONE,LOCATION_MZONE,nil) local g=Duel.GetMatchingGroup(Card.IsFaceup,0,LOCATION_MZONE,LOCATION_MZONE,nil)
Debug.Message("场上的表侧表示怪兽合计等级:"..g:GetSum(Card.GetLevel)) Debug.Message("场上的表侧表示怪兽合计等级:"..g:GetSum(Card.GetLevel))
......
...@@ -49,7 +49,7 @@ function cm.efilter(e,re) ...@@ -49,7 +49,7 @@ function cm.efilter(e,re)
end end
function cm.cost1(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
local el={{TAMA_ELEMENT_ORDER,2}} local el={{TAMA_ELEMENT_ORDER,2}}
local mg=tama.tamas_checkGroupElements(Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_GRAVE,0,e:GetHandler()),el) local mg=tama.tamas_checkGroupElements((Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_GRAVE,0,e:GetHandler()),el)
local sg=Group.CreateGroup() local sg=Group.CreateGroup()
if chk==0 then if chk==0 then
return mg:GetCount()>0 and mg:IsExists(tama.tamas_selectElementsForAbove,1,nil,mg,sg,el) and e:GetHandler():IsAbleToRemoveAsCost() return mg:GetCount()>0 and mg:IsExists(tama.tamas_selectElementsForAbove,1,nil,mg,sg,el) and e:GetHandler():IsAbleToRemoveAsCost()
......
...@@ -45,7 +45,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,7 +45,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end end
function cm.cost1(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
local el={{TAMA_ELEMENT_CHAOS,2}} local el={{TAMA_ELEMENT_CHAOS,2}}
local mg=tama.tamas_checkGroupElements(Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_GRAVE,0,e:GetHandler())),el) local mg=tama.tamas_checkGroupElements((Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_GRAVE,0,e:GetHandler())),el)
local sg=Group.CreateGroup() local sg=Group.CreateGroup()
if chk==0 then if chk==0 then
return mg:GetCount()>0 and mg:IsExists(tama.tamas_selectElementsForAbove,1,nil,mg,sg,el) and e:GetHandler():IsAbleToRemoveAsCost() return mg:GetCount()>0 and mg:IsExists(tama.tamas_selectElementsForAbove,1,nil,mg,sg,el) and e:GetHandler():IsAbleToRemoveAsCost()
......
...@@ -30,9 +30,8 @@ function c79034028.lzcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,9 +30,8 @@ function c79034028.lzcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end end
function c79034028.lzcost(e,tp,eg,ep,ev,re,r,rp,chk) function c79034028.lzcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_HAND,0,1,e:GetHandler()) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToGraveAsCost,tp,LOCATION_HAND,0,1,1,e:GetHandler()) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
Duel.SendtoGrave(g,REASON_COST)
end end
function c79034028.thfilter2(c,e,tp) function c79034028.thfilter2(c,e,tp)
return c:IsSetCard(0xa009) and c:IsAbleToHand() return c:IsSetCard(0xa009) and c:IsAbleToHand()
......
...@@ -577,6 +577,7 @@ ...@@ -577,6 +577,7 @@
!victory 0x69 「珂拉琪的拼图箱庭」特殊胜利 !victory 0x69 「珂拉琪的拼图箱庭」特殊胜利
!counter 0x1970 记忆指示物 !counter 0x1970 记忆指示物
#traveler_saga 幻旅传说 #traveler_saga 幻旅传说
!setname 0x3978 幽玄龙象
#魔方 706832760 93 0xf90-0xf9f #魔方 706832760 93 0xf90-0xf9f
!setname 0x3f91 单调(MONO !setname 0x3f91 单调(MONO
...@@ -607,14 +608,11 @@ ...@@ -607,14 +608,11 @@
!setname 0x87af 方舟之骑士(方舟の騎士/アーク·ナイト) !setname 0x87af 方舟之骑士(方舟の騎士/アーク·ナイト)
!setname 0x87ad 战械人形(戦械人形/ワレアポン·ドール) !setname 0x87ad 战械人形(戦械人形/ワレアポン·ドール)
!setname 0x87ac 钢铁方舟(鋼鉄方舟/メタルアーク) !setname 0x87ac 钢铁方舟(鋼鉄方舟/メタルアーク)
!setname 0x87aa 灵知隐者(GE/グラスエリマイト)
!counter 0x11ae COST指示物 !counter 0x11ae COST指示物
!counter 0x11af 鸽指示物
!setname 0x7ad 战械(ワレアポン) !setname 0x7ad 战械(ワレアポン)
!setname 0x87a1 光明圣殿团(ライト·テンプルナイツ) !setname 0x87a1 光明圣殿团(ライト·テンプルナイツ)
!counter 0x07ae 战术指示物 !setname 0x87aa 逆转的机壳(レブクリフォート)
!setname 0x87ad 战械人形 !setname 0x77ad 战械死徒(戦械死徒/ワレアポン·アポッサル)
!setname 0x7ad 战械
#空想上の人格保持者 #空想上の人格保持者
!setname 0xfec1 幼龙 !setname 0xfec1 幼龙
...@@ -704,6 +702,10 @@ ...@@ -704,6 +702,10 @@
#小壶 1701585682 200 0xfd0-0xfdf #小壶 1701585682 200 0xfd0-0xfdf
!setname 0x3fd1 史黛拉 !setname 0x3fd1 史黛拉
!setname 0x5fd1 极密合约 !setname 0x5fd1 极密合约
!setname 0xfd3 模块
!setname 0x3fd3 应敌模块
!setname 0x5fd3 支援模块
!setname 0x6fd3 联合模块
#VHisc 916214730 332 #VHisc 916214730 332
!setname 0x321 锻溶 !setname 0x321 锻溶
...@@ -735,6 +737,8 @@ ...@@ -735,6 +737,8 @@
!setname 0x3827 AKB !setname 0x3827 AKB
!setname 0x6827 AK战术 !setname 0x6827 AK战术
!setname 0x828 泰拉 !setname 0x828 泰拉
!setname 0x821 魔戒仪士
!setname 0xa821 魔戒仪士 牙狼
#虚子 3403728546 936 #虚子 3403728546 936
...@@ -770,6 +774,14 @@ ...@@ -770,6 +774,14 @@
!counter 0x1673 血指示物 !counter 0x1673 血指示物
!setname 0x3f3e 灵核机 !setname 0x3f3e 灵核机
!setname 0x9827 AKD !setname 0x9827 AKD
!setname 0x352 ÁúÆôÖ®µØ
!setname 0x3acf Àë×ÓÅÚ
!setname 0x561 栖夜姬
!setname 0x55b ÁÙħ
!counter 0x10cb 镜碎指示物
!setname 0xcab 镜碎
!setname 0x628 ¹þÒÁÍßÄÉ˹ Haiiwanas
#TYGOC Submissions #TYGOC Submissions
#Desruc_6872 987 #Desruc_6872 987
......
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