public WeaponCommon(ISBCheckerBaseInput sbCheckerBaseInput, IEquipmentData equipmentData, INaturalWeaponBusiness naturalWeaponBusiness)
 {
     _sbCheckerBaseInput    = sbCheckerBaseInput;
     _equipmentData         = equipmentData;
     _naturalWeaponBusiness = naturalWeaponBusiness;
     RaceName        = _sbCheckerBaseInput.Race_Base.Name();
     DontUseRacialHD = _sbCheckerBaseInput.MonsterSB.DontUseRacialHD;
     RaceBaseType    = _sbCheckerBaseInput.Race_Base.RaceBaseType;
     HasRaceBase     = _sbCheckerBaseInput.Race_Base == null ? false : true;
 }
Example #2
0
 public WeaponChecker(ClassMaster CharacterClasses, List <string> magicInEffect, Dictionary <IEquipment, int> Weapons, string RaceName,
                      bool DontUseRacialHD, RaceBase.RaceType RaceBaseType, bool HasRaceBase, int RacialHDValue)
 {
     _characterClasses    = CharacterClasses;
     this.magicInEffect   = magicInEffect;
     this.Weapons         = Weapons;
     this.RaceName        = RaceName;
     this.DontUseRacialHD = DontUseRacialHD;
     this.RaceBaseType    = RaceBaseType;
     this.HasRaceBase     = HasRaceBase;
     this.RacialHDValue   = RacialHDValue;
 }
 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);
 }