Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 19:57

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

Advertisement



[Release] Fixed tao, archer adn meele dmgs, including rb dmg reduced

Discussion on [Release] Fixed tao, archer adn meele dmgs, including rb dmg reduced within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: May 2006
Posts: 38
Received Thanks: 16
[Release] Fixed tao, archer adn meele dmgs, including rb dmg reduced

Hi everyone,
well it's one of my first posts in epvp, though I'm member already 2 years
By the first, I know there is some programing misstakes but please ignore them and do not flame me, becouse system works well. (On LOTF too)



So, go to character.cs and search for

Code:
else if (PTarget.RBCount == 2)
                                            reborn = 0.4;
then, change fallowing few lines left (whitch look familiar to thees ) to this,

Code:
double Dodge = (double)((100 - PTarget.Dodge) / 100);
                                        if (Dodge == 0)
                                            Dodge = 1;

                                        Damage = (int)((double)Atk * ((double)(100 - PTarget.Dodge) / 100) * reborn);
Next step, go to other.cs, search for

public static uint CalculateDamage(Character Attacker, Character Attacked, byte AttackType, ushort SkillId, byte SkillLvl)

and change all fallowing code to this:

Code:
public static uint CalculateDamage(Character Attacker, Character Attacked, byte AttackType, ushort SkillId, byte SkillLvl)
        {
            int Damage = 0;
            ushort[] SkillAttributes = ExternalDatabase.SkillAttributes[SkillId][SkillLvl];
            int ExtraDamage = (int)SkillAttributes[3];
        double reborn = 0.7;
        if (Attacked.RBCount == 1)
            reborn = 0.7;
        else if (Attacked.RBCount == 2)
            reborn = 0.4;

            if (AttackType == 0 || AttackType == 1) // Direct Attack
            {
                Damage = General.Rand.Next((int)Attacker.MinAtk, (int)Attacker.MaxAtk);

                if (AttackType == 0)
                    Damage += ExtraDamage;
                else
                    Damage = (int)((ExtraDamage / (double)100) * Damage);

                Damage = (int)(Damage * Attacker.AddAtkPc);

                if (Attacker.StigBuff)
                    Damage = (int)(Damage * (1 + ((10 + Attacker.StigLevel) / (double)100)));

                if (Attacker.SMOn)
                    Damage *= 2;

                Damage = (int) (Damage * reborn - Attacked.Defense);

                if (Damage < 1)
                    Damage = 1;
            }
            else if (AttackType == 2)  // Ranged
            {
                Damage = General.Rand.Next((int)Attacker.MinAtk, (int)Attacker.MaxAtk);
                Damage += ExtraDamage;

                Damage = (int)(Damage * Attacker.AddAtkPc);

                if (Attacker.SMOn)
                    Damage *= 2;
                if (Attacker.StigBuff)
                    Damage = (int)(Damage * (1 + ((10 + Attacker.StigLevel) / (double)100)));

                Damage = (int)(Damage * ((105 - Attacked.Dodge) / (double)100) * reborn);

                if (Damage < 1)
                    Damage = 1;
            }
            else if (AttackType == 3 || AttackType == 4)//Magic Attack
            {
                if (AttackType == 3)
                    Damage = (int)+ExtraDamage;
                else
                    Damage = (int)((double)ExtraDamage * Attacker.MAtk);

                Damage = (int)((Attacker.MAtk - Attacked.MDefense) * reborn);
                
                if (Damage < 1)
                    Damage = 1;
            }

            else
            {
                Damage = 1;
            }
            return (uint)Damage;
        }

Done, happy using, and enjoy my little share

Remis
Padaras is offline  
Thanks
8 Users
Old 09/18/2008, 15:57   #2
 
elite*gold: 0
Join Date: Aug 2006
Posts: 227
Received Thanks: 57
Ty alot bro
keving is offline  
Old 09/18/2008, 16:15   #3
 
elite*gold: 0
Join Date: May 2006
Posts: 38
Received Thanks: 16
Ur welcome ;D May u pm me the gem effects lines, it would be great, becouse i m to lazy to code them by my self ;D
Padaras is offline  
Old 09/18/2008, 17:45   #4
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
ahh max tao hits 8k to max trojan WTF !!!
max Archer Hits 15 to Max Tro !
this need some fixes !
$HaDoW is offline  
Old 09/18/2008, 18:08   #5
 
elite*gold: 0
Join Date: May 2006
Posts: 38
Received Thanks: 16
Quote:
Originally Posted by ;1451713
ahh max tao hits 8k to max trojan WTF !!!
what do you meen ? dmg reduced is working.... well if tao dmg is huge say so, than i ll repair it, cos its easy, cmon ;D
Padaras is offline  
Old 09/18/2008, 18:27   #6
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
aleardy fixed now working on archer !

