<commit_before>﻿using Scripts.Game.Defined.Serialized.Spells;
using Scripts.Model.Buffs;
using Scripts.Model.Items;
using Scripts.Model.Stats;

namespace Scripts.Game.Defined.Serialized.Items {
    public class PoisonArmor : EquippableItem {
        public PoisonArmor() : base(EquipType.ARMOR, 10, "Poisoned Armor", "This doesn't look safe.") {
            Stats.Add(StatType.VITALITY, 3);
            Stats.Add(StatType.AGILITY, -1);
        }

        public override Buff CreateBuff() {
            return new Poison();
        }

    }

    public class BrokenSword : EquippableItem {
        public BrokenSword() : base(EquipType.WEAPON, 5, "Broken Sword", "A broken sword dropped by a spirit.") {
            Stats.Add(StatType.STRENGTH, 1);
            Stats.Add(StatType.VITALITY, -4);
        }
    }

    public class GhostArmor : EquippableItem {
        public GhostArmor() : base(EquipType.ARMOR, 10, "Cursed Mail", "A cursed chainmail dropped by a spirit.") {
            Stats.Add(StatType.STRENGTH, -10);
            Stats.Add(StatType.AGILITY, -10);
        }
    }

    public class Shield : EquippableItem {
        public Shield() : base(Util.GetSprite("round-shield"), EquipType.OFFHAND, 0, "Basic Shield ", "A basic wooden shield.") {
            Stats.Add(StatType.AGILITY, -10);
            Stats.Add(StatType.VITALITY, 10);
        }
        public override Buff CreateBuff() {
            return new DamageResist();
        }
    }
}<commit_msg>new shield item<commit_after>﻿using Scripts.Game.Defined.Serialized.Spells;
using Scripts.Model.Buffs;
using Scripts.Model.Items;
using Scripts.Model.Stats;

namespace Scripts.Game.Defined.Serialized.Items {

    public class PoisonArmor : EquippableItem {

        public PoisonArmor() : base(EquipType.ARMOR, 10, "Poisoned Armor", "This doesn't look safe.") {
            Stats.Add(StatType.VITALITY, 3);
            Stats.Add(StatType.AGILITY, -1);
        }

        public override Buff CreateBuff() {
            return new Poison();
        }
    }

    public class BrokenSword : EquippableItem {

        public BrokenSword() : base(EquipType.WEAPON, 5, "Broken Sword", "A broken sword dropped by a spirit.") {
            Stats.Add(StatType.STRENGTH, 1);
            Stats.Add(StatType.VITALITY, -4);
        }
    }

    public class GhostArmor : EquippableItem {

        public GhostArmor() : base(EquipType.ARMOR, 10, "Cursed Mail", "A cursed chainmail dropped by a spirit.") {
            Stats.Add(StatType.STRENGTH, -10);
            Stats.Add(StatType.AGILITY, -10);
        }
    }

    public class Shield : EquippableItem {

        public Shield() : base(Util.GetSprite("round-shield"), EquipType.OFFHAND, 0, "Basic Shield ", "A basic wooden shield.") {
            Stats.Add(StatType.AGILITY, -10);
            Stats.Add(StatType.VITALITY, 10);
        }

        public override Buff CreateBuff() {
            return new DamageResist();
        }
    }
}
{'fraction_non_alphanumeric': 0.11860386309725517, 'fraction_numerical': 0.012199254490003388, 'mean_word_length': 2.385321100917431, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1369220', 'n_tokens_mistral': 986, 'n_tokens_neox': 903, 'n_words': 208}