expanded area is for heal.. this is the script
this is not my script buut i need to edit it
dicastes01,197,183,4 script Come here#sanctuary 742,2,2,{
npctalk "Can you feel my healing powers?";
if (.npc_map$=="") donpcevent strnpcinfo(3)+"::OnInit";
end;
OnInit:
getmapxy .npc_map$,.npc_x,.npc_y, 1;
setarray .@dx[0], -1, 0, 1,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-1, 0, 1;
setarray .@dy[0], -2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2;
for (set .@i,0; .@i<getarraysize(.@dx); set .@i,.@i+1) {
movenpc "sanctuary#"+.@i, .npc_x+.@dx[.@i], .npc_y+.@dy[.@i];
}
OnTimer10000:
specialeffect 83;
initnpctimer;
end;
OnTouch:
while (getmapxy(.@map$,.@x,.@y,0) == 0) {
if (.npc_map$!=.@map$ || distance(.@x,.@y, .npc_x,.npc_y) > 2) break;
if (Hp < MaxHp) {
percentheal 100,100;
specialeffect2 312;
sc_start SC_BLESSING,360000,5;
sc_start SC_INCREASEAGI,360000,5;
}
sleep2 1000;
}
end;
}