Hi,
I'm making an npc that casts skills on the player for the purposes of Reproduce/Plagiarism. The issue is that the NPC's skill always misses the player, so the attack doesn't connect. I've tried debuffing the player with sleep/freeze/stun to set flee to 0 but that still doesn't work. Can anyone help?
//Reproduce NPCprontera,155,181,5 script Reproducer 81,{mes "Which skill you need me to cast on you ?";set .@SkillID, select( implode( .SkillName$, ":" ) ) - 1;mes "Selected "+ .SkillName$[ .@SkillID ];close2;sc_start SC_SLEEP,400,1;npcskill .SkillID[ .@SkillID ],.SkillLv[ .@SkillID ],50,50;if( .SkillID[ .@SkillID ] == 421 ) {getmapxy .@map$, .@x, .@y, 0;movenpc strnpcinfo(0), .@x, .@y;sleep 3000;movenpc strnpcinfo(0),241,87;}end;OnInit:setarray .SkillID,14,19,20,2006,2204,2213,2214,2022,263,2054,89,2002;setarray .SkillLv,10,10,10,5,5,5,5,5,10,5,10,5;setarray .SkillName$,"Cold Bolt","Fire Bolt","Lightning Bolt","Ignition Break","Jack Frost","Comet","Chain Lightning","Cross Impact","Triple Attack","Duple Light","Storm Gust","Sonic Wave";end;}