@@ -16,14 +16,14 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
1616 return Duel .GetFieldGroupCount (tp ,LOCATION_HAND ,0 )== 0
1717end
1818function s .target (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
19- if chk == 0 then return Duel .IsExistingMatchingCard (Card .IsType ,tp ,LOCATION_GRAVE ,0 ,1 ,nil , TYPE_SPELL ) end
19+ if chk == 0 then return Duel .IsExistingMatchingCard (Card .IsSpell ,tp ,LOCATION_GRAVE ,0 ,1 ,nil ) end
2020 Duel .SetTargetPlayer (1 - tp )
21- local dam = Duel .GetMatchingGroupCount (Card .IsType ,tp ,LOCATION_GRAVE ,0 ,nil , TYPE_SPELL )* 200
21+ local dam = Duel .GetMatchingGroupCount (Card .IsSpell ,tp ,LOCATION_GRAVE ,0 ,nil )* 200
2222 Duel .SetTargetParam (dam )
2323 Duel .SetOperationInfo (0 ,CATEGORY_DAMAGE ,nil ,0 ,1 - tp ,dam )
2424end
2525function s .activate (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
2626 local p = Duel .GetChainInfo (0 ,CHAININFO_TARGET_PLAYER )
27- local dam = Duel .GetMatchingGroupCount (Card .IsType ,tp ,LOCATION_GRAVE ,0 ,nil , TYPE_SPELL )* 200
27+ local dam = Duel .GetMatchingGroupCount (Card .IsSpell ,tp ,LOCATION_GRAVE ,0 ,nil )* 200
2828 Duel .Damage (p ,dam ,REASON_EFFECT )
29- end
29+ end
0 commit comments