Register for your free account! | Forgot your password?

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

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

Advertisement



Simple Handle Damage for 5165

Discussion on Simple Handle Damage for 5165 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2009
Posts: 2
Received Thanks: 0
Talking Simple Handle Damage for 5165

Sry with my english,

Here it is simple method for handle damage for 5165 source, couse i hve trouble with damage, all player can hit by 1.

go to Character.cs after TakeAttack method i create new method, like this :

public void ExtraDefence(ushort pDef) {
pDef = (ushort)(this.Level * 100);//<-----put every value u need
if (this.Reborns == 1) {
pDef = (ushort)(pDef + ((pDef * 30) / 100));
}
if (this.Reborns == 2) {
pDef = (ushort)(pDef + ((pDef * 60) / 100));
}
}

than... find every : ushort Def = EqStats.defense;

replace with this...
ushort Def = 0;
this.ExtraDefence(Def);
Def = (ushort)(Def + EqStats.defense);

well , at least this is help me on my server, before someone have fix this.

Note : this is just for melee attack, not finish yet if attacker by skills, u have to reduce the damage may me with that kind a trick, the idea is character have basic defense after get next lvl or rb
denyarwinto is offline  
Reply


Similar Threads Similar Threads
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. ^^
[Release] Simple Fix for Toxic fog 5165
03/05/2010 - CO2 PServer Guides & Releases - 10 Replies
Well as you all know gms/pms cannot use toxic fog here is the normal code #region ToxicFog if (!GC.GM) if (GC.MyChar.Loc.Map != 1039) { #region Mobs try { foreach (Game.Mob Mob in...
[HELP] 5165 Source simple error please help
03/01/2010 - CO2 Private Server - 1 Replies
Hello i have seen here a lot of guides, i make it step by step, a lot of times, and nothing, i have still this error: http://img706.imageshack.us/img706/274/bladdn.jpg My system configuration(and software what i installed): C# - installed Windows XP SP2
5165 Damage issues
02/06/2010 - CO2 Private Server - 1 Replies
Okay, this is odd. Somehow my lvl 100 naked ninja one hits my 2nd rb PM with over 17k hp, yet... he does only 52 damage. WTF. How can i change this damage? Thanks in advance!
[Help]How to change damage 5165
01/21/2010 - CO2 Private Server - 98 Replies
Hey i was wondering how i can change the damage on normal hit's and on TwoFoldBlade's and fb/ss hurc ect.... I want to make it too where everyone will hit like 2-4k on each other so it will be based on skill's I'm using source 5165 Thanks guy's



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


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.