Update compat.lua

+isSummon
Merge pull request #363 from Faith2531/patch-2

Update compat.lua