Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 21:33

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

Advertisement



Monster to Player Magic Damage Calculation

Discussion on Monster to Player Magic Damage Calculation within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2006
Posts: 60
Received Thanks: 170
Monster to Player Magic Damage Calculation

Someone know the right calculation for MVP damage? I'm with small problemas at that... Ive tryied to many ways but never get the correct =/
master15 is offline  
Old 02/11/2010, 19:06   #2

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
You know that this is the wrong section right?
Kiyono is offline  
Old 02/11/2010, 19:16   #3


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Moved.
Korvacs is offline  
Old 02/12/2010, 05:51   #4
 
andyd123's Avatar
 
elite*gold: 20
Join Date: Apr 2006
Posts: 1,341
Received Thanks: 886
Generally, though I'm not sure if I ever checked to make sure this was right, I don't see any reason why it shouldn't be.


Code:
int Damage = 0;
				if(Info.MinAttack < Info.MaxAttack)
					Damage = Nano.Rand.Next(Info.MinAttack, Info.MaxAttack);
				else
					Damage = Nano.Rand.Next(Info.MaxAttack, Info.MinAttack);
				Damage -= Attacked.Client.Defense;
				if(Attacked.Client.Reborn == 1)
				{
					Damage = (int)Math.Floor(Damage*.7);
				}
				else if(Attacked.Client.Reborn == 2)
				{
					Damage = (int)Math.Floor(Damage*.7);
					Damage = (int)Math.Floor(Damage*.5);
				}
				double Tort = 0;
				Tort += Attacked.Client.NTG*0.02;
				Tort += Attacked.Client.RTG*0.04;
				Tort += Attacked.Client.STG*0.06;
				Damage = (int)Math.Floor(Damage*(1-Tort));
				if(Attacked.Client.Bless > 0)
				{
					Damage = (int)Math.Floor(Damage * (1 - (Attacked.Client.Bless*0.01)));
				}
Textual explanation:
1. Generate random value between monster's min and max attack
2. Subtract exact physical defense (or, for magical attacks, subtract all magical defense)
3. Check if player is 1st or 2nd rbn, and reduce damage by 30% and/or 50%
4. Calculate tortoise gem reduction, subtract that
5. Take client's bless score (-1,3,5,7 items) and reduce damage by that amount
Good to go.
andyd123 is offline  
Reply


Similar Threads Similar Threads
Damage Calculation
08/02/2010 - CO2 PServer Guides & Releases - 12 Replies
Okay. I haven't found any physical damage calculations out there that involves BP. Maybe nobody wants it or what but Ive been lurking these forums for a while looking for ideas for my server. Anyway, here's my ROUGH (+- 1.5k) damage compared to the real co. If anyone got any ideas on how to improve my equation by all means please post. I use 5165 but the gist of it should be the same as other servers. also, thanks to CoEmu v2, I used some of the damage calculation from there namely the...
5165 Damage Calculation
03/07/2010 - CO2 Private Server - 7 Replies
Fixes around the forum are useless and no where near good enough if you want to make a server public. Someone should go ahead and fix it then release their code. Get some thanks and make everyone happy. I wont because I can't, I would if i could. ^^
[Help] Calculate damage Player-Mob
05/23/2009 - CO2 Private Server - 4 Replies
Does someone can explain me how to calculate the damage to a MobTarget including: Character Level, MaxAtk & MinAtk Mob Level, Defence & Dodge Or a link to eudemons database to look into the damage calculation could help me! Thanks for reply :)
[Help] monster damage
12/06/2008 - CO2 Private Server - 2 Replies
hi, i've a little problem with the monster damage. On evry char with or without stuff the monsters does 1 damage. don't know if someone else had the same problem or if someone know where i can change that. i just need a little hint :-) thanks in advance sorry for using bad english
AL Damage Calculation
07/15/2007 - Archlord - 0 Replies
Does anyone know how AL computes damage? I have been playing with combinations of weapons and stones and can't find the magic equation. Here is what I have been doing: Ab = Base Attack (without weapon) Aw = Attack with Weapon Ae = Attack bonus due to Elemental Stones (e.g. 4 level 3 stones is 5+5+1+5+1+5+1 = 23) Sb = Skill bonus for Basic Attack (%) Se = Skill bonus for Elemental Attack (%) a = attenuation factor based on mob level and player level b = boolean for elemental damage...



All times are GMT +1. The time now is 21:37.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.