Update core.lua

Add target parameter to IsSpellInRange call for spell.range condition
Merge pull request #15 from daihenka/patch-1

Update core.lua