Commit 07385bba authored by DailyShana's avatar DailyShana

Merge pull request #441 from nekrozar/patch-4

fix Brain Research Lab, Telekinetic Charging Cell
parents 8e60ca62 17e33a6b
......@@ -59,7 +59,7 @@ function c68392533.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function c68392533.costchange(e,re,rp,val)
if re:GetHandler()==e:GetHandler():GetEquipTarget() then
if re and re:IsHasType(0x7e0) and re:GetHandler()==e:GetHandler():GetEquipTarget() then
return 0
else return val end
end
......
......@@ -58,7 +58,7 @@ function c85668449.lrcon(e,tp,eg,ep,ev,re,r,rp)
if tp~=ep then return false end
local lp=Duel.GetLP(ep)
if lp<=ev then return false end
if not re then return false end
if not re or not re:IsHasType(0x7e0) then return false end
local rc=re:GetHandler()
return rc:IsLocation(LOCATION_MZONE) and rc:IsRace(RACE_PSYCHO)
end
......
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