dosnt work.
use the one i posted.
Code:
if (Name == "Satan")
{
Char.CPs += 250;
Game.World.SendMsgToAll("Server", " Satan is Dead " + Char.Name + "'s Got 250 CPs For Killing Satan " + Char.Name + " is the hero of exampleCO ", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(12000, 14400));
}
if (Name == "BeastSatan")
{
Char.CPs += 250;
Game.World.SendMsgToAll("Server", " Satan is Dead " + Char.Name + "'s Got 250 CPs For Killing the Divel and Being A Hero", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(12000, 14400));
}
if (Name == "FurySatan")
{
Char.CPs += 250;
Game.World.SendMsgToAll("Server", " Satan is Dead " + Char.Name + "'s Got 250 CPs For Killing the Divel and Being A Hero", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(12000, 14400));
}
if (Name == "Andrew")
{
Char.CPs += 150;
Game.World.SendMsgToAll("Server", "" + Char.Name + " Just Killd Boss Andrew ", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(4000, 5400));
}
if (Name == "Peter")
{
Char.CPs += 150;
Game.World.SendMsgToAll("Server", "" + Char.Name + " Just Killd Boss Peter", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(4000, 5400));
}
if (Name == "Philip")
{
Char.CPs += 150;
Game.World.SendMsgToAll("Server", "" + Char.Name + " Just Killd Boss Philip", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(4000, 5400));
}
if (Name == "Timothy")
{
Char.CPs += 150;
Game.World.SendMsgToAll("Server", "" + Char.Name + " Just Killd Boss Timothy", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(4000, 5400));
}
if (Name == "Victoria")
{
Char.CPs += 150;
Game.World.SendMsgToAll("Server", "" + Char.Name + " Just Killd Boss Victoria", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(4000, 5400));
}
else if (Name == "Victoria")
{
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(4000, 5400));
}
if (Name == "Theodore")
{
Char.CPs += 150;
Game.World.SendMsgToAll("Server", "" + Char.Name + " Just Killd Boss Theodore", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(4000, 5400));
}
if (Name == "Daphne")
{
Char.CPs += 150;
Game.World.SendMsgToAll("Server", "" + Char.Name + " Just Killd Boss Daphne", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(4000, 5400));
}
if (Name == "Wayne")
{
Char.CPs += 150;
Game.World.SendMsgToAll("Server", "" + Char.Name + " Just Killd Boss Wayne", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(4000, 5400));
}
if (Name == "Banshee")
{
Char.CPs += 100;
Game.World.SendMsgToAll("Server", "" + Char.Name + " Got the reward is For Killing the Beast", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(3000, 5400));
}
if (Name == "FearlessBeast")
{
Char.CPs += 100;
Game.World.SendMsgToAll("Server", " " + Char.Name + " Got the reward is For Killing the Beast", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(3000, 5400));
}
if (Name == "PurpleDevil")
{
Char.CPs += 500;
Game.World.SendMsgToAll("Server", " PurpleDevil Is Dead " + Char.Name + " is the hero of exampleCO " + Char.Name + " GOT THE 500 CPs For Killing The Beast", 2011, 0);
Loc = StartLoc;
World.Action(this, Packets.GeneralData(EntityID, 0, 0, 0, 135).Get);
Dissappeared = true;
RandomTime = (uint)(Rnd.Next(25000, 35000));
DI2.Info.ID = 1088000;
DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
DI2.Info.CurDur = DI2.Info.MaxDur;
}