---------------------------------------------------
-- Earthen Ward
-- Titan grants Stoneskin to party members within area of effect.
---------------------------------------------------

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

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

function OnMobSkillCheck(target,mob,skill)
    return 0;
end;

function OnMobWeaponSkill(target, mob, skill)

   local typeEffect = EFFECT_STONESKIN;
   local base = mob:getMainLvl()*2 + 50;

    skill:setMsg(MobBuffMove(mob, typeEffect, base, 0, 180));

	return EFFECT_STONESKIN;

end