Jump to content
  • 0

BattleGround Reward.


kevinsocha

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  02/10/13
  • Last Seen:  

i want the battleground give all of 3 types emblem like reward and i don't no how i fix this.

need to add some line here ou what?

 

// Team Rewards
// =======================================================
set .@Reward, 15 + .Score;
set .@Won,2;

if( .Score >= 6 )
{ // Emperium Taken
set .@Reward, .@Reward + 9;
set .@Won,0;
}

bg_reward .Atacker,7773,.@Reward,0,0,"BG_CON",1,6,.@Won;

set .Score, 6 - .Score; // Switch for Defender

set .@Reward, 15 + .Score;
set .@Won,2;

if( .Score >= 1 )
{ // Emperium Defended
set .@Reward, .@Reward + 9;
set .@Won,0;
}

bg_reward .Defender,7773,.@Reward,0,0,"BG_CON",1,6,.@Won;

 




(sorry about my bad english)

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


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

we dont have bg_reward in rAthena... so we wont know how it work...so...it's almost imposible to help you in this...

bg_reward .Defender,7773,.@Reward,0,0,"BG_CON",1,6,.@Won;

if the 7773 refer to item_db...

then just duplicate few more similar like..and change the item_id

bg_reward .Defender,608,.@Reward,0,0,"BG_CON",1,6,.@Won;
bg_reward .Defender,512,.@Reward,0,0,"BG_CON",1,6,.@Won;
bg_reward .Defender,607,.@Reward,0,0,"BG_CON",1,6,.@Won;

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