hi im pete,
and today im going to release the rest of the WEAPON skills for LOTF source, ye you might think lotf is nooby and sucks but i like it so deal
First search for
under that whole thing add
NEXt search for
and below that whole thing add
AND LASTY search for
and BELOW THAT WHOLE THING ADD THIS
i looked at these carefull kindof and i did my best so i hope this helps you.. and if you have an ExternalDataBase the parts in this where it says DataBase just change to ExternalDataBase
PRESS THANKS IF THIS HELPED YOU!!!
and today im going to release the rest of the WEAPON skills for LOTF source, ye you might think lotf is nooby and sucks but i like it so deal
First search for
Code:
if (WepType == 480)
under that whole thing add
Code:
else if (WepType == 530)
{
if (Skills.Contains((short)5050))
{
byte SkillLvl = (byte)Skills[(short)5050];
byte Chance = (byte)DataBase.SkillAttributes[(int)5050][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(5050, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 580)
{
if (Skills.Contains((short)5020))
{
byte SkillLvl = (byte)Skills[(short)5020];
byte Chance = (byte)DataBase.SkillAttributes[(int)5020][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(5020, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 560)
{
if (Skills.Contains((short)1260))
{
byte SkillLvl = (byte)Skills[(short)1260];
byte Chance = (byte)DataBase.SkillAttributes[(int)1260][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(1260, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 510)
{
if (Skills.Contains((short)1250))
{
byte SkillLvl = (byte)Skills[(short)1250];
byte Chance = (byte)DataBase.SkillAttributes[(int)1250][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(1250, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 540)
{
if (Skills.Contains((short)1300))
{
byte SkillLvl = (byte)Skills[(short)1300];
byte Chance = (byte)DataBase.SkillAttributes[(int)1300][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(1300, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 481)
{
if (Skills.Contains((short) 7030))
{
byte SkillLvl = (byte)Skills[(short) 7030];
byte Chance = (byte)DataBase.SkillAttributes[(int)7030][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(7030, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 430)
{
if (Skills.Contains((short) 7000))
{
byte SkillLvl = (byte)Skills[(short) 7000];
byte Chance = (byte)DataBase.SkillAttributes[(int)7000][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(7000, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 450)
{
if (Skills.Contains((short) 7010))
{
byte SkillLvl = (byte)Skills[(short) 7010];
byte Chance = (byte)DataBase.SkillAttributes[(int)7010][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(7010, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 440)
{
if (Skills.Contains((short) 7040))
{
byte SkillLvl = (byte)Skills[(short) 7040];
byte Chance = (byte)DataBase.SkillAttributes[(int)7040][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(7040, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 460)
{
if (Skills.Contains((short) 5040))
{
byte SkillLvl = (byte)Skills[(short) 5040];
byte Chance = (byte)DataBase.SkillAttributes[(int)5040][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(5040, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 421)
{
if (Skills.Contains((short) 5030))
{
byte SkillLvl = (byte)Skills[(short) 5030];
byte Chance = (byte)DataBase.SkillAttributes[(int)5030][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(5030, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 490)
{
if (Skills.Contains((short)1290))
{
byte SkillLvl = (byte)Skills[(short)1290];
byte Chance = (byte)DataBase.SkillAttributes[(int)1290][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(1290, 0, 0, 0);
Use = true;
}
}
}
NEXt search for
Code:
if (WepType == 480 && !Use)
and below that whole thing add
Code:
else if (WepType == 490 && !Use)
{
if (Skills.Contains((short)1290))
{
byte SkillLvl = (byte)Skills[(short)1290];
byte Chance = (byte)DataBase.SkillAttributes[(int)1290][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(1290, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 530 && !Use)
{
if (Skills.Contains((short)5050))
{
byte SkillLvl = (byte)Skills[(short)5050];
byte Chance = (byte)DataBase.SkillAttributes[(int)5050][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(5050, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 580 && !Use)
{
if (Skills.Contains((short)5020))
{
byte SkillLvl = (byte)Skills[(short)5020];
byte Chance = (byte)DataBase.SkillAttributes[(int)5020][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(5020, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 560 && !Use)
{
if (Skills.Contains((short)1260))
{
byte SkillLvl = (byte)Skills[(short)1260];
byte Chance = (byte)DataBase.SkillAttributes[(int)1260][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(1260, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 510 && !Use)
{
if (Skills.Contains((short)1250))
{
byte SkillLvl = (byte)Skills[(short)1250];
byte Chance = (byte)DataBase.SkillAttributes[(int)1250][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(1250, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 540 && !Use)
{
if (Skills.Contains((short)1300))
{
byte SkillLvl = (byte)Skills[(short)1300];
byte Chance = (byte)DataBase.SkillAttributes[(int)1300][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(1300, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 481 && !Use)
{
if (Skills.Contains((short) 7030))
{
byte SkillLvl = (byte)Skills[(short) 7030];
byte Chance = (byte)DataBase.SkillAttributes[(int) 7030][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(7030, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 430 && !Use)
{
if (Skills.Contains((short) 7000))
{
byte SkillLvl = (byte)Skills[(short) 7000];
byte Chance = (byte)DataBase.SkillAttributes[(int) 7000][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(7000, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 450 && !Use)
{
if (Skills.Contains((short) 7010))
{
byte SkillLvl = (byte)Skills[(short) 7010];
byte Chance = (byte)DataBase.SkillAttributes[(int) 7010][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(7010, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 440 && !Use)
{
if (Skills.Contains((short) 7040))
{
byte SkillLvl = (byte)Skills[(short) 7040];
byte Chance = (byte)DataBase.SkillAttributes[(int) 7040][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(7040, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 460 && !Use)
{
if (Skills.Contains((short) 5040))
{
byte SkillLvl = (byte)Skills[(short) 5040];
byte Chance = (byte)DataBase.SkillAttributes[(int) 5040][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(5040, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 421 && !Use)
{
if (Skills.Contains((short) 5030))
{
byte SkillLvl = (byte)Skills[(short) 5030];
byte Chance = (byte)DataBase.SkillAttributes[(int) 5030][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(5030, 0, 0, 0);
Use = true;
}
}
}
else if (WepType == 420 && !Use)
{
if (TargetUID != 0)
if (Skills.Contains((short)5030))
{
byte SkillLvl = (byte)Skills[(short)5030];
byte Chance = (byte)DataBase.SkillAttributes[(int)5030][(int)SkillLvl][5];
if (Other.ChanceSuccess(Chance))
{
UseSkill(5030, 0, 0, TargetUID);
Use = true;
}
}
}
AND LASTY search for
Code:
SkillAttributes[5030] = new ushort[10][];
Code:
SkillAttributes[1290] = new ushort[10][];
SkillAttributes[1290][0] = new ushort[6] { 12, 0, 0, 112, 0, 35 };
SkillAttributes[1290][1] = new ushort[6] { 12, 0, 0, 113, 0, 40 };
SkillAttributes[1290][2] = new ushort[6] { 12, 0, 0, 114, 0, 45 };
SkillAttributes[1290][3] = new ushort[6] { 12, 0, 0, 115, 0, 50 };
SkillAttributes[1290][4] = new ushort[6] { 12, 0, 0, 116, 0, 55 };
SkillAttributes[1290][5] = new ushort[6] { 12, 0, 0, 117, 0, 60 };
SkillAttributes[1290][6] = new ushort[6] { 12, 0, 0, 118, 0, 63 };
SkillAttributes[1290][7] = new ushort[6] { 12, 0, 0, 119, 0, 66 };
SkillAttributes[1290][8] = new ushort[6] { 12, 0, 0, 120, 0, 69 };
SkillAttributes[1290][9] = new ushort[6] { 12, 0, 0, 121, 0, 72 };
SkillsDone.Add(1290, 9);
SkillAttributes[5050] = new ushort[10][];
SkillAttributes[5050][0] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[5050][1] = new ushort[6] { 0, 2, 0, 110, 0, 23 };
SkillAttributes[5050][2] = new ushort[6] { 0, 2, 0, 110, 0, 26 };
SkillAttributes[5050][3] = new ushort[6] { 0, 2, 0, 110, 0, 29 };
SkillAttributes[5050][4] = new ushort[6] { 0, 3, 0, 140, 0, 31 };
SkillAttributes[5050][5] = new ushort[6] { 0, 3, 0, 140, 0, 34 };
SkillAttributes[5050][6] = new ushort[6] { 0, 3, 0, 140, 0, 37 };
SkillAttributes[5050][7] = new ushort[6] { 0, 3, 0, 140, 0, 40 };
SkillAttributes[5050][8] = new ushort[6] { 0, 3, 0, 140, 0, 43 };
SkillAttributes[5050][9] = new ushort[6] { 0, 3, 0, 145, 0, 45 };
SkillsDone.Add(5050, 9);
SkillAttributes[5020] = new ushort[10][];
SkillAttributes[5020][0] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[5020][1] = new ushort[6] { 0, 2, 0, 110, 0, 23 };
SkillAttributes[5020][2] = new ushort[6] { 0, 2, 0, 110, 0, 26 };
SkillAttributes[5020][3] = new ushort[6] { 0, 2, 0, 110, 0, 29 };
SkillAttributes[5020][4] = new ushort[6] { 0, 3, 0, 140, 0, 31 };
SkillAttributes[5020][5] = new ushort[6] { 0, 3, 0, 140, 0, 34 };
SkillAttributes[5020][6] = new ushort[6] { 0, 3, 0, 140, 0, 37 };
SkillAttributes[5020][7] = new ushort[6] { 0, 3, 0, 140, 0, 40 };
SkillAttributes[5020][8] = new ushort[6] { 0, 3, 0, 140, 0, 43 };
SkillAttributes[5020][9] = new ushort[6] { 0, 3, 0, 145, 0, 45 };
SkillsDone.Add(5020, 9);
SkillAttributes[1260] = new ushort[10][];
SkillAttributes[1260][0] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[1260][1] = new ushort[6] { 0, 2, 0, 110, 0, 23 };
SkillAttributes[1260][2] = new ushort[6] { 0, 2, 0, 110, 0, 26 };
SkillAttributes[1260][3] = new ushort[6] { 0, 2, 0, 110, 0, 29 };
SkillAttributes[1260][4] = new ushort[6] { 0, 3, 0, 140, 0, 31 };
SkillAttributes[1260][5] = new ushort[6] { 0, 3, 0, 140, 0, 34 };
SkillAttributes[1260][6] = new ushort[6] { 0, 3, 0, 140, 0, 37 };
SkillAttributes[1260][7] = new ushort[6] { 0, 3, 0, 140, 0, 40 };
SkillAttributes[1260][8] = new ushort[6] { 0, 3, 0, 140, 0, 43 };
SkillAttributes[1260][9] = new ushort[6] { 0, 3, 0, 145, 0, 45 };
SkillsDone.Add(1260, 9);
SkillAttributes[1250] = new ushort[10][];
SkillAttributes[1250][0] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[1250][1] = new ushort[6] { 0, 2, 0, 110, 0, 23 };
SkillAttributes[1250][2] = new ushort[6] { 0, 2, 0, 110, 0, 26 };
SkillAttributes[1250][3] = new ushort[6] { 0, 2, 0, 110, 0, 29 };
SkillAttributes[1250][4] = new ushort[6] { 0, 3, 0, 140, 0, 31 };
SkillAttributes[1250][5] = new ushort[6] { 0, 3, 0, 140, 0, 34 };
SkillAttributes[1250][6] = new ushort[6] { 0, 3, 0, 140, 0, 37 };
SkillAttributes[1250][7] = new ushort[6] { 0, 3, 0, 140, 0, 40 };
SkillAttributes[1250][8] = new ushort[6] { 0, 3, 0, 140, 0, 43 };
SkillAttributes[1250][9] = new ushort[6] { 0, 3, 0, 145, 0, 45 };
SkillsDone.Add(1250, 9);
SkillAttributes[1300] = new ushort[10][];
SkillAttributes[1300][0] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[1300][1] = new ushort[6] { 0, 2, 0, 110, 0, 23 };
SkillAttributes[1300][2] = new ushort[6] { 0, 2, 0, 110, 0, 26 };
SkillAttributes[1300][3] = new ushort[6] { 0, 2, 0, 110, 0, 29 };
SkillAttributes[1300][4] = new ushort[6] { 0, 3, 0, 140, 0, 31 };
SkillAttributes[1300][5] = new ushort[6] { 0, 3, 0, 140, 0, 34 };
SkillAttributes[1300][6] = new ushort[6] { 0, 3, 0, 140, 0, 37 };
SkillAttributes[1300][7] = new ushort[6] { 0, 3, 0, 140, 0, 40 };
SkillAttributes[1300][8] = new ushort[6] { 0, 3, 0, 140, 0, 43 };
SkillAttributes[1300][9] = new ushort[6] { 0, 3, 0, 145, 0, 45 };
SkillsDone.Add(1300, 9);
SkillAttributes[7030] = new ushort[10][];
SkillAttributes[7030][0] = new ushort[6] { 12, 0, 0, 112, 0, 35 };
SkillAttributes[7030][1] = new ushort[6] { 12, 0, 0, 113, 0, 40 };
SkillAttributes[7030][2] = new ushort[6] { 12, 0, 0, 114, 0, 45 };
SkillAttributes[7030][3] = new ushort[6] { 12, 0, 0, 115, 0, 50 };
SkillAttributes[7030][4] = new ushort[6] { 12, 0, 0, 120, 0, 55 };
SkillAttributes[7030][5] = new ushort[6] { 12, 0, 0, 123, 0, 60 };
SkillAttributes[7030][6] = new ushort[6] { 12, 0, 0, 128, 0, 63 };
SkillAttributes[7030][7] = new ushort[6] { 12, 0, 0, 129, 0, 66 };
SkillAttributes[7030][8] = new ushort[6] { 12, 0, 0, 130, 0, 67 };
SkillAttributes[7030][9] = new ushort[6] { 12, 0, 0, 140, 0, 68 };
SkillsDone.Add(7030, 9);
SkillAttributes[7000] = new ushort[10][];
SkillAttributes[7000][0] = new ushort[6] { 12, 0, 0, 112, 0, 35 };
SkillAttributes[7000][1] = new ushort[6] { 12, 0, 0, 113, 0, 40 };
SkillAttributes[7000][2] = new ushort[6] { 12, 0, 0, 114, 0, 45 };
SkillAttributes[7000][3] = new ushort[6] { 12, 0, 0, 115, 0, 50 };
SkillAttributes[7000][4] = new ushort[6] { 12, 0, 0, 116, 0, 55 };
SkillAttributes[7000][5] = new ushort[6] { 12, 0, 0, 117, 0, 60 };
SkillAttributes[7000][6] = new ushort[6] { 12, 0, 0, 118, 0, 63 };
SkillAttributes[7000][7] = new ushort[6] { 12, 0, 0, 119, 0, 66 };
SkillAttributes[7000][8] = new ushort[6] { 12, 0, 0, 120, 0, 69 };
SkillAttributes[7000][9] = new ushort[6] { 12, 0, 0, 121, 0, 90 };
SkillsDone.Add(7000, 9);
SkillAttributes[7010] = new ushort[10][];
SkillAttributes[7010][0] = new ushort[6] { 12, 0, 0, 112, 0, 35 };
SkillAttributes[7010][1] = new ushort[6] { 12, 0, 0, 113, 0, 40 };
SkillAttributes[7010][2] = new ushort[6] { 12, 0, 0, 114, 0, 45 };
SkillAttributes[7010][3] = new ushort[6] { 12, 0, 0, 115, 0, 50 };
SkillAttributes[7010][4] = new ushort[6] { 12, 0, 0, 116, 0, 55 };
SkillAttributes[7010][5] = new ushort[6] { 12, 0, 0, 117, 0, 60 };
SkillAttributes[7010][6] = new ushort[6] { 12, 0, 0, 118, 0, 63 };
SkillAttributes[7010][7] = new ushort[6] { 12, 0, 0, 119, 0, 66 };
SkillAttributes[7010][8] = new ushort[6] { 12, 0, 0, 120, 0, 69 };
SkillAttributes[7010][9] = new ushort[6] { 12, 0, 0, 121, 0, 72 };
SkillsDone.Add(7010, 9);
SkillAttributes[7040] = new ushort[10][];
SkillAttributes[7040][0] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[7040][1] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[7040][2] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[7040][3] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[7040][4] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[7040][5] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[7040][6] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[7040][7] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[7040][8] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillAttributes[7040][9] = new ushort[6] { 0, 2, 0, 110, 0, 20 };
SkillsDone.Add(7040, 9);
SkillAttributes[5040] = new ushort[10][];
SkillAttributes[5040][0] = new ushort[6] { 12, 0, 0, 80, 0, 20 };
SkillAttributes[5040][1] = new ushort[6] { 12, 0, 0, 100, 0, 20 };
SkillAttributes[5040][2] = new ushort[6] { 12, 0, 0, 111, 0, 25 };
SkillAttributes[5040][3] = new ushort[6] { 12, 0, 0, 112, 0, 30 };
SkillAttributes[5040][4] = new ushort[6] { 12, 0, 0, 113, 0, 35 };
SkillAttributes[5040][5] = new ushort[6] { 12, 0, 0, 114, 0, 40 };
SkillAttributes[5040][6] = new ushort[6] { 12, 0, 0, 115, 0, 45 };
SkillAttributes[5040][7] = new ushort[6] { 12, 0, 0, 116, 0, 50 };
SkillAttributes[5040][8] = new ushort[6] { 12, 0, 0, 117, 0, 55 };
SkillAttributes[5040][9] = new ushort[6] { 12, 0, 0, 118, 0, 60 };
SkillsDone.Add(5040, 9);
i looked at these carefull kindof and i did my best so i hope this helps you.. and if you have an ExternalDataBase the parts in this where it says DataBase just change to ExternalDataBase
PRESS THANKS IF THIS HELPED YOU!!!