Tips61

Last-modified: 2011-08-30 (火) 15:27:52

PCへの攻撃禁止

  • カテゴリー: スクリプト
  • 重要性: 普通
  • 投稿日: 2006-10-02 (月) 11:43:28

Scripts\Mobiles\PlayerMobile.cs にある

public override bool CanBeHarmful( Mobile target, bool message, bool ignoreOurBlessedness )

の中ほどに

if(target is PlayerMobile){
	return false;
}

を追加します。これで攻撃が出来なくなるはずです。(RUNUO2.0でチェック済み)