Ejemplo n.º 1
0
        public Ignitz() : base("ignitz", "Ignitz", string.Empty)
        {
            MeltingTemperature = 2000;
            ColorTransform     = ColorMatrix.TwoColorLight(new Color(188, 95, 92), new Color(255, 186, 26)) * ColorMatrix.Scale(1.3f);

            Parts[ToolBlade.Blade] = "rip";
            Parts[ToolAdze.Head]   = "sledge";
            Parts[ToolArrow.Tip]   = "bomb";

            AddEffect(ToolAdze.Head, new EffectStat(this, Stat.MiningLevel, 3));
            AddEffect(ToolAdze.Head, new EffectStatPercent(this, Stat.MiningSpeed, 0.3));

            AddItemEffect(ToolBlade.Blade, new EffectElement(this, Element.Slash, 1.0));
            AddItemEffect(ToolAdze.Head, new EffectElement(this, Element.Bludgeon, 1.0));

            AddHandleEffect(new EffectStatPercent(this, Stat.MiningSpeed, 0.15));

            AddOffensiveToolEffect(new EffectStat(this, Stat.Attack, 30));
        }
Ejemplo n.º 2
0
        public Tritonite() : base("tritonite", "Tritonite", string.Empty)
        {
            MeltingTemperature = 2000;
            ColorTransform     = ColorMatrix.TwoColorLight(new Color(23, 29, 96), new Color(85, 190, 196)) * ColorMatrix.Scale(1.2f);

            Parts[ToolBlade.Blade] = "rip";
            Parts[ToolAdze.Head]   = "sledge";
            Parts[ToolArrow.Tip]   = "fork";

            AddEffect(ToolAdze.Head, new EffectStat(this, Stat.MiningLevel, 3));
            AddEffect(ToolAdze.Head, new EffectStatPercent(this, Stat.MiningSpeed, 0.3));

            AddItemEffect(ToolBlade.Blade, new EffectElement(this, Element.Slash, 1.0));
            AddItemEffect(ToolAdze.Head, new EffectElement(this, Element.Bludgeon, 1.0));

            AddHandleEffect(new EffectStatPercent(this, Stat.MiningSpeed, 0.15));

            AddOffensiveToolEffect(new EffectStat(this, Stat.Attack, 30));
        }
Ejemplo n.º 3
0
 public void ShowSkill(Creature user)
 {
     //new CurrentSkill(user.World, this, time);
     user.VisualColor        = user.Flick(user.Flash(user.Static(Color.Black), user.Static(ColorMatrix.Greyscale() * ColorMatrix.Scale(2)), 2, 2), user.Static(Color.White), 30);
     user.World.CurrentSkill = this;
 }