Tips51

Last-modified: 2011-08-30 (火) 15:33:30

ガード圏内禁止魔法解除

  • カテゴリー: 設定
  • 重要性: 普通
  • 投稿日: 2006-04-28 (金) 21:32:37

例WOS

private static SpellInfo m_Info = new SpellInfo(
	"Wall of Stone", "In Sanct Ylem",
	SpellCircle.Third,
	227,
	9011,
	true,  // 街での詠唱 false, 不可 true, 可能
	Reagent.Bloodmoss,
	Reagent.Garlic

更に

else if (/*SpellHelper.CheckTown(p, Caster) &&*/ CheckSequence())//CheckTownをコメンントアウト

これでガード圏内で詠唱・開放可能になります、召還系は

例デーモン召還

private static SpellInfo m_Info = new SpellInfo(
	"Summon Daemon", "Kal Vas Xen Corp",
	SpellCircle.Eighth,
	269,
	9050,
	true,
	Reagent.Bloodmoss,
	Reagent.MandrakeRoot,
	Reagent.SpidersSilk,
	Reagent.SulfurousAsh

同じくtrueを返す事により召還可能になり

if ( (Caster.Followers + 5) > Caster.FollowersMax )

ここと、\Scripts\Mobiles\Monsters\Summons\SummonedDaemon.csの

VirtualArmor = 58;
ControlSlots = 5;

ControlSlots数を弄る事により、ControlSlots数の調整も可能です、その他の召還系も同じとなります。