Jump to content
  • 0

Points per Monster!


Vince Jimenez

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  68
  • Reputation:   1
  • Joined:  10/16/12
  • Last Seen:  

Can i have some Script every time my Punching bag kills its randomly get an PvP Points > #PvPPoints
Random 5- 150 points every time kill my punching bag? PLEASE!

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


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


OnMyMobDead:

.@random = rand(5,150);

#PvPPoints = #PvPPoints + .@random;

announce strcharinfo(0)+" got "+.@random+" points by killing the punching bag. ",bc_map;

monster "prontera",150,160,"--en--",1002,1,"Punching_Bag::OnMyMobDead";

end;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  265
  • Reputation:   95
  • Joined:  09/30/14
  • Last Seen:  

What's your current Punching Bag script? Is it just a permanent monster or? It'd be a lot easier if you post it so we don't just replace what it might already be doing.

-	script	Punching_Bag	HIDDEN_NPC,{
end;


OnInit:
monster "prontera",150,160,"--en--",1002,1,"Punching_Bag::OnMyMobDead";
end;

OnMyMobDead:
#PvPPoints = #PvPPoints + rand(5,150);
monster "prontera",150,160,"--en--",1002,1,"Punching_Bag::OnMyMobDead";
end;

}

Just change the mob ID, map and coordinates.

Edited by Nova
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  68
  • Reputation:   1
  • Joined:  10/16/12
  • Last Seen:  

What's your current Punching Bag script? Is it just a permanent monster or? It'd be a lot easier if you post it so we don't just replace what it might already be doing.

-	script	Punching_Bag	HIDDEN_NPC,{
end;


OnInit:
monster "prontera",150,160,"--en--",1002,1,"Punching_Bag::OnMyMobDead";
end;

OnMyMobDead:
#PvPPoints = #PvPPoints + rand(5,150);
monster "prontera",150,160,"--en--",1002,1,"Punching_Bag::OnMyMobDead";
end;

}

Just change the mob ID, map and coordinates.

Thank you sir,

is it posible to announce on whole map 

"Charname" got ( How many PvP Points given by random ) by killing Punching BAG!.

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...