From: <jde...@us...> - 2008-04-12 22:41:12
|
Revision: 5919 http://pcgen.svn.sourceforge.net/pcgen/?rev=5919&view=rev Author: jdempsey Date: 2008-04-12 15:41:19 -0700 (Sat, 12 Apr 2008) Log Message: ----------- Reinstate change 5911 Modified Paths: -------------- Trunk/pcgen/code/src/java/pcgen/core/PCClass.java Modified: Trunk/pcgen/code/src/java/pcgen/core/PCClass.java =================================================================== --- Trunk/pcgen/code/src/java/pcgen/core/PCClass.java 2008-04-12 22:24:33 UTC (rev 5918) +++ Trunk/pcgen/code/src/java/pcgen/core/PCClass.java 2008-04-12 22:41:19 UTC (rev 5919) @@ -1148,8 +1148,9 @@ if ((index > -2) && limitByStat) { + String spellStatString = getSpellBaseStat(); final int maxSpellLevel = - aPC.getVariableValue("MAXLEVELSTAT=" + statString, "") + aPC.getVariableValue("MAXLEVELSTAT=" + spellStatString, "") .intValue(); if ((maxSpellLevel + bonusStat) < spellLevel) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |