quangvip5809
09-01-12, 08:26 PM
function skill150()
if GetFaction() == "少林派" then
if GetLevel() >1 then
AddMagic(411,20)
AddMagic(413,20)
AddMagic(415,20)
Msg2Player("Hoc duoc ky nang that truyen Thieu Lam")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "天王帮" then
if GetLevel() >1 then
AddMagic(394,20)
AddMagic(396,20)
AddMagic(398,20)
Msg2Player("Hoc duoc ky nang that truyen Thien Vuong")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "唐门" then
if GetLevel() >1 then
AddMagic(422,20)
AddMagic(419,20)
AddMagic(416,20)
Msg2Player("Hoc duoc ky nang that truyen Duong Mon")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "五毒教" then
if GetLevel() >1 then
AddMagic(423,20)
AddMagic(425,20)
Msg2Player("Hoc duoc ky nang that truyen Ngu Doc")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "峨嵋派" then
if GetLevel() >1 then
AddMagic(433,20)
AddMagic(437,20)
Msg2Player("Hoc duoc ky nang that truyen Nga Mi")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "翠烟门" then
if GetLevel() >1 then
AddMagic(442,20)
AddMagic(439,20)
Msg2Player("Hoc duoc ky nang that truyen Thuy Yen")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "丐帮" then
if GetLevel() >1 then
AddMagic(402,20)
AddMagic(406,20)
Msg2Player("Hoc duoc ky nang that truyen Cai Bang")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "天忍教" then
if GetLevel() >1 then
AddMagic(429,20)
AddMagic(431,20)
Msg2Player("Hoc duoc ky nang that truyen Thien Nhan")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "武当派" then
if GetLevel() >1 then
AddMagic(448,20)
AddMagic(444,20)
Msg2Player("Hoc duoc ky nang that truyen Vo Dang")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "昆仑派" then
if GetLevel() >1 then
AddMagic(455,20)
AddMagic(452,20)
Msg2Player("Hoc duoc ky nang that truyen Con Lon")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "少林派" then
if GetLevel() >1 then
AddMagic(411,20)
AddMagic(413,20)
AddMagic(415,20)
Msg2Player("Hoc duoc ky nang that truyen Thieu Lam")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "天王帮" then
if GetLevel() >1 then
AddMagic(394,20)
AddMagic(396,20)
AddMagic(398,20)
Msg2Player("Hoc duoc ky nang that truyen Thien Vuong")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "唐门" then
if GetLevel() >1 then
AddMagic(422,20)
AddMagic(419,20)
AddMagic(416,20)
Msg2Player("Hoc duoc ky nang that truyen Duong Mon")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "五毒教" then
if GetLevel() >1 then
AddMagic(423,20)
AddMagic(425,20)
Msg2Player("Hoc duoc ky nang that truyen Ngu Doc")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "峨嵋派" then
if GetLevel() >1 then
AddMagic(433,20)
AddMagic(437,20)
Msg2Player("Hoc duoc ky nang that truyen Nga Mi")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "翠烟门" then
if GetLevel() >1 then
AddMagic(442,20)
AddMagic(439,20)
Msg2Player("Hoc duoc ky nang that truyen Thuy Yen")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "丐帮" then
if GetLevel() >1 then
AddMagic(402,20)
AddMagic(406,20)
Msg2Player("Hoc duoc ky nang that truyen Cai Bang")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "天忍教" then
if GetLevel() >1 then
AddMagic(429,20)
AddMagic(431,20)
Msg2Player("Hoc duoc ky nang that truyen Thien Nhan")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "武当派" then
if GetLevel() >1 then
AddMagic(448,20)
AddMagic(444,20)
Msg2Player("Hoc duoc ky nang that truyen Vo Dang")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end
if GetFaction() == "昆仑派" then
if GetLevel() >1 then
AddMagic(455,20)
AddMagic(452,20)
Msg2Player("Hoc duoc ky nang that truyen Con Lon")
else
Talk(1,"","<color=red>Nguoi da hoc ky nang nay roi, ko can hoc nua lam gi")
end
else
Talk(1,"","<color=red>Dang cap chua dat 150, khong the su dung bi kiep")
end