Register for your free account! | Forgot your password?

You last visited: Today at 11:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] Battle Power

Discussion on [Help] Battle Power within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
[Help] Battle Power

What would be the best way to reduce an attack by the Battle Power difference between two players, for example:

Player 1 has 370 bp;
Player 2 has 367 bp;

If the attacking player 1 player 2 x attack will be increased.
If the attacking player 2 player 1 x attack will be decreased.

I did like this:

Player 2 attacking Player 1
Quote:
if(attacker.BattlePower < attacked.BattlePower) {
int dif = (attacked.BattlePower - attacker.BattlePower);
float reducePercent = (dif / 100f);
Damage -= (Damage * reducePercent);
}
Player 1 attacking Player2
Quote:
if(attacker.BattlePower > attacked.BattlePower) {
int dif = (attacker.BattlePower - attacked.BattlePower);
float reducePercent = (dif / 100f);
Damage += (Damage * reducePercent);
}
Anyone?

Problem solved!
#Closed
littlechris95 is offline  
Reply


Similar Threads Similar Threads
Battle Power
11/12/2011 - CO2 Private Server - 3 Replies
Hello mates, i need some help why the heck my potency counts the steed mount and the accesory. steedmount +2 accesory + 3. any hint?
why my battle power down?
09/02/2011 - CO2 Private Server - 4 Replies
hi all want to know because when I get any frack me off my armor power look at these photos I have 370 free frack frack I have 374, anyone know how to fix this? thanks
Battle Power/Potency Calculator
03/03/2010 - CO2 Guides & Templates - 2 Replies
Potency/Battle Power Calculator There is my quick update to emjay's battle power calculator including Horse, Fan, Tower and Nobility. If this helped hit Thanks :D Credits Me emjay202
Battle Power/Potency Calculator
12/01/2009 - Conquer Online 2 - 2 Replies
Potency/Battle Power Calculator There is my quick update to emjay's battle power calculator including Horse, Fan, Tower and Nobility. If this helps hit thanks :D Credits Me emjay202
Battle Power Calculator
04/05/2009 - CO2 Exploits, Hacks & Tools - 16 Replies
Includes +12 items, fan, towers, and noble ranks. I did this for my own use, just thought it might come in handy for someone else. Battle Power Calculator



All times are GMT +1. The time now is 11:49.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.