Update of /cvsroot/pythianproject/Prototypes/SkillEditor
In directory usw-pr-cvs1:/tmp/cvs-serv1060
Modified Files:
skills.xml SkillFormulaEditorCode.pas
Log Message:
no message
Index: skills.xml
===================================================================
RCS file: /cvsroot/pythianproject/Prototypes/SkillEditor/skills.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** skills.xml 2001/01/16 04:05:23 1.1
--- skills.xml 2001/01/16 22:41:43 1.2
***************
*** 1,2 ****
<?xml version="1.0" encoding="UTF-8"?>
! <Skilllist><General name="Combat"><General name="Weapons"><General name="Sword"><Skill name="Short Sword" formula="[x=30][y=55][Endurance (Running)=30][Memory=45]" gaintrain="[x=30][Induction=40][Endurance (Health)=55]" gainuse="[x=35][Comeliness=45]" losegainwithouttrain="[x=66][Wit=0][Endurance (Health)=10]" losewithoutuse="[x=20][Induction=30]" timestogeneral="0"></Skill><Skill name="Long Sword" formula="" gaintrain="" gainuse="" losegainwithouttrain="" losewithoutuse="" timestogeneral="0"></Skill></General><General name="Axe"><Skill name="Short Axe" formula="" gaintrain="" gainuse="" losegainwithouttrain="" losewithoutuse="" timestogeneral="0"></Skill><Skill name="Long Axe" formula="" gaintrain="" gainuse="" losegainwithouttrain="" losewithoutuse="" timestogeneral="0"></Skill></General></General></General><General name="Test General"><General name="New Test!!"></General></General></Skilllist>
--- 1,2 ----
<?xml version="1.0" encoding="UTF-8"?>
! <Skilllist><General name="Combat"><General name="Weapons"><General name="Sword"><Skill name="Short Sword" formula="[x=30][y=55]" gaintrain="[x=30][Induction=40][Endurance (Health)=55]" gainuse="[x=35][Comeliness=45]" losegainwithouttrain="[x=66][Wit=0][Endurance (Health)=10]" losewithoutuse="[x=20][Induction=30]" timestogeneral="0"></Skill><Skill name="Long Sword" formula="" gaintrain="" gainuse="" losegainwithouttrain="" losewithoutuse="" timestogeneral="0"></Skill></General><General name="Axe"><Skill name="Short Axe" formula="" gaintrain="" gainuse="" losegainwithouttrain="" losewithoutuse="" timestogeneral="0"></Skill><Skill name="Long Axe" formula="" gaintrain="" gainuse="" losegainwithouttrain="" losewithoutuse="" timestogeneral="0"></Skill></General></General></General><General name="Test General"><General name="New Test!!"></General></General></Skilllist>
Index: SkillFormulaEditorCode.pas
===================================================================
RCS file: /cvsroot/pythianproject/Prototypes/SkillEditor/SkillFormulaEditorCode.pas,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SkillFormulaEditorCode.pas 2001/01/16 04:05:23 1.1
--- SkillFormulaEditorCode.pas 2001/01/16 22:41:43 1.2
***************
*** 203,206 ****
--- 203,208 ----
//else
// begin
+ if (FormulaType = 'xy-form') then
+ exit;
if Grid.RowCount = 13 then
exit;
***************
*** 247,251 ****
if FormulaType = 'xy-form' then
begin
! if (Grid.Cells[1,0] = '') or (Grid.Cells[1,1] = '') or (Grid.Cells[0,2] = '') then
exit;
end
--- 249,253 ----
if FormulaType = 'xy-form' then
begin
! if (Grid.Cells[1,0] = '') or (Grid.Cells[1,1] = '') then
exit;
end
***************
*** 290,295 ****
if FormulaType = 'xy-form' then
begin
! Grid.RowCount := 3;
! Grid.Height := 66;
Grid.Cells[0,0] := 'x';
Grid.Cells[1,0] := '0';
--- 292,297 ----
if FormulaType = 'xy-form' then
begin
! Grid.RowCount := 2;
! Grid.Height := 45;
Grid.Cells[0,0] := 'x';
Grid.Cells[1,0] := '0';
|