Tips56


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

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

メッセージ

単独または少人数サーバで修理が面倒なときに便利です。 Scripts\Items\Armor\BaseArmor.csの にある以下のコードを削除する。

					if ( wear > 0 && m_MaxHitPoints > 0 ){
						if ( m_HitPoints >= wear ){
							HitPoints -= wear;
							wear = 0;
						}else{
							wear -= HitPoints;
							HitPoints = 0;
						}
						if ( wear > 0 ){
							if ( m_MaxHitPoints > wear ){
								MaxHitPoints -= wear;
								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: 533
  • today: 1
  • yesterday: 0
  • online: 1