btw where cna I find the real damage not skill but the real dmg that is made with simple arrow shoot ???
$HaDoW is offline  
Old 09/18/2008, 18:46   #7
 
elite*gold: 0
Join Date: May 2006
Posts: 38
Received Thanks: 16
go to character.cs and look for attack type 2 xD
Padaras is offline  
Old 09/18/2008, 18:58   #8
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
Code:
else if (AttackType == 2)//Ranged
            {
                Damage = General.Rand.Next((int)Attacker.MinAtk, (int)Attacker.MaxAtk);
                Damage += ExtraDamage;

                Damage = (int)((double)Damage * Attacker.AddAtkPc);

                if (Attacker.SMOn)
                    Damage *= 3;
                if (Attacker.StigBuff)
                    Damage = (int)(Damage * (double)(1 + ((double)(10 + Attacker.StigLevel) / 100)));

                Damage = (int)(((double)Damage - Attacked.Defense) / 12);

                if (Damage < 1)
                    Damage = 256;
            }
this one is mine with yours dmg sucks ! :P
with mine archer hits with scatter 800 - 1200
but with simple shoot only 110 - 130 how cna i make it bigger ?
$HaDoW is offline  
Old 09/18/2008, 19:38   #9
 
elite*gold: 0
Join Date: May 2006
Posts: 38
Received Thanks: 16
Quote:
Originally Posted by ;1451973
Code:
else if (AttackType == 2)//Ranged
            {
                Damage = General.Rand.Next((int)Attacker.MinAtk, (int)Attacker.MaxAtk);
                Damage += ExtraDamage;

                Damage = (int)((double)Damage * Attacker.AddAtkPc);

                if (Attacker.SMOn)
                    Damage *= 3;
                if (Attacker.StigBuff)
                    Damage = (int)(Damage * (double)(1 + ((double)(10 + Attacker.StigLevel) / 100)));

                Damage = (int)(((double)Damage - Attacked.Defense) / 12);

                if (Damage < 1)
                    Damage = 256;
            }
this one is mine with yours dmg sucks ! :P
with mine archer hits with scatter 800 - 1200
but with simple shoot only 110 - 130 how cna i make it bigger ?

look at ur source, its Damage - defence, if u want to make it normal as in co use this methode:
damage * ((100 - attacked.dodge )/100)

btw, tu lietuvis ??
Padaras is offline  
Old 09/18/2008, 19:59   #10
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
omfg lol tai aiskus kad jo xD duok skype Mano HaKaShis
$HaDoW is offline  
Old 09/18/2008, 20:25   #11
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
This is English/German forum, so please keep it that way
glupkotrup is offline  
Old 09/18/2008, 21:25   #12
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
I know and he know he just asked if I'm from Lithuania :P
and I am ! and hes from my town to ! thats so sweet ^_^
$HaDoW is offline  
Old 09/18/2008, 22:07   #13
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
PM him... Ask him for his MSN, talk there -_-
glupkotrup is offline  
Old 09/19/2008, 00:59   #14
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Bleh, this isn't really that good, and no, normal CO archers take in to count Defence AND Dodge... not just 1 or the other.
tao4229 is offline  
Old 09/19/2008, 17:22   #15
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
whell tao is fixed 99% I only needed to make some changes to make its dmg lower but atrcher sucks :P
$HaDoW is offline  
Closed Thread


Similar Threads Similar Threads
[final release]dekaron scripts including skill hack
08/17/2014 - Dekaron PServer Hacks, Bots, Cheats & Exploits - 232 Replies
since i already quit dekaron,i just want to share the script the i kept since i still play dekaron.well this will be my last release here since i already play different game now. anyway here it is. u need winhex on to use it.theres already a tutorial by me on how to do it,just look in my signature and its all there.also the offset you see inside the script is base on dekaron extreme so you need to edit the offset by using this tutorial how to search offset on dekaron
[RELEASE] Create Any Name including ASCII
10/14/2011 - Shaiya Hacks, Bots, Cheats & Exploits - 26 Replies
removed
how i can fixed my archer attack
12/26/2008 - CO2 Private Server - 4 Replies
how i can make my archer attack like real counqer archer can kill anyone with hight number
[Request] Taoist and Archer Damage Fixed
09/03/2008 - CO2 Private Server - 14 Replies
Someone knows how to fix this? No1 made and topic like this before or posted it anywere...



All times are GMT +2. The time now is 19:57.


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