Adicionar a Epic de Warrio 100% com skill e soul

Ver o tópico anterior Ver o tópico seguinte Ir em baixo

Adicionar a Epic de Warrio 100% com skill e soul

Mensagem por FelipeXP em Seg Set 19, 2016 12:39 pm


Para o navicat
Código:
INSERT INTO `spells` VALUES ('12660', '12660', '0006', 'TwistofWar', '0', '0', '2', '0000', '0000', '0000', '0', '0000', '0100', '0000', '0000', '0182', '0000', '0000', '0', '0000', '0', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12670', '12670', '0082', 'ScarofEarth', '1', '1', '1', '0008', '0000', '0000', '30195', '0005', '0030', '0003', '0005', '0180', '0000', '0000', '20243', '10000', '15', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12671', '12670', '0082', 'ScarofEarth', '1', '1', '1', '0008', '0001', '0000', '30200', '0005', '0031', '0003', '0005', '0180', '0000', '0000', '60000', '30000', '30', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12672', '12670', '0082', 'ScarofEarth', '1', '1', '1', '0008', '0002', '0000', '30205', '0005', '0032', '0003', '0005', '0180', '0000', '0000', '100000', '50000', '45', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12673', '12670', '0082', 'ScarofEarth', '1', '1', '1', '0008', '0003', '0000', '30210', '0005', '0033', '0003', '0005', '0180', '0000', '0000', '150000', '70000', '60', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12674', '12670', '0082', 'ScarofEarth', '1', '1', '1', '0008', '0004', '0000', '30215', '0005', '0034', '0003', '0005', '0180', '0000', '0000', '200000', '100000', '70', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12675', '12670', '0082', 'ScarofEarth', '1', '1', '1', '0008', '0005', '0000', '30220', '0005', '0035', '0003', '0005', '0180', '0000', '0000', '300000', '150000', '80', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12676', '12670', '0082', 'ScarofEarth', '1', '1', '1', '0008', '0006', '0000', '30225', '0005', '0036', '0003', '0005', '0180', '0000', '0000', '500000', '175000', '90', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12677', '12670', '0082', 'ScarofEarth', '1', '1', '1', '0008', '0007', '0000', '30230', '0005', '0037', '0003', '0005', '0180', '0000', '0000', '750000', '200000', '100', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12678', '12670', '0082', 'ScarofEarth', '1', '1', '1', '0008', '0008', '0000', '30240', '0005', '0038', '0003', '0005', '0180', '0000', '0000', '1000000', '250000', '110', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12679', '12670', '0082', 'ScarofEarth', '1', '1', '1', '0008', '0009', '0000', '30245', '0005', '0042', '0003', '0005', '0180', '0000', '0000', '0', '0000', '0', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12680', '12680', '0006', 'Backfire', '0', '0', '0', '0002', '0000', '0000', '55', '0000', '0100', '0010', '0000', '0000', '0179', '0000', '500', '3000', '60', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12681', '12680', '0006', 'Backfire', '0', '0', '0', '0002', '0001', '0000', '60', '0000', '0100', '0010', '0000', '0000', '0179', '0000', '1000', '6000', '70', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12682', '12680', '0006', 'Backfire', '0', '0', '0', '0002', '0002', '0000', '65', '0000', '0100', '0010', '0000', '0000', '0179', '0000', '10000', '10000', '80', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12683', '12680', '0006', 'Backfire', '0', '0', '0', '0002', '0003', '0000', '70', '0000', '0100', '0010', '0000', '0000', '0179', '0000', '50000', '50000', '90', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12684', '12680', '0006', 'Backfire', '0', '0', '0', '0002', '0004', '0000', '75', '0000', '0100', '0010', '0000', '0000', '0179', '0000', '100000', '100000', '100', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12685', '12680', '0006', 'Backfire', '0', '0', '0', '0002', '0005', '0000', '80', '0000', '0100', '0010', '0000', '0000', '0179', '0000', '500000', '150000', '110', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12686', '12680', '0006', 'Backfire', '0', '0', '0', '0002', '0006', '0000', '90', '0000', '0100', '0010', '0000', '0000', '0179', '0000', '0', '0000', '0', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12690', '12690', '0069', 'WaveofBlood', '1', '1', '1', '0004', '0000', '0000', '30095', '0000', '0100', '0008', '0008', '0020', '0178', '0000', '500', '3000', '15', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12691', '12690', '0069', 'WaveofBlood', '1', '1', '1', '0004', '0001', '0000', '30100', '0000', '0100', '0008', '0008', '0020', '0178', '0000', '1000', '6000', '30', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12692', '12690', '0069', 'WaveofBlood', '1', '1', '1', '0004', '0002', '0000', '30105', '0000', '0100', '0008', '0008', '0020', '0178', '0000', '10000', '10000', '50', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12693', '12690', '0069', 'WaveofBlood', '1', '1', '1', '0004', '0003', '0000', '30108', '0000', '0100', '0008', '0008', '0020', '0178', '0000', '50000', '50000', '70', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12694', '12690', '0069', 'WaveofBlood', '1', '1', '1', '0004', '0004', '0000', '30110', '0000', '0100', '0008', '0008', '0020', '0178', '0000', '100000', '100000', '90', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12695', '12690', '0069', 'WaveofBlood', '1', '1', '1', '0004', '0005', '0000', '30115', '0000', '0100', '0008', '0008', '0020', '0178', '0000', '500000', '150000', '110', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12696', '12690', '0069', 'WaveofBlood', '1', '1', '1', '0004', '0006', '0000', '30118', '0000', '0100', '0008', '0008', '0020', '0178', '0000', '0', '0000', '0', '61624624', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12700', '12700', '0083', 'ManiacDance', '1', '0', '0', '0002', '0000', '0000', '30100', '0000', '0100', '0001', '0005', '0000', '0181', '0000', '0', '0000', '1', '61624624', '0015', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12770', '12770', '0084', 'Pounce', '1', '1', '0', '0004', '0000', '0000', '30030', '0000', '0100', '0000', '0005', '0020', '0000', '0000', '500', '3000', '60', '0900', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12771', '12770', '0084', 'Pounce', '1', '1', '0', '0004', '0001', '0000', '30035', '0000', '0100', '0000', '0005', '0020', '0000', '0000', '1000', '6000', '70', '0900', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12772', '12770', '0084', 'Pounce', '1', '1', '0', '0004', '0002', '0000', '30040', '0000', '0100', '0000', '0005', '0020', '0000', '0000', '10000', '10000', '80', '0900', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12773', '12770', '0084', 'Pounce', '1', '1', '0', '0004', '0003', '0000', '30045', '0000', '0100', '0000', '0005', '0020', '0000', '0000', '50000', '50000', '90', '0900', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12774', '12770', '0084', 'Pounce', '1', '1', '0', '0004', '0004', '0000', '30050', '0000', '0100', '0000', '0005', '0020', '0000', '0000', '100000', '100000', '100', '0900', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12775', '12770', '0084', 'Pounce', '1', '1', '0', '0004', '0005', '0000', '30055', '0000', '0100', '0000', '0005', '0020', '0000', '0000', '500000', '150000', '110', '0900', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  
INSERT INTO `spells` VALUES ('12776', '12770', '0084', 'Pounce', '1', '1', '0', '0004', '0006', '0000', '30060', '0000', '0100', '0000', '0005', '0020', '0000', '0000', '0', '0000', '0', '0900', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001');  

Procure por #region Sanity checks  
ou if (client.Entity.Class >= 11 && client.Entity.Class <= 75)  
e adicione:
Código:
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
                {
                    can2hand = true;
                    can2wpn = true;
                }
Procure por public static Positions GetPositionFromID(UInt32 itemid)
e adicione:
Código:
public static Positions GetPositionFromID(UInt32 itemid)
        {
            UInt32 iType = itemid / 1000;
            if (iType == 617)
                return Positions.Right;
            if (iType == 148)
                return Positions.Head;
            if (iType == 614)
                return Positions.Right;
            if (iType == 624)
                return Positions.Right;
            if (iType == 615 || iType == 616)
                return Positions.Right;
            if (iType == 619)
                return Positions.Left;
            if (iType == 622)
                return Positions.Right;
            if (iType >= 111 && iType <= 118 || iType == 123 || iType >= 141 && iType <= 148)
                return Positions.Head;
            else if (iType >= 120 && iType <= 121)
                return Positions.Necklace;
            else if (iType >= 130 && iType <= 139)
                return Positions.Armor;
            else if (iType >= 150 && iType <= 152)
                return Positions.Ring;
            else if (iType == 160)
                return Positions.Boots;
            else if (iType >= 181 && iType <= 194)
                return Positions.Garment;
            else if (iType == 201)
                return Positions.AttackTalisman;
            else if (iType == 202)
                return Positions.DefenceTalisman;
            else if (iType == 203)
                return Positions.SteedTalisman;
            else if (iType == 200)
                return Positions.SteedArmor;
            else if (iType == 300)
                return Positions.Steed;
            else if (iType == 2100)
                return Positions.Bottle;
            else if (iType == 1050 || iType == 900 || iType == 619)
                return Positions.Left;
            else if ((iType >= 410 && iType <= 490) || (iType >= 500 && iType <= 580) || (iType >= 601 && iType <= 614) || (iType >= 616 && iType <= 617 || (iType >= 619 && iType <= 620)))
                return Positions.Right;
            else if (iType >= 350 && iType <= 370)
                return Positions.RightAccessory;
            else if (iType == 380)
                return Positions.LeftAccessory;
            else if (iType >= 204 && iType <= 205)
                return Positions.Wing;

            else return (Positions)0;

        }
Procure por public static ushort ItemPosition(uint ID)  
e adicione:
Código:
public static ushort ItemPosition(uint ID)
        {
            UInt32 iType = ID / 1000;
            if (iType == 617)
                return ConquerItem.RightWeapon;
            if (iType == 148)
                return ConquerItem.Head;
            if (iType == 619)
                return ConquerItem.LeftWeapon;
            if (iType == 614)
                return ConquerItem.RightWeapon;
            if (iType == 620)
                return ConquerItem.RightWeapon;
            if (iType == 624)
                return ConquerItem.RightWeapon;
            if (iType == 622)
                return ConquerItem.RightWeapon;
            if (iType == 615 || iType == 616)
                return ConquerItem.RightWeapon;
            else if ((ID >= 111003 && ID <= 118309) || (ID >= 123000 && ID <= 123309) || (ID >= 141003 && ID <= 144309 || ID >= 145000 && ID <= 145309))
                return ConquerItem.Head;
            else if (ID >= 120001 && ID <= 121269)
                return ConquerItem.Necklace;
            else if (ID >= 130003 && ID <= 139309)
                return ConquerItem.Armor;
            else if (ID >= 150000 && ID <= 152279)
                return ConquerItem.Ring;
            else if (ID >= 160013 && ID <= 160249)
                return ConquerItem.Boots;
            else if (ID >= 181305 && ID <= 194300)
                return ConquerItem.Garment;
            else if (ID >= 201003 && ID <= 201009)
                return ConquerItem.Fan;
            else if (ID >= 202003 && ID <= 202009)
                return ConquerItem.Tower;
            else if (ID >= 203003 && ID <= 203009)
                return ConquerItem.SteedCrop;
            else if (ID == 300000)
                return ConquerItem.Steed;
            else if (ID >= 204005 && ID <= 204009)
                return ConquerItem.SteedWing;
            else if (ID >= 410003 && ID <= 617439 || ID >= 620003 && ID <= 620439 || ID >= 622000 && ID <= 622439)
                return ConquerItem.RightWeapon;
            else if ((ID >= 900000 && ID <= 900309) || ID >= 1050000 && ID <= 1051000 || ID >= 619000 && ID <= 619439)
                return ConquerItem.LeftWeapon;
            else if (ID >= 2100005 && ID <= 2100105 || ID == 2100125)
                return ConquerItem.Bottle;
            else if (ID >= 350001 && ID <= 380046)
                return ConquerItem.LeftWeaponAccessory;
            else if (ID >= 350001 && ID <= 380046)
                return ConquerItem.RightWeaponAccessory;
            else if (iType == 200)
                return ConquerItem.SteedArmor;
            return 0;
        }  
Procure por static void Revive
Depois de bool ReviveHere = generalData.dwParam == 1;  
adicione:
Código:
if (client.Spells.ContainsKey(12660))
                {
                    client.XPCount = client.Entity.XPCountTwist;
                }  
Na entity.cs adicione :
Código:
public Time32 XpBlueStamp;
        public Time32 BackfireStamp;
        public Time32 ManiacDance;
        public byte XPCountTwist = 0;
        public bool EpicWarrior()
        {
            if (EntityFlag == Game.EntityFlag.Player)
            {
                var weapons = Owner.Weapons;
                if (weapons.Item1 != null)
                    if (weapons.Item1.ID / 1000 == 624)
                        return true;
                    else if (weapons.Item2 != null)
                        if (weapons.Item2.ID / 1000 == 624)
                            return true;
            }
            return false;
         }  
Procure por public void Die(Entity killer)  
depois de if (killer.EntityFlag == Game.EntityFlag.Player)
Adicione:
Código:
if (ContainsFlag3((ulong)1UL << 53))
                    RemoveFlag3((ulong)1UL << 53);  
Procure por #region Jiang  
e depois adicione:
Código:
#region XpBlueStamp
            if (client.Entity.ContainsFlag3(Update.Flags3.WarriorEpicShield))
            {
                if (Time32.Now > client.Entity.XpBlueStamp.AddSeconds(33))
                {
                    client.Entity.ShieldIncrease = 0;
                    client.Entity.ShieldTime = 0;
                    client.Entity.MagicShieldIncrease = 0;
                    client.Entity.MagicShieldTime = 0;
                    client.Entity.RemoveFlag3(Update.Flags3.WarriorEpicShield);
                }
            }
            #endregion
            #region ManiacDance
            if (client.Entity.ContainsFlag3((ulong)1UL << 53))
            {
                if (Time32.Now > client.Entity.ManiacDance.AddSeconds(15))
                {
                    client.Entity.RemoveFlag3((ulong)1UL << 53);
                }
            }
            #endregion
            #region Backfire
            if (client.Entity.ContainsFlag3((ulong)1UL << 51))
            {
                if (Time32.Now > client.Entity.BackfireStamp.AddSeconds(8))
                {
                    if (client.Spells.ContainsKey(12680))
                    {
                        if (client.Entity.ContainsFlag3((ulong)1UL << 51))
                            client.Entity.RemoveFlag3((ulong)1UL << 51);
                    }
                    client.Entity.BackfireStamp = Time32.Now;
                }
            }
            #endregion  

Baixe o resto dos codigos e arquivos para adicionar na Database :Clique aqui
avatar
FelipeXP
Administrador
Administrador

Mensagens : 317
Data de inscrição : 28/05/2014

Ver perfil do usuário https://www.youtube.com/channel/UCOmLJd3M1OSrMmlcR7UGlhw

Voltar ao Topo Ir em baixo

Re: Adicionar a Epic de Warrio 100% com skill e soul

Mensagem por [K]0M4N em Qui Jul 06, 2017 4:02 pm

Se liga ai, o skill que revive se o XP tiver estourado não tá funcionando tentei ver se concertava ele mais não consegui verifica ai.
avatar
[K]0M4N
Membro
Membro

Mensagens : 14
Data de inscrição : 19/01/2016
Idade : 19
Localização : Brazil

Ver perfil do usuário

Voltar ao Topo Ir em baixo

Ver o tópico anterior Ver o tópico seguinte Voltar ao Topo

- Tópicos similares

 
Permissão deste fórum:
Você não pode responder aos tópicos neste fórum