public PoisonTarget( VenomPitchfork std ) : base( -1, false, TargetFlags.None ) { i_Std = std; }
public PoisonTarget(VenomPitchfork std) : base(-1, false, TargetFlags.None) { i_Std = std; }
public override void OnResponse(NetState sender, RelayInfo info) { if (m_Deed.Deleted) { return; } BaseWeapon weapon = null; switch (info.ButtonID) { case 0: return; case 1: weapon = new VenomAxe(); break; case 2: weapon = new VenomBattleAxe(); break; case 3: weapon = new VenomDoubleAxe(); break; case 4: weapon = new VenomExecutionersAxe(); break; case 5: weapon = new VenomHatchet(); break; case 6: weapon = new VenomLargeBattleAxe(); break; case 7: weapon = new VenomPickaxe(); break; case 8: weapon = new VenomTwoHandedAxe(); break; case 9: weapon = new VenomWarAxe(); break; case 10: weapon = new VenomBow(); break; case 11: weapon = new VenomCompositeBow(); break; case 12: weapon = new VenomCrossbow(); break; case 13: weapon = new VenomHeavyCrossbow(); break; case 14: weapon = new VenomRepeatingCrossbow(); break; case 15: weapon = new VenomButcherKnife(); break; case 16: weapon = new VenomCleaver(); break; case 17: weapon = new VenomDagger(); break; case 18: weapon = new VenomSkinningKnife(); break; case 19: weapon = new VenomClub(); break; case 20: weapon = new VenomHammerPick(); break; case 21: weapon = new VenomMace(); break; case 22: weapon = new VenomMaul(); break; case 23: weapon = new VenomScepter(); break; case 24: weapon = new VenomWarHammer(); break; case 25: weapon = new VenomWarMace(); break; case 26: weapon = new VenomBardiche(); break; case 27: weapon = new VenomHalberd(); break; case 28: weapon = new VenomScythe(); break; case 29: weapon = new VenomBladedStaff(); break; case 30: weapon = new VenomDoubleBladedStaff(); break; case 31: weapon = new VenomPike(); break; case 32: weapon = new VenomPitchfork(); break; case 33: weapon = new VenomShortSpear(); break; case 34: weapon = new VenomSpear(); break; case 35: weapon = new VenomWarFork(); break; case 36: weapon = new VenomBlackStaff(); break; case 37: weapon = new VenomGnarledStaff(); break; case 38: weapon = new VenomQuarterStaff(); break; case 39: weapon = new VenomShepherdsCrook(); break; case 40: weapon = new VenomBoneHarvester(); break; case 41: weapon = new VenomBroadSword(); break; case 42: weapon = new VenomCrescentBlade(); break; case 43: weapon = new VenomCutlass(); break; case 44: weapon = new VenomKatana(); break; case 45: weapon = new VenomKryss(); break; case 46: weapon = new VenomLance(); break; case 47: weapon = new VenomLongSword(); break; case 48: weapon = new VenomScimitar(); break; case 49: weapon = new VenomVikingSword(); break; } if (weapon != null) { weapon.Quality = m_Deed.Quality; weapon.Resource = m_Deed.Resource; if (m_Deed.Crafter != null) { weapon.Crafter = m_Deed.Crafter; } m_From.Backpack.DropItem(weapon); m_From.SendMessage("You summon the Venom Weapon!"); m_Deed.Delete(); } }