Jump to content
  • 0

BattleGround Reward.


Question

Posted

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)

1 answer to this question

Recommended Posts

Posted

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;

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...