Jump to content
  • 0
Sign in to follow this  
Pandaaa

Punching Bag NPC

Question

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 )

 

-	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;
}

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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 :(

 

Fixed now...

Edited by Donthedonn

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.