Register for your free account! | Forgot your password?

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

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

Advertisement



Req{ Some help with pirates }

Discussion on Req{ Some help with pirates } within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 3
Received Thanks: 0
Red face Req{ Some help with pirates }

Please some one give me the C# codes for blade tempest skill for +5533 With thanks
loayamr20 is offline  
Old 07/11/2012, 01:55   #2
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
Sure. But first, give me the C# codes for gale bomb for +5533 thx bro
Zeroxelli is offline  
Thanks
4 Users
Old 07/11/2012, 09:53   #3
 
elite*gold: 0
Join Date: Oct 2010
Posts: 64
Received Thanks: 10
Code:
   case 11070: // Gale Bomb
                                    {
                                        if (CanUseSpell(spell, attacker.Owner))
                                        {
                                            PrepareSpell(spell, attacker.Owner);

                                            SpellUse suse = new SpellUse(true);
                                            suse.Attacker = attacker.UID;
                                            suse.SpellID = spell.ID;
                                            suse.SpellLevel = spell.Level;
                                            suse.X = X;
                                            suse.Y = Y;

                                            if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, X, Y) <= spell.Range)
                                            {
                                                for (int c = 0; c < attacker.Owner.Screen.Objects.Count(); c++)
                                                {
                                                    //For a multi threaded application, while we go through the collection
                                                    //the collection might change. We will make sure that we wont go off  
                                                    //the limits with a check.
                                                    if (c >= attacker.Owner.Screen.Objects.Count())
                                                        break;
                                                    Interfaces.IMapObject _obj = attacker.Owner.Screen.Objects[c];
                                                    if (_obj == null)
                                                        continue;
                                                    if (_obj.MapObjType == MapObjectType.Monster || _obj.MapObjType == MapObjectType.Player)
                                                    {
                                                        attacked = _obj as Entity;
                                                        if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, attacked.X, attacked.Y) <= spell.Range)
                                                        {
                                                            if (CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Melee))
                                                            {
                                                                uint damage = Game.Attacking.Calculate.Melee(attacker, attacked);
                                                                if (spell.Power > 0)
                                                                    damage = Game.Attacking.Calculate.Magic(attacker, attacked, spell);
                                                                if (spell.ID == 8030)
                                                                    damage = Game.Attacking.Calculate.Ranged(attacker, attacked);
                                                                damage = ReceiveAttack(suse, attacker, attacked, attack, damage, spell);
                                                                suse.Targets.Add(attacked.UID, damage);
                                                                attacked.Update(_String.Effect, "pro_tir_assflo", true);
                                                            }
                                                        }
                                                    }
                                                    else if (_obj.MapObjType == MapObjectType.SobNpc)
                                                    {
                                                        attackedsob = _obj as SobNpcSpawn;
                                                        if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, attackedsob.X, attackedsob.Y) <= spell.Range)
                                                        {
                                                            if (CanAttack(attacker, attackedsob, spell))
                                                            {
                                                                uint damage = Game.Attacking.Calculate.Melee(attacker, attackedsob);
                                                                if (spell.Power > 0)
                                                                    damage = Game.Attacking.Calculate.Magic(attacker, attackedsob, spell);
                                                                if (spell.ID == 8030)
                                                                    damage = Game.Attacking.Calculate.Ranged(attacker, attackedsob);
                                                                ReceiveAttack(attacker, attackedsob, attack, damage, spell);
                                                                suse.Targets.Add(attackedsob.UID, damage);
                                                                attacked.Update(_String.Effect, "pro_tir_assflo", true);
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                            else
                                            {
                                                attacker.AttackPacket = null;
                                            }
                                            attacker.Owner.SendScreen(suse, true);
                                        }
                                        break;
                                    }
                                #endregion
now give us bladetempest
sala7mostafa is offline  
Old 07/11/2012, 10:49   #4


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by Zeroxelli View Post
Sure. But first, give me the C# codes for gale bomb for +5533 thx bro
....Awkward...
Korvacs is offline  
Thanks
2 Users
Old 07/11/2012, 13:52   #5
 
matthew 2010's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 23
Received Thanks: 4
Quote:
Originally Posted by Korvacs View Post
....Awkward...
lol
matthew 2010 is offline  
Old 07/11/2012, 22:06   #6
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
Lol, you actually gave me the code, and it's someone else's. For shame. I was joking dude.
Zeroxelli is offline  
Reply


Similar Threads Similar Threads
[Tales of Pirates] SunSet Pirates Online ! NEW !
01/05/2013 - Private Server - 2 Replies
Sunset Pirates http://img689.imageshack.us/img689/9210/25950651. jpg Uploaded with ImageShack.us http://sunsetpirates.sytes.net
Tales of Pirates Private Server Winged Pirates
05/10/2012 - Private Server Advertising - 1 Replies
Website:talesofx.servegame.com ------------------------------------------------- ------------------ Winged Pirates ------------------------------------------------- ------------------ 1) Rates: - 10x Solo EXP - 12x Party EXP
WoW - Pirates' Day
09/16/2009 - Gaming News - DE - 4 Replies
WoW Event - Blizzard hat es gern bunt und deshalb gibt es nun ein paar Extras für die Zocker: Den unfassbar cool klingenden "Pirates' Day"! Die einzige Steigerung dieses Events wäre ein "Zombie Ninja Pirate Day". Naja vielleicht nächstes Jahr... Mehr Informationen zu dem Pirates Day findet ihr hier. (Danke an tentonhammer!)
WoW - Pirates' Day
09/16/2009 - Gaming News - EN - 0 Replies
Blizzard likes to mix it up and has put a lot of cool little things into the game. Their latest addition is the amazingly cool sounding Pirates' Day! The only thing that could make this computer geek happier is if it was "Zombie Ninja Pirate Day". Oh well, maybe next year. World of Warcraft -> Info -> Events -> Pirates' Day (via tentonhammer, thx!)
Bot on Pirates/TFN?
06/30/2008 - Cabal Online - 11 Replies
These are both basically the same client and Pirates does not have Xtrap or GG that I can see. I can use autoit script with no problems but can't get twinr to start up pirates because of their different login procedure. Of course CR is dead and can't attempt that but would assume the same result. Any ideas on how to do this?



All times are GMT +2. The time now is 17:28.


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.