Quote:
#region Gw Winner npc
case 8888:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hello if you win guild war you can recive good prizes!"));
GC.AddSend(Packets.NPCSay("I Can Give You 100k Cps For Wining!!"));
GC.AddSend(Packets.NPCLink("My guild won give me my reward please", 1));
GC.AddSend(Packets.NPCLink("Thats cool", 255));
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (GC.MyChar.MyGuild == Features.GuildWars.LastWinner && (GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.GuildLeader))
{
GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeade r);
GC.MyChar.CPs += 100000;
GC.Message(2005, GC.MyChar.Name + "Claimed 100000cps from GuildWar");
}
else
{
GC.AddSend(Packets.NPCLink("You Didn`t Won On GW !!", 1));
GC.AddSend(Packets.NPCLink("WAHT!?.. we suck", 255));
}
}
break;
}
#endregion
|
This npc is only in project, i want to See this npc in game.. so i'm gessing i have just to add the npc line for this case in NPC.ini.
I dont know if thats all cus when i add the npc line like "8888 1200 2 0 1002 426 387", save the npc.txt and go debug the project it says that ID error.
(to me seems the npc line is wrong or i have to add something else i dont know in anywhere)
Any help?.
Also how can i change things on characters like atributte poins, hp/mana points?
Thanks
#Searching#