public void loadSpells(final String[] temp) {
		// name#cast message#duration#effects#reagents#targets
		// name: eagles_splendor
		// cast message: You cast Eagle's Splendor
		// duration?: instant
		// effects: cha+4
		// reagents: none
		// targets: self,friend
		
		for (final String line : temp) {
			final String[] args = line.split("#");
			
			final String tName = args[0];
			final String tCastMsg = args[1];
			final String tType = args[2];
			
			final String[] tEffects = args[3].split(",");
			final String[] tReagents = args[4].split(",");
			final String[] tTargets = args[5].split(",");

			final List<Effect> spell_effects = new ArrayList<Effect>();

			for (final String s : tEffects) {
				spell_effects.add( new Effect(s) );
			}

			final List<Reagent> spell_reagents = new ArrayList<Reagent>();

			for (final String reagentName : tReagents) {
				spell_reagents.add( new Reagent(reagentName) );
			}
			
			//
			final Spell newSpell = new Spell(tName, SpellType.ARCANE, School.ENCHANTMENT, 0, tCastMsg, spell_effects, spell_reagents);

			newSpell.target = Spell.encodeTargets(tTargets);

			System.out.println(newSpell.getName() + " " + newSpell.target);

			spells2.put(tName, newSpell);
			
			debug(tName + " " + tCastMsg + " " + tType + tEffects);
		}
	}