Jump to content
  • 0

Punching bag sometimes disappears


kyleanthonydizon

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

-	script	Punching Bag	-1,{

OnInit:

setmapflag("prontera",mf_monster_noteleport);
setmapflag("morocc",mf_monster_noteleport);

monster "prontera",136,171,"Punching Bag",1905,1,"Punching Bag::OnDummyKill";
monster "morocc",170,85,"Punching Bag",1905,1,"Punching Bag::OnDummyKill";

end;

OnDummyKill:

monster "prontera",136,171,"Punching Bag",1905,1,"Punching Bag::OnDummyKill";
monster "morocc",170,85,"Punching Bag",1905,1,"Punching Bag::OnDummyKill";

end;

OnPCAttackEvent:

if ( !@test_punch ) end;

@dps_damage += @damage;

end;

}

Hi, sometimes my punching bags disappears :( Then I need to @reloadscript to have them back :(

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

Do you have mushroom event enabled? When mushroom are summoned on the same map with punching bags, and killmonster .Map$,"All"; was executed, the puching bag will also be killed and the event label won't be triggered.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

2 minutes ago, Technoken said:

Do you have mushroom event enabled? When mushroom are summoned on the same map with punching bags, and killmonster .Map$,"All"; was executed, the puching bag will also be killed and the event label won't be triggered.

Uuh, so that's why. Now I removed mushroom spawns on Morocc and Prontera, will that solve the problem?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

Test it /no1 

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

With a permanent spawn the mob should respawn (5 secs delay)

prontera,136,171	monster	Punching Bag	1905,1,5000,0,"Punching Bag::OnDummyKill"

 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

 it could be your player purposely teleported the monster to somewhere else ... ex: Tarot Card skill .... or Rogue's Raid...

 

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...