From: Jaka K. <lyn...@us...> - 2011-11-16 19:47:28
|
gemrb: Infinity Engine emulator The branch master has been updated via 15ef0513bbf8022df484ba7b9d73003e1a581797 (commit) Summary of changes: gemrb/GUIScripts/iwd/CharGen.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) from b1ef081cc16de1c2a367c807cd0f5b4ebdc8df65 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=15ef0513bbf8022df484ba7b9d73003e1a581797 commit 15ef0513bbf8022df484ba7b9d73003e1a581797 Author: Jaka Kranjc <lyn...@us...> Date: Wed Nov 16 20:44:09 2011 +0100 iwd::cg: actually memorize the priest or druidic spell (doesn't handle wis bonus - only one spell) diff --git a/gemrb/GUIScripts/iwd/CharGen.py b/gemrb/GUIScripts/iwd/CharGen.py index 12f89d7..8741f1d 100644 --- a/gemrb/GUIScripts/iwd/CharGen.py +++ b/gemrb/GUIScripts/iwd/CharGen.py @@ -351,8 +351,13 @@ def AcceptPress(): #todo: set up ALL spell levels not just level 1 GUICommon.SetupSpellLevels (MyChar, TableName, IE_SPELL_TYPE_PRIEST, 1) Learnable = GUICommon.GetLearnablePriestSpells (ClassFlag, t, 1) + PriestMemorized = GemRB.GetVar ("PriestMemorized") + j = 1 + while (PriestMemorized != 1<<(j-1)): + j = j + 1 for i in range (len(Learnable) ): GemRB.LearnSpell (MyChar, Learnable[i], 0) + GemRB.MemorizeSpell (MyChar, IE_SPELL_TYPE_PRIEST, 0, j, 1) # ranger tracking is a hardcoded innate if GUICommon.HasHOW(): ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |