// lifeheal.c

#include <ansi.h>

int exert(object me, object target)
{
	if( !target )
		return notify_fail("Anίu𬰽ˡS\n");

	if( me->is_fighting() || target->is_fighting())
		return notify_fail("԰LkB\\ˡT\n");

	if( (int)me->query("force") - (int)me->query("max_force") < 150 )
		return notify_fail("Au𤣰C\n");

	if( (int)target->query("eff_kee") < (int)target->query("max_kee") / 5 )
		return notify_fail( target->name() + "wg˹LMg_Au_T\n");

	message_vision(
		HIY "$NFUӹB_\\MNxKb$nIߡMwwaNuJ$n餺....\n\n"
		"LF[M$NBYW_Xj]M$nRX@fMyݰ_ӬhFC\n" NOR,
		me, target );

	target->receive_curing("kee", 10 + (int)me->query_skill("force")/3 );
	me->add("force", -150);
	me->set("force_factor", 0);

	return 1;
}
