示例#1
0
        public override SimulationDescriptor GetCommonDescriptor()
        {
            SimDescriptorWrapper wrapper = new SimDescriptorWrapper();

            wrapper.Add(SimulationProperties.AttackCooldown, -0.5f);
            wrapper.Add(SimulationProperties.MoveSpeed, 3f);
            return(wrapper.GetDescriptor("ItemHero_" + GetName() + "_Common"));
        }
示例#2
0
        public override SimulationDescriptor GetRarity2Descriptor()
        {
            SimDescriptorWrapper wrapper = new SimDescriptorWrapper();

            wrapper.Add(SimulationProperties.AttackCooldown, -1.09999f);
            wrapper.Add(SimulationProperties.MoveSpeed, 90f);
            wrapper.Add(SimulationProperties.MaxHealth, 10000f);
            wrapper.Add(SimulationProperties.AttackPower, 100);
            wrapper.Add(SimulationProperties.HealthRegen, 800);
            return(wrapper.GetDescriptor("ItemHero_" + GetName() + "_Rarity2"));
        }
示例#3
0
        public override SimulationDescriptor[] GetLevelupSimulationDescriptors()
        {
            List <SimulationDescriptor> lst = new List <SimulationDescriptor>();

            // Level 1
            for (int i = 1; i <= 15; i++)
            {
                SimDescriptorWrapper wrapper = new SimDescriptorWrapper();
                wrapper.Add(SimulationProperties.MaxHealth, 100);
                wrapper.Add(SimulationProperties.MoveSpeed, 5);
                lst.Add(wrapper.GetDescriptor("Hero_" + GetName() + "_LVL" + i, SimulationProperties.SimDescTypeHero));
            }
            lst.Add(new SimDescriptorWrapper().GetDescriptor("Hero_" + GetName() + "_LVL" + 16, SimulationProperties.SimDescTypeHero));
            return(lst.ToArray());
        }
示例#4
0
        public override SimulationDescriptor GetSimulationDescriptor()
        {
            SimDescriptorWrapper wrapper = new SimDescriptorWrapper();

            //wrapper.Add(SimulationProperties.MaxHealth, 510, null);
            //wrapper.Add(SimulationProperties.MoveSpeed, 44, null);
            //wrapper.Add(SimulationProperties.Wit, 15, null);
            //wrapper.Add(SimulationProperties.AttackCooldown, 0.2f, null);
            //wrapper.Add(SimulationProperties.AttackPower, 45, null);
            //wrapper.Add(SimulationProperties.AttackRange, 5, null);
            //wrapper.Add(SimulationProperties.Defense, 10, null);
            //wrapper.Add(SimulationProperties.HealthRegen, 5, null);
            wrapper.Add("MaxHealth", 510);
            wrapper.Add("MoveSpeed", 44);
            wrapper.Add("Wit", 15);
            wrapper.Add("AttackCooldown", 0.5f);
            wrapper.Add("AttackPower", 45);
            wrapper.Add("AttackRange", 5);
            wrapper.Add("Defense", 10);
            wrapper.Add("HealthRegen", 5);
            wrapper.Add("AttackHitCount", 1);
            return(wrapper.GetDescriptor("Hero_" + GetName(), SimulationProperties.SimDescTypeHero));
            //return wrapper.GetDescriptor(GetName());
        }