Commit 4f936242 authored by TanakaKotoha's avatar TanakaKotoha

888

parent 26ab23f1
......@@ -67,7 +67,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.setcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(e:GetHandler():GetReason(),0x41)==0x41 and c:IsPreviousPosition(POS_FACEUP)
return bit.band(e:GetHandler():GetReason(),0x41)==0x41 and e:GetHandler():IsPreviousPosition(POS_FACEUP) and e:GetHandler():IsPreviousLocation(LOCATION_SZONE)
end
function cm.setfilter(c)
return c.Senya_desc_with_nanahira and c:IsSSetable() and c:IsType(TYPE_TRAP) and not c:IsCode(m)
......
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