Register for your free account! | Forgot your password?

You last visited: Today at 10:46

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

Advertisement



Mortal

Discussion on Mortal within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2008
Posts: 708
Received Thanks: 46
Mortal

Code:
#region MortalWound
                                    case 11660:
                                        {
                                            if (CanUseSpell(spell, attacker.Owner))
                                            {

                                                spell.UseStamina = 60;
                                                if (attacker.Stamina < spell.UseStamina)
                                                    return;
                                                if (attacked != null)
                                                {
                                                    if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, attacked.X, attacked.Y) <= spell.Distance)
                                                    {
                                                        SpellUse suse = new SpellUse(true);
                                                        suse.Attacker = attacker.UID;
                                                        suse.SpellID = spell.ID;
                                                        suse.SpellLevel = spell.Level;
                                                        suse.X = X;
                                                        suse.Y = Y;

                                                        if (CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Melee))
                                                        {
                                                            PrepareSpell(spell, attacker.Owner);
                                                            suse.MakeConst();
                                                            for (uint c = 0; c < 3; c++)
                                                            {
                                                                attack.Effect1 = Attack.AttackEffects1.None;
                                                                uint damage = Game.Attacking.Calculate.Melee(attacker, attacked, spell, ref attack);

                                                                if (attacked.EntityFlag == TheOriginals.Game.EntityFlag.Player)
                                                                {
                                                                    damage = (damage * 10) / 100; //kda lma t2lel el 40 ht2l 3nd attack el nas bs el monster htfdl zy mhya
                                                                }

                                                                suse.Effect1 = attack.Effect1;
                                                                ReceiveAttack(attacker, attacked, attack, damage, spell);
                                                                suse.Targets.Add(attacked.UID + c, damage);
                                                            }
                                                            if (attacked.EntityFlag == EntityFlag.Player)
                                                                attacked.Owner.SendScreen(suse, true);
                                                            else
                                                                attacked.MonsterInfo.SendScreen(suse);

                                                        }
                                                    }
                                                    else
                                                    {
                                                        attacker.AttackPacket = null;
                                                    }
                                                }
                                                else
                                                {
                                                    if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, attackedsob.X, attackedsob.Y) <= spell.Distance)
                                                    {
                                                        SpellUse suse = new SpellUse(true);
                                                        suse.Attacker = attacker.UID;
                                                        suse.SpellID = spell.ID;
                                                        suse.SpellLevel = spell.Level;
                                                        suse.X = X;
                                                        suse.Y = Y;

                                                        if (CanAttack(attacker, attackedsob, spell))
                                                        {
                                                            PrepareSpell(spell, attacker.Owner);
                                                            suse.MakeConst();
                                                            for (uint c = 0; c < 3; c++)
                                                            {
                                                                attack.Effect1 = Attack.AttackEffects1.None;
                                                                uint damage = Game.Attacking.Calculate.Melee(attacker, attackedsob, ref attack);
                                                                if (damage > attackedsob.Hitpoints)
                                                                    damage = attackedsob.Hitpoints;
                                                                suse.Effect1 = attack.Effect1;

                                                                ReceiveAttack(attacker, attackedsob, attack, damage, spell);

                                                                suse.Targets.Add(attackedsob.UID + c, damage);
                                                            }
                                                            attacker.Owner.SendScreen(suse, true);
                                                        }
                                                    }
                                                }
                                            }
                                            else
                                            {
                                                attacker.AttackPacket = null;
                                            }
                                            break;
                                        }
                                    #endregion
this is SKill Of Assasint Hit about 6 mortal want at one time if i want to hit just 3 hit how i can edit ( sorry for my bad lang
magnon is offline  
Old 06/30/2013, 15:42   #2
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
suse.Targets.Add(attacked.UID + c, damage);
wdf could that possible be ? it's just pure mind **** to me ..
go for it is offline  
Reply


Similar Threads Similar Threads
WTS / WTT Mortal Online
06/13/2010 - Trading - 0 Replies
WTS / WTT Mortal Online 2 Tage Aktiv bietet mir was an oder 30€ psc / paypal anfragen bitte via pm
Help Mortal Combat
09/03/2009 - General Gaming Discussion - 1 Replies
Hey leute.. ich wusste nicht wo ich fragen soll und zu welchem Thema ich es machen sollte aber kann mir irgen jemand helfen wie ich die Fitalitys mache? ich habe mir auf der X Box 360 Mortal Combat vs DC universe gekauft... und ich weiß jetzt nicht wie ich die Fitalitys mache... ich habe mir eine Ganze liste der Moves ausgedruckt aber keiner klappt.. muss ich i was davor drücken? oder sie Freispielen?
Mortal Combat 1.12 ? ;( *whine*
08/28/2006 - World of Warcraft - 2 Replies
seit 1.12 geht mein geliebtes mortal combat nicht mehr ..... ich bekomm dauernd fehlermeldungen .... und kenne mich leider nicht aus .... und jetzt wollte ich mal fragen ob sich das jemand anschauen könnte und vielleicht nen bugfix machen könnte mfg ne arme Kuh
mortal combat
07/16/2006 - World of Warcraft - 10 Replies
weiß jemand ob es das für die neue version gibt??? würde mich intressieren ... ich fand das addon eigentlich ziemlich lustig im pvp musik ^^
Mortal Blow
11/20/2005 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 7 Replies
manche leute behaupten das wenn man mit dem rücken zu einem mob steht zu 80% mit mortal blow trifft ist also genauso als würde man hinter ihm stehen, habs nicht ausprobiert, kann das jmd bestätigen? sollte man mehrmals ausprobieren und die 20-40% trefferchance von vorn beachten



All times are GMT +1. The time now is 10:48.


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.