Se alguem tem outro bug no damage é por que ta com a source bugada no TakeAttack do Character.cs, isso aki eh pra fixar o damage 549678454 (absurdamente alto)
apenas de replace no weapon master:
Obs.: Se disser não funciona... vai aprender a programar e depois volta a falar no tópico.....
apenas de replace no weapon master:
- Código:
#region WeaponMaster
case 7050:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Choose the equipment you want to upgrade."));
GC.AddSend(Packets.NPCLink("Headgear", 1));
GC.AddSend(Packets.NPCLink("Necklace/Bag", 2));
GC.AddSend(Packets.NPCLink("Armor", 3));
GC.AddSend(Packets.NPCLink("Weapon", 4));
GC.AddSend(Packets.NPCLink("Ring", 6));
GC.AddSend(Packets.NPCLink("Boots", 8));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.Agreed = false;
}
else if (Control >= 1 && Control <= 8)
{
Item I = GC.MyChar.Equips.Get(Control);
byte PrevLevel = I.DBInfo.LevReq;
ItemIDManipulation IMan = new ItemIDManipulation(I.ID);
IMan.IncreaseLevel();
DatabaseItem Di = (DatabaseItem)Database.DatabaseItems[IMan.ToID()];
if (I.DBInfo.LevReq < 110)
{
GC.AddSend(Packets.NPCSay("The item must be at last level 110, other else i won't upgrade it!"));
GC.AddSend(Packets.NPCLink("I'll be right back!", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
return;
}
byte NewLevel = Di.LevReq;
if (NewLevel > PrevLevel)
{
if (GC.MyChar.Level >= NewLevel)
{
if (!GC.Agreed)
{
GC.AddSend(Packets.NPCSay("You need a DragonBall. Are you ready?"));
GC.AddSend(Packets.NPCLink("Upgrade it.", Control));
GC.AddSend(Packets.NPCLink("Forget it.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.Agreed = true;
}
else
{
GC.Agreed = false;
if (GC.MyChar.InventoryContains(1088000, 1))
{
GC.MyChar.EquipStats(Control, false);
GC.MyChar.RemoveItem(GC.MyChar.NextItem(1088000));
I.ID = IMan.ToID();
GC.MyChar.Equips.Replace(Control, I, GC.MyChar);
GC.MyChar.EquipStats(Control, true);
}
else
{
GC.AddSend(Packets.NPCSay("You don't have a DragonBall."));
GC.AddSend(Packets.NPCLink("Oh hold on.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else
{
GC.AddSend(Packets.NPCSay("You aren't high level enough to wear the item after upgrading."));
GC.AddSend(Packets.NPCLink("Alright.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else
{
GC.AddSend(Packets.NPCSay("The item cannot be upgraded anymore."));
GC.AddSend(Packets.NPCLink("Alright.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
Obs.: Se disser não funciona... vai aprender a programar e depois volta a falar no tópico.....