|
@@ -452,19 +452,35 @@ end
|
|
|
|
|
|
!! Updater for manna > mana conversions
|
|
|
|
|
|
-if pcs_manna ! 0:pcs_mana = pcs_manna
|
|
|
-if mannaMax ! 0:manaMax = mannaMax
|
|
|
-if mannaV ! 0:manaV = mannaV
|
|
|
-if KGManna ! 0:KGMana = KGmanna
|
|
|
-if bonusmanna ! 0:bonusmana = bonusmanna
|
|
|
-if mannareset ! 0:manareset = mannareset
|
|
|
-killvar pcs_manna
|
|
|
-killvar mannaMax
|
|
|
-killvar mannaV
|
|
|
-killvar KGManna
|
|
|
-killvar bonusmanna
|
|
|
-killvar mannareset
|
|
|
+if pcs_manna ! 0:
|
|
|
+ pcs_mana = pcs_manna
|
|
|
+ killvar 'pcs_manna'
|
|
|
+end
|
|
|
+
|
|
|
+if mannaMax ! 0:
|
|
|
+ manaMax = mannaMax
|
|
|
+ killvar 'mannaMax'
|
|
|
+end
|
|
|
+
|
|
|
+if mannaV ! 0:
|
|
|
+ manaV = mannaV
|
|
|
+ killvar 'mannaV'
|
|
|
+end
|
|
|
|
|
|
+if KGManna ! 0:
|
|
|
+ KGMana = KGmanna
|
|
|
+ killvar 'KGManna'
|
|
|
+end
|
|
|
+
|
|
|
+if bonusmanna ! 0:
|
|
|
+ bonusmana = bonusmanna
|
|
|
+ killvar 'bonusmanna'
|
|
|
+end
|
|
|
+
|
|
|
+if mannareset ! 0:
|
|
|
+ manareset = mannareset
|
|
|
+ killvar 'mannareset'
|
|
|
+end
|
|
|
|
|
|
--- saveupdater ---------------------------------
|
|
|
|