11-- 糾罪都市-エニアポリス
2- -- Enneapolis, the Sinquisition City
2+ -- Enneapolis
33-- Scripted by Eerie Code
44local s ,id = GetID ()
55function s .initial_effect (c )
@@ -8,7 +8,7 @@ function s.initial_effect(c)
88 e0 :SetType (EFFECT_TYPE_ACTIVATE )
99 e0 :SetCode (EVENT_FREE_CHAIN )
1010 c :RegisterEffect (e0 )
11- -- Remove all Sinquisition Counters from your fiend, and if you do, inflict 900 damage to your opponent for each
11+ -- Remove all E.C. Counters from your fiend, and if you do, inflict 900 damage to your opponent for each
1212 local e1 = Effect .CreateEffect (c )
1313 e1 :SetDescription (aux .Stringid (id ,0 ))
1414 e1 :SetCategory (CATEGORY_DAMAGE )
@@ -57,20 +57,20 @@ function s.initial_effect(c)
5757 c :RegisterEffect (e4 )
5858end
5959s .listed_series = {SET_ENNEACRAFT }
60- s .counter_list = {COUNTER_SINQUISITION }
60+ s .counter_list = {COUNTER_EC }
6161function s .damtg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
6262 if chk == 0 then return true end
63- local ct = Duel .GetCounter (tp ,1 ,0 ,COUNTER_SINQUISITION )
63+ local ct = Duel .GetCounter (tp ,1 ,0 ,COUNTER_EC )
6464 Duel .SetTargetPlayer (1 - tp )
6565 Duel .SetOperationInfo (0 ,CATEGORY_DAMAGE ,nil ,0 ,1 - tp ,ct * 900 )
6666end
6767function s .damop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
68- local g = Duel .GetMatchingGroup (Card .HasCounter ,tp ,LOCATION_ONFIELD ,0 ,nil ,COUNTER_SINQUISITION )
68+ local g = Duel .GetMatchingGroup (Card .HasCounter ,tp ,LOCATION_ONFIELD ,0 ,nil ,COUNTER_EC )
6969 if # g == 0 then return end
7070 local total_count = 0
7171 for sc in g :Iter () do
72- local sc_count = sc :GetCounter (COUNTER_SINQUISITION )
73- if sc :RemoveCounter (tp ,COUNTER_SINQUISITION ,sc_count ,REASON_EFFECT ) then
72+ local sc_count = sc :GetCounter (COUNTER_EC )
73+ if sc :RemoveCounter (tp ,COUNTER_EC ,sc_count ,REASON_EFFECT ) then
7474 total_count = total_count + sc_count
7575 end
7676 end
0 commit comments