キャラ初期所持品調整
- カテゴリー: 設定
- 重要性: 普通
- 投稿日: 2006-12-24 (日) 01:44:53
\Scripts\Misc\CharacterCreation.cs キャラ初期所持品調整 バックパック内
PackItem( new RedBook( ""a book"", m.Name, 20, true ) ); PackItem( new Gold( 1000 ) ); // Starting gold can be customized here PackItem( new Dagger() ); PackItem( new Candle() );
↓
PackItem( new RedBook( "a book", m.Name, 20, true ) ); PackItem( new Spellbook( UInt64.MaxValue ));//フルスペ装備 PackItem( new Gold( 1000 ) ); // Starting gold can be customized here PackItem( new Dagger() ); PackItem( new Candle() );
PackItem( new Spellbook((ulong)0xFF));//1サークル迄 PackItem( new Spellbook((ulong)0xFFFF));//2サークル迄 PackItem( new Spellbook((ulong)0xFFFFFF));//3サークル迄 16777215 PackItem( new Spellbook((ulong)0xFFFFFFFF));//4サークル迄 4294967295 PackItem( new Spellbook((ulong)0xFFFFFFFFFF));//5サークル迄 1099511627775 PackItem( new Spellbook((ulong)0xFFFFFFFFFFFF));//6サークル迄 281474976710655 PackItem( new Spellbook((ulong)0xFFFFFFFFFFFFFF));//7サークル迄 281474976710655
ネクロフルスペルBOOK
PlaceItemIn( new NecromancerSpellbook( (UInt64)0xFFFF ) );
騎士フル
PlaceItemIn( new BookOfChivalry( (UInt64)0x3FF ) );
武士
PlaceItemIn( new BookOfBushido() ); //Default ctor = full
忍術
PlaceItemIn( new BookOfNinjitsu() ); //Default ctor = full
キャラ初期装備品調整 銀行内
if ( newChar.BankBox != null)//キャラ銀行所持品設定 追加
{
newChar.BankBox.DropItem(new VioletCourage());
newChar.BankBox.DropItem(new Runebook());
Runebook runebook = new Runebook( 10 );
runebook.CurCharges = runebook.MaxCharges;
}