Punching Bag NPC

Pandaaa

New member
Messages
170
Points
0
Location
Wonderland
Github
donthedonn
Emulator
hello, what is the problem with my script everytime i put my cursor to the Barricade it gives me error..

heres the script im using got from rathena

( I'm looking for a dummy/punching bag mob npc that will resurrect everytime it comes to 0 HP.. @ the same position )

Code:
-	script	Punching Bag	-1,{
OnInit:
	setmapflag( "payon",mf_monster_noteleport );
OnDummyKill:
	 monster "prontera",187,209,"Punching Bag",1905,1,"Punching Bag::OnDummyKill";
	 end;
OnPCAttackEvent:
	if ( !@test_punch ) end;
	@dps_damage += @damage;
	end;
}
 
Use FAKE_NPC rather than -1.

Maybe Barricade mob not in your grf? 
did that too but same.. well i downloaded the latest kRO from NickyZai how come barricade is not on grf.. let me try using other mob id/sprite

 Edit: oh i just tried another sprite it seem my client has the error, tried summoning poring and put the cursor on it then error
default_sad.png


Fixed now...

 
Last edited by a moderator:
Back
Top