[h: Spells0 = getProperty("Spells_Per_Day_0")]
[h: Spells1 = getProperty("Spells_Per_Day_1")]
[h: Spells2 = getProperty("Spells_Per_Day_2")]
[h: Spells3 = getProperty("Spells_Per_Day_3")]
[h: Spells4 = getProperty("Spells_Per_Day_4")]
[h: Spells5 = getProperty("Spells_Per_Day_5")]
[h: Spells6 = getProperty("Spells_Per_Day_6")]
[h: Spells7 = getProperty("Spells_Per_Day_7")]
[h: Spells8 = getProperty("Spells_Per_Day_8")]
[h: Spells9 = getProperty("Spells_Per_Day_9")]
[h: setProperty("Spells0", Spells0)]
[h: setProperty("Spells1", Spells1)]
[h: setProperty("Spells2", Spells2)]
[h: setProperty("Spells3", Spells3)]
[h: setProperty("Spells4", Spells4)]
[h: setProperty("Spells5", Spells5)]
[h: setProperty("Spells6", Spells6)]
[h: setProperty("Spells7", Spells7)]
[h: setProperty("Spells8", Spells8)]
[h: setProperty("Spells9", Spells9)]
Spell counts have been reset:<br/><br/>
[r: if(Spells1!=0, "Level 1 spells remaining: " ,"")]
[r: if(Spells1!=0,Spells1 ,"")]
[r: if(Spells1!=0,"<br/>" ,"")]
[r: if(Spells2!=0, "Level 2 spells remaining: " ,"")]
[r: if(Spells2!=0,Spells2 ,"")]
[r: if(Spells2!=0,"<br/>" ,"")]
[r: if(Spells3!=0, "Level 3 spells remaining: " ,"")]
[r: if(Spells3!=0,Spells3 ,"")]
[r: if(Spells3!=0,"<br/>" ,"")]
[r: if(Spells4!=0, "Level 4 spells remaining: " ,"")]
[r: if(Spells4!=0,Spells4 ,"")]
[r: if(Spells4!=0,"<br/>" ,"")]
[r: if(Spells5!=0, "Level 5 spells remaining: " ,"")]
[r: if(Spells5!=0,Spells5 ,"")]
[r: if(Spells5!=0,"<br/>" ,"")]
[r: if(Spells6!=0, "Level 6 spells remaining: " ,"")]
[r: if(Spells6!=0,Spells6 ,"")]
[r: if(Spells6!=0,"<br/>" ,"")]
[r: if(Spells7!=0, "Level 7 spells remaining: " ,"")]
[r: if(Spells7!=0,Spells7 ,"")]
[r: if(Spells7!=0,"<br/>" ,"")]
[r: if(Spells8!=0, "Level 8 spells remaining: " ,"")]
[r: if(Spells8!=0,Spells8 ,"")]
[r: if(Spells8!=0,"<br/>" ,"")]
[r: if(Spells9!=0, "Level 9 spells remaining: " ,"")]
[r: if(Spells9!=0,Spells9 ,"")]
[r: if(Spells9!=0,"<br/>" ,"")]