can someone help me i cant figure it out lmao :S
if (SkillId == 1190 && Stamina >= 100)
{
if (SkillLvl == 0)
{
CurHP += 500;
if (CurHP > MaxHP)
CurHP = MaxHP;
Stamina = 0;
MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
}
if (SkillLvl == 1)
{
CurHP += 800;
if (CurHP > MaxHP)
CurHP = MaxHP;
Stamina = 0;
MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
}
if (SkillLvl == 2)
{
CurHP += 1300;
if (CurHP > MaxHP)
CurHP = MaxHP;
Stamina = 0;
MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
}
}
That`s something that I appreciate^^Quote:
Great! The reason I did not release whole code was to actually get him to learn something
Thanks a bunch. Haven't tried the code yet, but was simply having issues adding new ones, didn't think to add anything to database.cs aswell ><Quote:
Here you go, put it intto char.cs to region skillatributes7 then add spiritual healing in ur external or internal databese, it depends on what source you use... and ur done