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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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