public RangedWeaponChecker(ISBCheckerBaseInput sbCheckerBaseInput, IEquipmentData equipmentData, ISizeData sizeData, INaturalWeaponBusiness naturalWeaponBusiness, IWeaponBusiness weaponBusiness) { _sbCheckerBaseInput = sbCheckerBaseInput; _equipmentData = equipmentData; _naturalWeaponBusiness = naturalWeaponBusiness; _weaponBusiness = weaponBusiness; _baseAtk = _sbCheckerBaseInput.MonsterSB.BaseAtk; _size = _sbCheckerBaseInput.MonsterSB.Size; _sizeMod = sizeData.SizeMod; _racialHDValue = _sbCheckerBaseInput.Race_Base.RacialHDValue(); _raceWeapons = _sbCheckerBaseInput.Race_Base.RaceWeapons(); _weaponChecker = new WeaponChecker(_sbCheckerBaseInput, _equipmentData, _naturalWeaponBusiness, _weaponBusiness); }
public RangedWeaponChecker(StatBlockMessageWrapper _messageXML, MonSBSearch _monSBSearch, ClassMaster CharacterClasses, string RaceName, IndividualStatBlock_Combat _indvSB, List <string> magicInEffect, Dictionary <IEquipment, int> Weapons, string BaseAtk, string Size, int SizeMod, AbilityScores.AbilityScores _abilityScores, bool DontUseRacialHD, RaceBase.RaceType RaceBaseType, bool HasRaceBase, int RacialHDValue, string RaceWeapons) { this._messageXML = _messageXML; this._monSBSearch = _monSBSearch; this.CharacterClasses = CharacterClasses; this.RaceName = RaceName; this._indvSB = _indvSB; this.magicInEffect = magicInEffect; this.Weapons = Weapons; this.BaseAtk = BaseAtk; this.Size = Size; this.SizeMod = SizeMod; this._abilityScores = _abilityScores; this.DontUseRacialHD = DontUseRacialHD; this.RaceBaseType = RaceBaseType; this.HasRaceBase = HasRaceBase; this.RacialHDValue = RacialHDValue; this.RaceWeapons = RaceWeapons; _weaponChecker = new WeaponChecker(CharacterClasses, magicInEffect, Weapons, RaceName, DontUseRacialHD, RaceBaseType, HasRaceBase, RacialHDValue); }