---------------------------------------------------
-- Meteorite
---------------------------------------------------

require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");

---------------------------------------------------

function OnAbilityCheck(player, target, ability)
    return 0,0;
end;

function OnPetAbility(target, pet, skill)
	local dint = pet:getStat(MOD_INT) - target:getStat(MOD_INT);
	local dmg = 500 + dint*1.5 + skill:getTP()/2;
	target:updateEnmityFromDamage(pet,dmg);
	target:delHP(dmg);
	return dmg;
end