From: Laszlo T. <ave...@us...> - 2004-12-09 22:44:52
|
Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/how In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28178/GUIScripts/how Modified Files: CharGen.py Log Message: added: tooltips in magespell memorization window, CLERIC_RANGERS will get 'move silently skill', weapon proficiencies are initialized Index: CharGen.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/how/CharGen.py,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** CharGen.py 9 Dec 2004 22:25:57 -0000 1.23 --- CharGen.py 9 Dec 2004 22:44:42 -0000 1.24 *************** *** 413,417 **** GemRB.TextAreaAppend(CharGenWindow, TextArea, str(GemRB.GetVar("Skill" + str(i))) ) GemRB.TextAreaAppend(CharGenWindow, TextArea, "%" ) ! elif ClassName == "RANGER": GemRB.TextAreaAppend(CharGenWindow, TextArea, "", -1) GemRB.TextAreaAppend(CharGenWindow, TextArea, 8442, -1) --- 413,417 ---- GemRB.TextAreaAppend(CharGenWindow, TextArea, str(GemRB.GetVar("Skill" + str(i))) ) GemRB.TextAreaAppend(CharGenWindow, TextArea, "%" ) ! elif ClassName == "RANGER" or ClassName=="CLERIC_RANGER": GemRB.TextAreaAppend(CharGenWindow, TextArea, "", -1) GemRB.TextAreaAppend(CharGenWindow, TextArea, 8442, -1) *************** *** 427,431 **** GemRB.TextAreaAppend(CharGenWindow, TextArea, "", -1) GemRB.TextAreaAppend(CharGenWindow, TextArea, 8442, -1) - n = 2 GemRB.TextAreaAppend(CharGenWindow, TextArea, 9463, -1) GemRB.TextAreaAppend(CharGenWindow, TextArea, ": " ) --- 427,430 ---- *************** *** 1422,1425 **** --- 1421,1425 ---- GemRB.SetEvent(ProficienciesWindow, ProficienciesLabel, IE_GUI_BUTTON_ON_PRESS, "ProficienciesLabelPress") GemRB.SetVarAssoc(ProficienciesWindow, ProficienciesLabel, "ProficienciesIndex", i + 1) + GemRB.SetVar("ProficienciesIndex"+str(i+1),0) for j in range (0, 5): *************** *** 1699,1702 **** --- 1699,1704 ---- j = j + 1 if j < len(Learnable): + Spell = GemRB.GetSpell(Learnable[j]) + GemRB.SetTooltip(MageMemorizeWindow, SpellButton, Spell['SpellName']) GemRB.SetSpellIcon(MageMemorizeWindow, SpellButton, Learnable[j]) GemRB.SetButtonState(MageMemorizeWindow, SpellButton, IE_GUI_BUTTON_ENABLED) |