Commit d15c00a0 authored by salix5's avatar salix5

Merge pull request #347 from destdev/patch-3

fix Ghostrick Break
parents 550683da 50df2b87
...@@ -14,7 +14,7 @@ end ...@@ -14,7 +14,7 @@ end
function c80802524.condition(e,tp,eg,ep,ev,re,r,rp) function c80802524.condition(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
if rp~=tp and eg:GetCount()==1 and tc:IsReason(REASON_DESTROY) and tc:IsReason(REASON_BATTLE+REASON_EFFECT) if rp~=tp and eg:GetCount()==1 and tc:IsReason(REASON_DESTROY) and tc:IsReason(REASON_BATTLE+REASON_EFFECT)
and tc:IsPreviousLocation(LOCATION_MZONE) and tc:GetPreviousControler()==tp and tc:IsSetCard(0x8d) then and tc:IsPreviousLocation(LOCATION_MZONE) and tc:GetPreviousControler()==tp and tc:IsSetCard(0x8d) and tc:IsPreviousPosition(POS_FACEUP) then
e:SetLabel(tc:GetCode()) e:SetLabel(tc:GetCode())
return true return true
else return false end else return false 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