Commit 07535f22 authored by wind2009's avatar wind2009

Fix No-P.U.N.K.ライジング・スケール

parent 49c15765
Pipeline #32072 passed with stages
in 1 minute and 34 seconds
......@@ -87,9 +87,10 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.poscon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local p,loc,atk=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_PLAYER,CHAININFO_TRIGGERING_LOCATION,CHAININFO_TRIGGERING_ATTACK)
local rc=re:GetHandler()
return ep==1-tp and rc:IsOnField() and rc:IsFaceup() and rc:IsRelateToEffect(re) and re:IsActiveType(TYPE_MONSTER) and rc:IsAttackAbove(2500)
return p==1-tp and (LOCATION_ONFIELD)&loc~=0 and re:IsActiveType(TYPE_MONSTER) and atk>=2500
and rc:IsRelateToEffect(re)
end
function s.postg(e,tp,eg,ep,ev,re,r,rp,chk)
local rc=re:GetHandler()
......
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