using CommonAI.Zone;
using CommonLang;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonAI.ZoneServer.JSGModule
{
	public class JSGGlobalData
	{
		//全局默认的未配置的法术释放方式模板
		// 卡牌法术模板
		private static HashMap<int, LaunchSpell> mUnConfigSpell = new HashMap<int, LaunchSpell>();

		public static LaunchSpell GetUnConfigSpellByID(int spellId)
		{
			LaunchSpell launchSpll = mUnConfigSpell.Get(spellId);
			if(launchSpll == null)
			{
				launchSpll = new LaunchSpell(true);
				launchSpll.SpellID = spellId;
				mUnConfigSpell.Put(spellId, launchSpll);
			}

			return launchSpll;
		}
	}
}