if (!b) System.out.println("FALSE: "+ f.toString());
}
}
ScriptDataPool mScriptDataPool = new ScriptDataPool(mCurrentCard.getScriptPoolBaseName()+".xml");
for (int i=0;i<CardSituation.KEY.length;i++)
{
String scriptForKey =otherCard.getPureScript(CardSituation.KEY[i]);
ScriptData data =otherCard.getPureScriptData(CardSituation.KEY[i]);
if (data != null)
{
String script = data.getScript();
script = csa.util.UtilityString.replace(script, otherCard.getId(), mCurrentCard.getId());
script = csa.util.UtilityString.replace(script, otherCard.getName(), mCurrentCard.getName());
data.setScript(script);
mScriptDataPool.put(data);
}
}
mScriptDataPool.save();
Configuration.getConfiguration().resetScriptCaching();
// setScriptingForCard();
// setAIHintsForCard();