Criando um Conquer
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Adicionar Benefícios a vip (Attack + Defenc + Magic)

Ir para baixo

Adicionar Benefícios a vip (Attack + Defenc + Magic)  Empty Adicionar Benefícios a vip (Attack + Defenc + Magic)

Mensagem por FelipeXP Sex Out 07, 2016 8:24 pm

Em GameClient ou Gamestate
Procure por if (this.Entity.VIPLevel == 6) e adicione
Código:
 if (this.Entity.VIPLevel == 6) 
                        { 
                            this.Entity.MaxAttack += 2000u; 
                            this.Entity.MinAttack += 2000u; 
                            this.Entity.MagicAttack += 2000u; 
                            Entity expr_1950 = this.Entity; 
                            expr_1950.Defence += 2000; 
                        }   
                        if (refineStats != null) 
                        { 
                            switch (refineStats.Type) 
                            { 
                                case Refinery.RefineryItem.RefineryType.Critical: 
                                    this.Entity.CriticalStrike = (ushort)(this.Entity.CriticalStrike + ((ushort)((refineStats.Percent * 100) + 0x3e8))); 
                                    break; 

                                case Refinery.RefineryItem.RefineryType.SCritical: 
                                    this.Entity.SkillCStrike = (ushort)(this.Entity.SkillCStrike + ((ushort)(refineStats.Percent * 100))); 
                                    break; 

                                case Refinery.RefineryItem.RefineryType.Immunity: 
                                    this.Entity.Immunity = (ushort)(this.Entity.Immunity + ((ushort)(refineStats.Percent * 100))); 
                                    break; 

                                case Refinery.RefineryItem.RefineryType.BreakThrough: 
                                    this.Entity.Breaktrough = (ushort)(this.Entity.Breaktrough + ((ushort)((refineStats.Percent * 10) + 100))); 
                                    break; 

                                case Refinery.RefineryItem.RefineryType.Counteraction: 
                                    this.Entity.Counteraction = (ushort)(this.Entity.Counteraction + ((ushort)(refineStats.Percent * 10))); 
                                    break; 

                                case Refinery.RefineryItem.RefineryType.Detoxication: 
                                    this.Entity.Detoxication = (ushort)(this.Entity.Detoxication + ((ushort)refineStats.Percent)); 
                                    break; 

                                case Refinery.RefineryItem.RefineryType.Block: 
                                    this.Entity.Block = (ushort)(this.Entity.Block + ((ushort)(refineStats.Percent * 100))); 
                                    break; 

                                case Refinery.RefineryItem.RefineryType.Penetration: 
                                    this.Entity.Penetration = (ushort)(this.Entity.Penetration + ((ushort)(refineStats.Percent * 100))); 
                                    break; 

                                case Refinery.RefineryItem.RefineryType.Intensification: 
                                    this.Entity.Intensification = (ushort)(this.Entity.Intensification + ((ushort)refineStats.Percent)); 
                                    break; 
                            } 
                        }



FelipeXP
Membro
Membro

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

https://www.youtube.com/channel/UCOmLJd3M1OSrMmlcR7UGlhw

Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

 
Permissões neste sub-fórum
Não podes responder a tópicos