Register for your free account! | Forgot your password?

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

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

Advertisement



Simple Question [About SubClasses]

Discussion on Simple Question [About SubClasses] within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,524
Received Thanks: 230
Simple Question [About SubClasses]

well iam adding full function subclass ..i've added Martial Artists , Chi Master And Warlock..and i've made sage like each level the magic atk increases and i wrote it like that

Code:
if (attacker.SubClassLevel == 7)
                                    {
                                        attacker.MagicAttack += 1000;
                                    }
but the problem in that code is that when i attack ..my magicatk increases by 1000 points each time i attack so i want it to make magic attack increases only once..what should i do or i add in my code to make it work



shadowman123 is offline  
Old 10/27/2011, 02:04   #2
 
elite*gold: 0
Join Date: Mar 2010
Posts: 474
Received Thanks: 14
Code:
if (attacker.SubClassLevel == 7)
                                    {
                                        attacker.MagicAttack = 1000;
                                    }


abdeen is offline  
Old 10/27/2011, 03:18   #3
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,524
Received Thanks: 230
Quote:
Originally Posted by abdeen View Post
Code:
if (attacker.SubClassLevel == 7)
                                    {
                                        attacker.MagicAttack = 1000;
                                    }
Rofl ..nah if so this means that if my magic atk is 12k when i Activate Sage Subclass it gonna reduce my magic atk till it becomes 1k and thats not desired at all
shadowman123 is offline  
Old 10/27/2011, 03:25   #4
 
elite*gold: 0
Join Date: Mar 2010
Posts: 474
Received Thanks: 14
Quote:
Originally Posted by shadowman123 View Post
Rofl ..nah if so this means that if my magic atk is 12k when i Activate Sage Subclass it gonna reduce my magic atk till it becomes 1k and thats not desired at all
so add this code to Sub class NPC , after he leveled up to level 7


abdeen is offline  
Old 10/27/2011, 06:49   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,350
Or make your damage boost more of a calculation and add it into your damage calculation method...


Something like...


switch(attacker.SubclassType)
{
case SubclassTypes.Warlock:
//100 extra damage for level, just using it as an example
damage += attacker.SubclassLevel * 100;
}

Something like that would work perfectly well
pro4never is offline  
Thanks
3 Users
Old 10/27/2011, 18:35   #6
 
elite*gold: 0
Join Date: Mar 2010
Posts: 474
Received Thanks: 14
Quote:
Originally Posted by pro4never View Post
Or make your damage boost more of a calculation and add it into your damage calculation method...


Something like...


switch(attacker.SubclassType)
{
case SubclassTypes.Warlock:
//100 extra damage for level, just using it as an example
damage += attacker.SubclassLevel * 100;
}

Something like that would work perfectly well
good Idea from a good person too .


abdeen is offline  
Reply


Similar Threads
[Help] SubClasses
02/19/2011 - CO2 Private Server - 2 Replies
Yo! Well... i sniffed and structured the packet with success.... but i'm getting a problem... for some reason all the infos are send like this: http://img80.imageshack.us/img80/8738/subclassi.j pg Don't bother about the P1 before the subclass it was just a test with the packet offsets... i'm sending the info with type 7 at offset 4, and StudyPoints at offset 6
can anyone share Titan subclasses combination tips..
09/07/2010 - Lineage 2 - 3 Replies
can anyone share titan subclasses combination tips.... and best subclass skill for olym coz i need casting speeed, Pdef and critical....
Simple Question Needs Simple Answer[If CR gone what bot we can use]
08/08/2008 - Cabal Online - 2 Replies
If CR is not free what BOT can we use in PH... Many players in Ph asking that question.... TY...
More than 3 subclasses ???
12/24/2006 - Lineage 2 - 1 Replies
hi all... its really possible to get more than 3 subclasses ??? i have already tryed the search but i found nothing about it... can someone help me ????



All times are GMT +1. The time now is 08:45.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

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