[Release] Summon skill

02/08/2009 09:40 taylor2846#1
ok i just got done with this tell me if theirs any errors i just tested it it worked for me post any bugs plz ok here we go

Code:
[COLOR="Red"]This skill Will Summon Your Team To You If You Are The Team Leader;[/COLOR]
ok in
Code:
public static void DefineSkills()
add this

Code:
            //Summon
            SkillAttributes[1060] = new ushort[1][];
            SkillAttributes[1060][0] = new ushort[6] { 7, 0, 0, 0, 0, 0 };
            SkillsDone.Add(1060, 0);
ok now search for
Code:
if (SkillAttributes[0] == 7)
in Character.cs

in it add this
Code:
                        if (SkillId == 1060)
                        {
                            foreach (Character Member in MyClient.MyChar.Team)
                            {
                                Member.Teleport(MyClient.MyChar.LocMap, MyClient.MyChar.LocX, MyClient.MyChar.LocY);
                                XpList = false;
                                XPActivated = DateTime.Now;
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat()));
                                break;
                            }
                        }
ok thats it try it out tell me if u find a bug

plz poast if u want me to keep Releaseing
02/08/2009 14:42 culo01#2
summon what ? i tested it and its not working

EDIT : can you put on your post that this in an XP skill and it summons teammates ? i cant see f its working on my own but it has the effect and all and u can summon it multiple times till the xp bar goes away
02/08/2009 14:50 ~*NewDuuDe*~#3
you have to make the mech n shit
n this is crap, all he did was to change a few lines in the guard summon code
02/08/2009 19:18 taylor2846#4
Quote:
Originally Posted by BERGHUIS1 View Post
you have to make the mech n shit
n this is crap, all he did was to change a few lines in the guard summon code
lol do u even no what the skill is its a xp skill when u us it if you are in a team and u r the team leader it will summon your team to you and i thank it will only tack your xp a way if u summon somone to u and i codded this my self and is has noting to do with the guard summon code xD

i u want it to tack the xp if u smmon somone or not i thank u can just edit

Code:
                                Member.Teleport(MyClient.MyChar.LocMap, MyClient.MyChar.LocX, MyClient.MyChar.LocY);
                                XpList = false;
                                XPActivated = DateTime.Now;
to

Code:
                                XpList = false;
                                XPActivated = DateTime.Now;
                                Member.Teleport(MyClient.MyChar.LocMap, MyClient.MyChar.LocX, MyClient.MyChar.LocY);