you can just use npc with monster sprite to do that
prontera,162,187,5 script Baphomet#hidden -1,3,3,{
end;
OnTouch:
enablenpc "Baphomet#script";
doevent "Baphomet#script::OnTrigger";
end;
}
prontera,162,187,5 script Baphomet#script 1039,{
end;
OnTrigger:
npctalk "Muahaha !! you just draw your last breath !";
.@origin = getcharid(3);
pcblockmove .@origin, 1;
sleep 1000;
for ( .@i = 0; .@i < 3; .@i++ ) {
sleep 1000;
if ( attachrid( .@origin ) ) {
heal -( hp /2 ), 0; // reduce their hp by half for 3 times = 0.5 -> 0.25 -> 0.125
specialeffect2 callfunc( "F_Rand", EF_HIT1, EF_HIT2, EF_HIT3, EF_HIT4, EF_HIT5, EF_HIT6 );
}
}
if ( isloggedin( .@origin ) )
pcblockmove .@origin, 0;
sleep 1000;
if ( attachrid( .@origin ) )
warp "Random", 0,0;
disablenpc strnpcinfo(0);
end;
}its kinda hard to get the monster to do the exact amount of damage you wantbecause players can think of all sorts of tricks to lower down the damage done by monster using damage resisting cards