FaceMelter
Member
I've been typing away at custom sets of armor, and a few of my players want me to make some custom Ranger Armor. I've got it setup to require Dexterity instead of Strength.
I want to make a check in the playermobile OnDamage to see if the player is wearing anything with my base class : DexRangerArmor. And if so, calculate a dodge chance and charge some stamina if successful.
I've seen in playermobile: EquipSnapshot :
public List<Item> EquipSnapshot { get { return m_EquipSnapshot; } }
I'm guessing this creates a list of current equipment. How can I use this to check for my custom armor class? Is there another way?
I want to make a check in the playermobile OnDamage to see if the player is wearing anything with my base class : DexRangerArmor. And if so, calculate a dodge chance and charge some stamina if successful.
I've seen in playermobile: EquipSnapshot :
public List<Item> EquipSnapshot { get { return m_EquipSnapshot; } }
I'm guessing this creates a list of current equipment. How can I use this to check for my custom armor class? Is there another way?