Skill isn't working lol

08/13/2009 03:36 TehPwnzor#1
Any1 know whats wrong with SpiritualHealing
Code:
            //SpiritualHealing
            SkillAttributes[1190] = new ushort[3][];
            SkillAttributes[1190][0] = new ushort[6] { 7, 0, 0, 500, 100, 100 };
            SkillAttributes[1190][1] = new ushort[6] { 7, 0, 0, 800, 100, 100 };
            SkillAttributes[1190][2] = new ushort[6] { 7, 0, 0, 1300, 100, 100 };
            SkillsDone.Add(1190, 2);
idk spiritualhealing doesnt heal
any1 know why
08/13/2009 03:43 f0am#2
you have to code it in UseSkill...you will get it dun worry =]]
08/13/2009 03:53 TehPwnzor#3
lol get on msn i need halps
08/13/2009 04:01 f0am#4
ir on msn remember... ur the one whos not its my new one and dun fuckign say it or ill hack on ur serv =]
08/13/2009 04:01 TehPwnzor#5
Code:
                        if (SkillId == 1190 && Stamina >= 100)
                        {
                            if (LocMap != 1039)
                            {
                                if (SkillLvl == 0)
                                {
                                    CurHP += 500;
                                    if (CurHP > MaxHP)
                                        CurHP = MaxHP;
                                    Stamina = 0;
                                    MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                                    MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                }
                                if (SkillLvl == 1)
                                {
                                    CurHP += 800;
                                    if (CurHP > MaxHP)
                                        CurHP = MaxHP;
                                    Stamina = 0;
                                    MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                                    MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                }
                                if (SkillLvl == 2)
                                {
                                    CurHP += 1300;
                                    if (CurHP > MaxHP)
                                        CurHP = MaxHP;
                                    Stamina = 0;
                                    MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                                    MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                }
                            }
                            else if (LocMap == 1039)
                            {
                                if (SkillLvl == 0)
                                {
                                    CurHP += 500;
                                    if (CurHP > MaxHP)
                                        CurHP = MaxHP;
                                    MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                }
                                if (SkillLvl == 1)
                                {
                                    CurHP += 800;
                                    if (CurHP > MaxHP)
                                        CurHP = MaxHP;
                                    MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                }
                                if (SkillLvl == 2)
                                {

                                    CurHP += 1300;
                                    if (CurHP > MaxHP)
                                        CurHP = MaxHP;
                                    MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                }
                            }
                        }
thats under use skill
08/13/2009 04:07 f0am#6
go on fcking msn and i r help u! >< arco goooooooooooooooooooo
08/13/2009 04:10 TehPwnzor#7
lol mmk bro
08/13/2009 04:20 andyd123#8
This entire thread could probably have been kept in a PM, we really don't need to see any personal communication like what we see here.

No offense to either of you :)
08/13/2009 09:27 _Emme_#9
This is how I had done it (Well, just wrote it) if I really had to in LOTF:

Note: May not work, was not intented to, just to show you an example.

Quote:
if (SkillID == 1090 && Stamina >= 100)
{
if (SkillLvl == 0)
CurHP += 500;
else if (SkillID == 1)
CurHP += 800;
else
CurHP += 1300;

if (CurHP >= MaxHP)
CurHP = MaxHP;
MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
if (LocMap != 1039)
{
Stamina = 0;
MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
}

}
08/14/2009 00:01 TehPwnzor#10
#request close
i got it nows!
08/14/2009 01:35 kinshi88#11
#Closed