Primeiro Creditos a ElitePvers
Code:
case 43:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Do you want Full + 12 Gears?"));
GC.AddSend(Packets.NPCLink("Yes.", 1));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control ==1)
{
GC.AddSend(Packets.NPCSay("Pick your class."));
GC.AddSend(Packets.NPCLink("Trojan", 2));
GC.AddSend(Packets.NPCLink("Warrior", 3));
GC.AddSend(Packets.NPCLink("Archer", 4));
GC.AddSend(Packets.NPCLink("Taoist", 5));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 2)
{
if (GC.MyChar.Inventory.Count < 29)
{
GC.MyChar.AddItem("130109-12-12-7-255-13-13");//Conquest Armor
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("118109-12-12-7-255-13-13");//MagicCoronet
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("420339-12-12-7-255-13-13");//KingOfSword
GC.MyChar.AddItem("480339-12-12-7-255-13-13");//KingsClub
GC.MyChar.AddItem("410339-12-12-7-255-13-13");//BuriedBlade
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 3)
{
if (GC.MyChar.Inventory.Count < 28)
{
GC.MyChar.AddItem("131109-12-12-7-255-13-13");//PhoenixArmor
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("111109-12-12-7-255-13-13");//ConquestHelmet
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("420339-12-12-7-255-13-13");//KingOfSword
GC.MyChar.AddItem("480339-12-12-7-255-13-13");//KingsClub
GC.MyChar.AddItem("410339-12-12-7-255-13-13");//BuriedBlade
GC.MyChar.AddItem("900109-12-12-7-255-13-13");//DragonShield
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 4)
{
if (GC.MyChar.Inventory.Count < 30)
{
GC.MyChar.AddItem("133109-12-12-7-255-13-13");//PhoenixJerkin
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("113109-12-12-7-255-13-13");//PhoenixHat
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("500329-12-12-7-255-13-13");//ShadowBow
GC.MyChar.AddItem("1050002-0-0-0-0-0-0");//SpeedArrow
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 5)
{
if (GC.MyChar.Inventory.Count < 31)
{
GC.MyChar.AddItem("134109-12-12-7-255-3-3");//PineRobe
GC.MyChar.AddItem("117109-12-12-7-255-3-3");//120 Earring
GC.MyChar.AddItem("114109-12-12-7-255-3-3");//CraneCap
GC.MyChar.AddItem("152259-12-12-7-255-3-3");//Lightening
GC.MyChar.AddItem("121249-12-12-7-255-3-3");//SunShine
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-3-3");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("421339-12-12-7-255-3-3");//KingOfBacksword
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
VocEÊ tera q cria o npc ....... da um thanks pelo menos
Code:
case 43:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Do you want Full + 12 Gears?"));
GC.AddSend(Packets.NPCLink("Yes.", 1));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control ==1)
{
GC.AddSend(Packets.NPCSay("Pick your class."));
GC.AddSend(Packets.NPCLink("Trojan", 2));
GC.AddSend(Packets.NPCLink("Warrior", 3));
GC.AddSend(Packets.NPCLink("Archer", 4));
GC.AddSend(Packets.NPCLink("Taoist", 5));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 2)
{
if (GC.MyChar.Inventory.Count < 29)
{
GC.MyChar.AddItem("130109-12-12-7-255-13-13");//Conquest Armor
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("118109-12-12-7-255-13-13");//MagicCoronet
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("420339-12-12-7-255-13-13");//KingOfSword
GC.MyChar.AddItem("480339-12-12-7-255-13-13");//KingsClub
GC.MyChar.AddItem("410339-12-12-7-255-13-13");//BuriedBlade
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 3)
{
if (GC.MyChar.Inventory.Count < 28)
{
GC.MyChar.AddItem("131109-12-12-7-255-13-13");//PhoenixArmor
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("111109-12-12-7-255-13-13");//ConquestHelmet
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("420339-12-12-7-255-13-13");//KingOfSword
GC.MyChar.AddItem("480339-12-12-7-255-13-13");//KingsClub
GC.MyChar.AddItem("410339-12-12-7-255-13-13");//BuriedBlade
GC.MyChar.AddItem("900109-12-12-7-255-13-13");//DragonShield
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 4)
{
if (GC.MyChar.Inventory.Count < 30)
{
GC.MyChar.AddItem("133109-12-12-7-255-13-13");//PhoenixJerkin
GC.MyChar.AddItem("117109-12-12-7-255-13-13");//120 Earring
GC.MyChar.AddItem("113109-12-12-7-255-13-13");//PhoenixHat
GC.MyChar.AddItem("150249-12-12-7-255-13-13");//Tornado
GC.MyChar.AddItem("120249-12-12-7-255-13-13");//Thunder
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-13-13");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("500329-12-12-7-255-13-13");//ShadowBow
GC.MyChar.AddItem("1050002-0-0-0-0-0-0");//SpeedArrow
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 5)
{
if (GC.MyChar.Inventory.Count < 31)
{
GC.MyChar.AddItem("134109-12-12-7-255-3-3");//PineRobe
GC.MyChar.AddItem("117109-12-12-7-255-3-3");//120 Earring
GC.MyChar.AddItem("114109-12-12-7-255-3-3");//CraneCap
GC.MyChar.AddItem("152259-12-12-7-255-3-3");//Lightening
GC.MyChar.AddItem("121249-12-12-7-255-3-3");//SunShine
GC.MyChar.AddItem("201009-12-12-7-255-103-103");//HeavenFan
GC.MyChar.AddItem("160243-12-12-7-255-3-3");//Blizzard
GC.MyChar.AddItem("202009-12-12-7-255-123-123");//StarTower
GC.MyChar.AddItem("421339-12-12-7-255-3-3");//KingOfBacksword
}
else
{
GC.AddSend(Packets.NPCSay("Go clear your inventory, you don't have any room."));
GC.AddSend(Packets.NPCLink("Okay", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
VocEÊ tera q cria o npc ....... da um thanks pelo menos