[Question]5119 Skills

01/23/2010 02:05 Sion~#16
Quote:
Originally Posted by .Ryu View Post
Those codes are from Skill.cs :D look heres a screen shot

Screen: [Only registered and activated users can see links. Click Here To Register...]
Are any skills coded at all?
01/23/2010 02:06 .Ryu#17
Quote:
Originally Posted by Sion~ View Post
Are any skills coded at all?
Some skills are coded most of them arent so thats why im trying to code them :P
01/23/2010 02:08 Sion~#18
Quote:
Originally Posted by .Ryu View Post
Some skills are coded most of them arent so thats why im trying to code them :P
If skills are coded search the skill IDs: E.I - 1045 -1046. What source is this, I'll download it and check it out.
01/23/2010 02:10 .Ryu#19
Quote:
Originally Posted by Sion~ View Post
If skills are coded search the skill IDs: E.I - 1045 -1046. What source is this, I'll download it and check it out.
Ohh cool thanks lemme know if you figure it out imm try and searching skills ID
And its the 5119 newest co server
01/23/2010 02:11 Korvacs#20
The load method just loads in skill details, where skills are used are:

SkillUse.use()
01/23/2010 02:13 Sion~#21
Link me to the source please.
01/23/2010 02:13 .Ryu#22
Quote:
Originally Posted by Korvacs View Post
The load method just loads in skill details, where skills are used are:

SkillUse.use()
Wellgee korvacs how come you didnt just say that in the first place lol

#Edit didnt work korvacs

Quote:
Originally Posted by Sion~ View Post
Link me to the source please.
Hold on ill PM you it
01/23/2010 02:18 Korvacs#23
Quote:
Originally Posted by .Ryu View Post
Wellgee korvacs how come you didnt just say that in the first place lol

#Edit didnt work korvacs



Hold on ill PM you it
Why do you mean it didnt work? What exactly are you doing? Thats where it should go, if you follow the attack routine thats where it leads.
01/23/2010 02:20 .Ryu#24
Quote:
Originally Posted by Korvacs View Post
Why do you mean it didnt work? What exactly are you doing? Thats where it should go, if you follow the attack routine thats where it leads.
I tryed searching it is what i meant ><
01/23/2010 02:23 Sion~#25
Search"

Code:
public void Use()
in the 'Skills.cs'
01/23/2010 02:24 Korvacs#26
Quote:
Originally Posted by .Ryu View Post
I tryed searching it is what i meant ><
Goto Skill.cs

Then find SkillUse (its a struct)

Then find the Use() void within the struct and they are in there.
01/23/2010 02:28 .Ryu#27
Quote:
Originally Posted by Korvacs View Post
Goto Skill.cs

Then find SkillUse (its a struct)

Then find the Use() void within the struct and they are in there.
Cant find SkillUse -.-
Is this what you mean

Quote:
public struct SkillUse
#Edit at Sion~

Code:
 if (Single == 6700 && GuildWars.War && User.MyGuild != null && User.MyGuild != GuildWars.LastWinner)
                        {
                            MiscTargets.Add(Single, GetDamage(GuildWars.ThePole.CurHP));
                            AimX = GuildWars.ThePole.Loc.X;
                            AimY = GuildWars.ThePole.Loc.Y;
                        }
                        else if (Single == 6701 && !GuildWars.TheLeftGate.Opened && GuildWars.War)
                        {
                            MiscTargets.Add(Single, GetDamage(GuildWars.TheLeftGate.CurHP));
                            AimX = GuildWars.TheLeftGate.Loc.X;
                            AimY = GuildWars.TheLeftGate.Loc.Y;
                        }
                        else if (Single == 6702 && !GuildWars.TheRightGate.Opened && GuildWars.War)
                        {
                            MiscTargets.Add(Single, GetDamage(GuildWars.TheRightGate.CurHP));
                            AimX = GuildWars.TheRightGate.Loc.X;
                            AimY = GuildWars.TheRightGate.Loc.Y;
                        }
                    }p
Is that right?
01/23/2010 02:32 Sion~#28
Quote:
Originally Posted by .Ryu View Post
Cant find SkillUse -.-
Is this what you mean

SkillUse is a struct:
You must go to the method Use(), within that struct more or less just search:

Code:
public void Use()
in the Skills.cs.
01/23/2010 02:32 Korvacs#29
Quote:
Originally Posted by Korvacs View Post
Goto Skill.cs

Then find SkillUse (its a struct)

Then find the Use() void within the struct and they are in there.
Quote:
Originally Posted by .Ryu View Post
Cant find SkillUse -.-
Is this what you mean

Quote:
public struct SkillUse
What do ya think? :p
01/23/2010 02:34 .Ryu#30
@
Sion~
Haha look
Code:
public void Use()
            {
                try
                {
                    uint Exp = 0;
                    foreach (DictionaryEntry DE in MiscTargets)
                    {
                        uint EntityID = (uint)DE.Key;
                        uint Damage = (uint)DE.Value;

                        if (EntityID == 6700)
                            GuildWars.ThePole.TakeAttack(User, Damage, 21);
                        if (EntityID == 6701)
                            GuildWars.TheLeftGate.TakeAttack(User, Damage, 21);
                        if (EntityID == 6702)
                            GuildWars.TheRightGate.TakeAttack(User, Damage, 21);
                    }
@Korvacs haha you are a very good helper :P

Ok so this is what i found so im guessing this is where i code them

Code:
case ExtraEffect.FatalStrike:
                                {
                                    if (C.StatEff.Contains(StatusEffectEn.Ride))
                                    {
                                        C.StatEff.Remove(StatusEffectEn.Ride);
                                    }
                                    Buff B = new Buff();
                                    B.Eff = Info.ExtraEff;
                                    B.Lasts = Info.EffectLasts;
                                    B.Value = Info.EffectValue;
                                    B.Started = DateTime.Now;
                                    B.StEff = StatusEffectEn.FatalStrike;
                                    C.AddBuff(B);

                                    break;
                                }