public final void addEffect(Effect toAdd, int duration)
    {
       System.out.println("Adding Effect");
        for(int a = 0; a<effectList.length;a++)
        {
            if(EFFECTSCOMPOUND)
            {
                if(effectList[a].equals(Effect.CLEAR))
                {
                    effectList[a] = toAdd;
                    effectList[a].duration=duration;
                    System.out.println("Inflicted with " +toAdd.NAME +"!");
                    break;
                }
                else
                {
                    //System.out.println("No room to add effect!");
                }
            }
            else
            {

                if(effectList[a].equals(Effect.CLEAR) || effectList[a].equals(toAdd))
                {
                    effectList[a] = toAdd;
                    effectList[a].duration=duration;
                    System.out.println("Inflicted with " +toAdd.NAME +"!");
                    break;
                }
                else
                {
                    System.out.println("No room to add effect!");
                }
            }
        }
    }