Commit 44897aba authored by Tachibana's avatar Tachibana

2021.4

parent ca39f334
Pipeline #2646 passed with stages
in 26 minutes and 9 seconds
#[2021.1 DIY]
!2021.1 DIY
#[2021.4 DIY]
!2021.4 DIY
#1
00113217 1 --小红花
......@@ -219,7 +219,6 @@
12031000 1 --人形真主 三葉巧可
12031001 1 --幼血鬼 三葉巧可
12031002 1 --夜月幼女 三葉巧可
12031003 1 --华怜幼女 三葉巧可
12031004 1 --血幼恋歌 三葉巧可
12031006 0 --夜行幼女 三葉巧可
12031010 1 --鲜血鬼姬 三葉巧可
......@@ -233,7 +232,7 @@
12033012 1 --忧物 momoko
12033015 1 --祭典 momoko同人
12037003 1 --战场的巫鸣鸟 迦陵频伽
12037021 1 --以理服人
12037021 2 --以理服人
12037052 1 --极丽六鸟 紧那罗
12038003 1 --偶像P 普利兹姆
12040001 1 --发圈宠儿 梅雷特
......@@ -609,7 +608,6 @@
33310029 1 --泰拉魔物 蜂后
33310103 0 --可可莉柯特·兽耳布偶
33310101 2 --恶魔的提线魔术
33310102 2 --睡美人的小憇
33310150 2 --引临魔源 地侧之月
33310158 1 --临魔浮生
33310161 0 --临魔终形
......@@ -1049,9 +1047,12 @@
65010122 1 --星光歌剧 花柳香子Revue
65010127 1 --『星光歌剧』台本-约定Revue
65010200 1 --『怪盗Hello Happy』 濑田薰
65010201 2 --虚拟水神之月
65010203 1 --虚拟水神要塞 特洛伊之墙
65010207 0 --虚拟水神忍者
65010208 0 --虚拟水神天使
65010210 0 --虚拟水神旅者
65010211 2 --虚拟水神剑士
65010524 1 --魔军魂 博格兰姆
65010526 2 --魔军魂 修格
65010528 1 --魔军魂 佛林奈浦
......@@ -1281,6 +1282,7 @@
#OCG
#forbidden
63101919 0 --マジックテンペスター
37818794 0 --超魔導竜騎士-ドラグーン・オブ・レッドアイズ
52653092 0 --SNo.0 ホープ・ゼアル
91869203 0 --アマゾネスの射手
......@@ -1363,13 +1365,12 @@
28566710 0 --ラストバトル!
75732622 0 --トーチ・ゴーレム
#limit
05043010 1 --ファイアウォール・ドラゴン
88581108 1 --真竜皇 V.F.D.
69811710 1 --宵星の騎士ギルス
02295440 1 --ワン・フォー・ワン
64034255 1 --A・ジェネクス・バードマン
76794549 1 --アストログラフ・マジシャン
01561110 1 --ABC-ドラゴン・バスター
40318957 1 --EMドクロバット・ジョーカー
42790071 1 --オルターガイスト・マルチフェイカー
30741503 1 --オルフェゴール・ガラテア
57835716 1 --オルフェゴール・ディヴェル
......@@ -1432,7 +1433,6 @@
76375976 1 --魔鍾洞
93600443 1 --マスク・チェンジ・セカンド
15854426 1 --霞の谷の神風
66399653 1 --ユニオン格納庫
27970830 1 --六武の門
05851097 1 --虚無空間
61740673 1 --王宮の勅命
......@@ -1442,9 +1442,11 @@
01984618 1 --天底の使徒
23002292 1 --レッド・リブート
#semi limit
40318957 2 --EMドクロバット・ジョーカー
66399653 2 --ユニオン格納庫
05043010 2 --ファイアウォール・ドラゴン
84731222 2 --希望の記憶
24224830 2 --墓穴の指名者
25533642 2 --オルターガイスト・メリュシーク
09411399 2 --D-HEROディアボリックガイ
41386308 2 --マスマティシャン
43694650 2 --未界域のジャッカロープ
......@@ -1452,20 +1454,15 @@
29596581 2 --雷獣龍-サンダー・ドラゴン
48686504 2 --ローンファイア・ブロッサム
67723438 2 --緊急テレポート
45305419 2 --継承の印
52155219 2 --転生炎獣の炎陣
73915051 2 --スケープ・ゴート
54631665 2 --SPYRAL RESORT
37520316 2 --精神操作
98338152 2 --閃刀機-ウィドウアンカー
24010609 2 --閃刀機関-マルチロール
63166095 2 --閃刀起動-エンゲージ
48130397 2 --超融合
11110587 2 --隣の芝刈り
08949584 2 --ヒーローアライブ
01475311 2 --闇の誘惑
70583986 2 --氷結界の虎王ドゥローレン
77075360 2 --ジャンク・スピーダー
59297550 2 --ゼンマイマジシャン
47679935 2 --暴走魔法陣
31434645 2 --呪われしエルドランド
......@@ -24,8 +24,9 @@ function cm.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TOGRAVE)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetCode(EVENT_CHAINING)
e2:SetRange(LOCATION_MZONE)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e2:SetCost(cm.mccost)
e2:SetCondition(cm.mccon)
e2:SetTarget(cm.mctg)
......@@ -100,7 +101,7 @@ function cm.mccost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function cm.mccon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp
return (rp==1-tp or re:GetHandler():IsCode(m)) and not e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED)
end
function cm.mctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
......
......@@ -35,9 +35,15 @@ function cm.initial_effect(c)
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.GetMatchingGroupCount(cm.gravefilter,tp,LOCATION_MZONE,0,nil)>0 and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end
Duel.MoveToField(e:GetHandler(),tp,tp,LOCATION_SZONE,POS_FACEUP,true)
c:CreateEffectRelation(e)
if chk==0 then
if c:IsLocation(LOCATION_GRAVE) then
return Duel.GetMatchingGroupCount(cm.gravefilter,tp,LOCATION_MZONE,0,nil)>0 and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end
Duel.MoveToField(e:GetHandler(),tp,tp,LOCATION_SZONE,POS_FACEUP,true)
c:CreateEffectRelation(e)
else
return true
end
end
end
function cm.gravefilter(c)
return (c:IsRankAbove(10) or c:IsLevelAbove(10)) and c:IsType(TYPE_MONSTER) and c:IsFaceup()
......
......@@ -86,10 +86,25 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
e2:SetValue(cm.atk)
e2:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e2,tp)
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e3:SetCode(EVENT_CHAIN_SOLVING)
e3:SetCondition(cm.discon)
e3:SetOperation(cm.disop)
e3:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e3,tp)
end
function cm.distg(e,c)
return c:GetSummonLocation()==LOCATION_EXTRA and not c:IsType(e:GetLabel())
end
function cm.atk(e,c)
return -c:GetBaseAttack()/2
end
---------
function cm.discon(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetLabelObject()
return re:GetHandler():GetSummonLocation()==LOCATION_EXTRA and not c:IsType(e:GetLabel())
end
function cm.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateEffect(ev)
end
\ No newline at end of file
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