Tips57


武器の耐久性を減少させない設定

  • カテゴリー: スクリプト
  • 重要性: 普通
  • 投稿日: 2006-08-18 (金) 19:30:41

メッセージ

単独または少人数サーバで修理が面倒なときに便利です。 Scripts\Items\Weapons\BaseWeapon.csの

		public virtual void OnHit( Mobile attacker, Mobile defender, double damageBonus )

にある以下のコードを削除する。

				if ( m_Hits > 0 ){
					--HitPoints;
				}else if ( m_MaxHits > 1 ){
					--MaxHitPoints;
					if ( Parent is Mobile )
						((Mobile)Parent).LocalOverheadMessage( MessageType.Regular, 0x3B2, 1061121 ); // Your equipment is severely damaged.
				}else{
					Delete();
				}


メニュー

オリジナル

T2A

  • InPorYelm?

UOR+T2A

AOS

  • なし

UOML

 

  • counter: 452
  • today: 1
  • yesterday: 0
  • online: 1