private Weapon GetWeaponFromType(WeaponType?wtypenullable, WeaponAffix waffix) { var wtype = (WeaponType)wtypenullable; switch (wtype) { case WeaponType.Blade: return(new Blade(wtype, waffix)); case WeaponType.Blood: return(new Blood(wtype, waffix)); case WeaponType.Chaos: return(new Chaos(wtype, waffix)); case WeaponType.Elemental: return(new Elemental(wtype, waffix)); case WeaponType.Fist: return(new Fist(wtype, waffix)); case WeaponType.Hammer: return(new Hammer(wtype, waffix)); case WeaponType.Pistol: return(new Pistol(wtype, waffix)); case WeaponType.Rifle: return(new Rifle(wtype, waffix)); case WeaponType.Shotgun: return(new Shotgun(wtype, waffix)); } return(null); }
public Hammer(WeaponType wtype, WeaponAffix waffix) : base(wtype, waffix) { _maxGimickResource = 100; }
public Shotgun(WeaponType wtype, WeaponAffix waffix) : base(wtype, waffix) { _maxGimickResource = 6; _gimickResource = 6; }
public Pistol(WeaponType wtype, WeaponAffix waffix) : base(wtype, waffix) { LeftChamber = Chamber.White; RightChamber = Chamber.White; ChamberLockTimeStamp = 0; }
public Elemental(WeaponType wtype, WeaponAffix waffix) : base(wtype, waffix) { _maxGimickResource = 100; }
public Chaos(WeaponType wtype, WeaponAffix waffix) : base(wtype, waffix) { _maxGimickResource = 8; }
public Rifle(WeaponType wtype, WeaponAffix waffix) : base(wtype, waffix) { _maxGimickResource = 1; }
public Blade(WeaponType wtype, WeaponAffix waffix) : base(wtype, waffix) { _maxGimickResource = 5; }
public Weapon(WeaponType wtype, WeaponAffix waffix) { WeaponType = wtype; WeaponAffix = waffix; }