Jump to content
  • 0

Need help on Battleground reward script


nightflower

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   0
  • Joined:  02/18/15
  • Last Seen:  

// Battleground rewards

// *********************************************************************

 

bat_c01,51,130,5 script RewarA::VintenarKvM01a 419,{

if( $@KvM01BG_Victory )

{

if( $@KvM01BG_Victory == 3 )

{

bg_leave;

warp "bat_room",155,150;

end;

}

else if( $@KvM01BG_Victory == Bat_Team )

{ // Victory

set .@Reward, 5;

set .@Reward2, 4;

set .@Reward3, 1;

mes "[]";

mes "!";

mes "!";

mes "" + strcharinfo(0) + "";

close2;

}

else


set .@Reward, 2;

set .@Reward2, 2;

set .@Reward3, 1;

mes "[]";

mes "";

mes ".";

close2;

}

 

getitem 7773, .@Reward;

getitem 7484, .@Reward2;

getitem 19101, .@Reward3;

bg_leave;

warp "bat_room",155,150;

end;

}

end;

}

 

bat_c01,148,53,1 script rewardB::VintenarKvM01b 415,{

if( $@KvM01BG_Victory )

{

if( $@KvM01BG_Victory == 3 )

{

bg_leave;

warp "bat_room",155,150;

end;

}

else if( $@KvM01BG_Victory == Bat_Team )

{ // Victory

set .@Reward, 5;

set .@Reward2, 4;

set .@Reward3, 1;

mes "[]";

mes "";

mes "";

mes "" + strcharinfo(0) + "";

close2;

}

else

{ // 

set .@Reward, 2;

set .@Reward2, 2;

set .@Reward3, 1;

mes "[]";

mes ", " + strcharinfo(0) + ".";

mes ".";

mes "..";

close2;

}

 

getitem 7773, .@Reward;

getitem 7484, .@Reward2;

getitem 19101, .@Reward3; 

bg_leave;

warp "bat_room",155,150;

end;

}

end;

}

-------------------------------------------------------------------------------

Is it possible to set different amount of rewards depending on the total number of players played BG? 

im really lost :/

Edited by nightflower
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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