Skip to content

Commit

Permalink
Fix chainreg related effect (Fluorohydride#2326)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wind2009-Louse authored Jan 8, 2024
1 parent 52ced22 commit f0b14ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c2645637.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function c2645637.disop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c2645637.atkcon3(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_MONSTER) and Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_GRAVE and e:GetHandler():GetFlagEffect(1)>0
return re:IsActiveType(TYPE_MONSTER) and Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_GRAVE
end
function c2645637.atkcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(1)>0
Expand Down
2 changes: 1 addition & 1 deletion c55591586.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function c55591586.spop(e,tp,eg,ep,ev,re,r,rp,c)
end
function c55591586.atkcon1(e,tp,eg,ep,ev,re,r,rp)
local loc=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)
return re:IsActiveType(TYPE_MONSTER) and loc==LOCATION_HAND and e:GetHandler():GetFlagEffect(1)>0
return re:IsActiveType(TYPE_MONSTER) and loc==LOCATION_HAND
end
function c55591586.atkcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(1)>0
Expand Down

0 comments on commit f0b14ea

Please sign in to comment.