Vince Jimenez Posted July 12, 2015 Posted July 12, 2015 Can i have some Script every time my Punching bag kills its randomly get an PvP Points > #PvPPointsRandom 5- 150 points every time kill my punching bag? PLEASE! Quote
Emistry Posted July 14, 2015 Posted July 14, 2015 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; Quote
Nova Posted July 12, 2015 Posted July 12, 2015 (edited) 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 July 12, 2015 by Nova Quote
Vince Jimenez Posted July 14, 2015 Author Posted July 14, 2015 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!. Quote
Question
Vince Jimenez
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!
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.