Commit 5e228d2d authored by salix5's avatar salix5

Duel.CheckTribute()

parent d11e82a4
......@@ -78,7 +78,7 @@ end
function c10000080.ttcon2(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.CheckTribute(c,3,3,nil,1-tp)
return Duel.CheckTribute(c,3,nil,1-tp)
end
function c10000080.ttop2(e,tp,eg,ep,ev,re,r,rp,c)
local mg=Duel.GetFieldGroup(tp,0,LOCATION_MZONE)
......
......@@ -44,7 +44,7 @@ end
function c96570609.otcon(e,c)
if c==nil then return true end
local mg=Duel.GetMatchingGroup(c96570609.otfilter,0,LOCATION_MZONE,LOCATION_MZONE,nil)
return c:GetLevel()>6 and Duel.CheckTribute(c,1,1,mg)
return c:GetLevel()>6 and Duel.CheckTribute(c,1,mg)
end
function c96570609.otop(e,tp,eg,ep,ev,re,r,rp,c)
local mg=Duel.GetMatchingGroup(c96570609.otfilter,0,LOCATION_MZONE,LOCATION_MZONE,nil)
......
......@@ -397,7 +397,7 @@ EFFECT_SELF_TOGRAVE =142 --不入連鎖的送墓
EFFECT_DOUBLE_TRIBUTE =150 --可以作为2个祭品
EFFECT_DECREASE_TRIBUTE =151 --减少祭品
EFFECT_DECREASE_TRIBUTE_SET =152 --减少放置怪兽的祭品
EFFECT_EXTRA_RELEASE =153 --代替解放(灵魂交错)
EFFECT_EXTRA_RELEASE =153 --必須使用的代替解放(灵魂交错)
EFFECT_TRIBUTE_LIMIT =154 --祭品限制
EFFECT_EXTRA_RELEASE_SUM =155 --代替召唤解放(帝王的烈旋)
EFFECT_TRIPLE_TRIBUTE =156
......
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