@Override
	public boolean invoke(MOB mob, List<String> commands, Physical givenTarget, boolean auto, int asLevel)
	{
		if(!super.invoke(mob,commands,givenTarget,auto,asLevel))
			return false;

		final Physical target = mob.location();

		if(target.fetchEffect(this.ID())!=null)
		{
			mob.tell(mob,null,null,L("An Ice Sheet is already here!"));
			return false;
		}


		final boolean success=proficiencyCheck(mob,0,auto);

		if(success)
		{

			String msgStr=L("the ground becomes covered in ice!");
			if(CMLib.flags().isWateryRoom(mob.location()))
				msgStr=L("the water freezes over!");
			if(auto)
				msgStr=Character.toUpperCase(msgStr.charAt(0))+msgStr.substring(1);
			final CMMsg msg = CMClass.getMsg(mob, target, this, somanticCastCode(mob,target,auto),L(auto?"":"^S<S-NAME> speak(s) and gesture(s) and ")+msgStr+"^?");
			if(mob.location().okMessage(mob,msg))
			{
				mob.location().send(mob,msg);
				Spell_IceSheet sheet=(Spell_IceSheet)beneficialAffect(mob,mob.location(),asLevel,0);
				if(sheet != null)
				{
					sheet.theSheet = CMClass.getBasicItem("StdItem");
					sheet.theSheet.setName("an ice sheet");
					sheet.theSheet.setDisplayText("an enormous ice sheet covers the ground here");
					CMLib.flags().setGettable(sheet.theSheet, false);
					mob.location().addItem(sheet.theSheet);
				}
			}
		}
		else
			return beneficialVisualFizzle(mob,null,L("<S-NAME> speak(s) about the cold, but the spell fizzles."));

		// return whether it worked
		return success;
	}