Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Battleground.c
- if( nameid && amount > 0 )
- {
- short get_amount = amount;
- if (sd->vipservice > timer->gettick()) // Bonus points for VIP [Cydh]
- get_amount += battle_config.bg_vip_reward;
- Battle.h
- int woe_reserved_char_id;
- + int bg_vip_reward; // [Cydh]
- } battle_config;
- Battle.c
- { "woe_reserved_char_id", &battle_config.woe_reserved_char_id, 999999, 0, INT_MAX, },
- + { "bg_vip_reward", &battle_config.bg_vip_reward, 0, 0, MAX_AMOUNT, },
- /**
- Pc.c
- sd->kafraPoints = pc_readaccountreg(sd,script->add_str("#KAFRAPOINTS"));
- + sd->vipservice = pc_readaccountreg(sd,script->add_str("#VIPSERVICE"));
- // Cooking Exp
- Pc.h
- unsigned int bg_id;
- + int64 vipservice;
- struct battleground_data *bmaster_flag;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement