Fixes (by Buggler)

- Fixed allow exception to Dr Q. skill trait code not fully functional
- Swapped Dr Q. skill trait xml order so that when exception disabled, he will still have his night ops minor skill due to code execution order
- Externalized allow_exception ID number for modding

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1594 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2013-01-15 20:05:25 +00:00
parent f869ffa6a1
commit ceabf77ae2
4 changed files with 17 additions and 11 deletions
+5 -3
View File
@@ -25,10 +25,12 @@ MAX_NUMBER_OF_TRAITS = 3
; Values from 2 to 20 are allowed.
NUMBER_OF_MAJOR_TRAITS_ALLOWED = 2
; Allow special merc to have one more major trait?
ALLOW_EXCEPTION_FOR_SPECIAL_MERC = TRUE
; Allow Dr.Q to have one more trait? (giving him Martial Arts + Paramedic + Night Ops)
ALLOW_EXCEPTION_FOR_DR_Q = TRUE
; Assign the Merc ID to have one more major trait, only applies if ALLOW_EXCEPTION_FOR_SPECIAL_MERC = TRUE
; Values from 0 to 254 are allowed, does not work on IMPs. (Default: 33, giving Dr Q. Martial Arts + Night Ops + Paramedic)
SPECIAL_MERC_ID = 33
; Do traits set minimum attributes when selected?
SET_MINIMUM_ATTRIBUTES_FOR_TRAITS = TRUE
+2 -2
View File
@@ -2910,8 +2910,8 @@
<bOldSkillTrait2>4</bOldSkillTrait2>
<bNewSkillTrait1>6</bNewSkillTrait1>
<bNewSkillTrait2>6</bNewSkillTrait2>
<bNewSkillTrait3>9</bNewSkillTrait3>
<bNewSkillTrait4>13</bNewSkillTrait4>
<bNewSkillTrait3>13</bNewSkillTrait3>
<bNewSkillTrait4>9</bNewSkillTrait4>
<bBuddy1>255</bBuddy1>
<bBuddy2>255</bBuddy2>
<bBuddy3>255</bBuddy3>
+5 -3
View File
@@ -25,10 +25,12 @@ MAX_NUMBER_OF_TRAITS = 3
; Values from 2 to 20 are allowed.
NUMBER_OF_MAJOR_TRAITS_ALLOWED = 2
; Allow special merc to have one more major trait?
ALLOW_EXCEPTION_FOR_SPECIAL_MERC = TRUE
; Allow Dr.Q to have one more trait? (giving him Martial Arts + Paramedic + Night Ops)
ALLOW_EXCEPTION_FOR_DR_Q = TRUE
; Assign the Merc ID to have one more major trait, only applies if ALLOW_EXCEPTION_FOR_SPECIAL_MERC = TRUE
; Values from 0 to 254 are allowed, does not work on IMPs. (Default: 33, giving Dr Q. Martial Arts + Night Ops + Paramedic)
SPECIAL_MERC_ID = 33
; Do traits set minimum attributes when selected?
SET_MINIMUM_ATTRIBUTES_FOR_TRAITS = TRUE
+5 -3
View File
@@ -25,10 +25,12 @@ MAX_NUMBER_OF_TRAITS = 3
; Values from 2 to 20 are allowed.
NUMBER_OF_MAJOR_TRAITS_ALLOWED = 2
; Allow special merc to have one more major trait?
ALLOW_EXCEPTION_FOR_SPECIAL_MERC = TRUE
; Allow Dr.Q to have one more trait? (giving him Martial Arts + Paramedic + Night Ops)
ALLOW_EXCEPTION_FOR_DR_Q = TRUE
; Assign the Merc ID to have one more major trait, only applies if ALLOW_EXCEPTION_FOR_SPECIAL_MERC = TRUE
; Values from 0 to 254 are allowed, does not work on IMPs. (Default: 33, giving Dr Q. Martial Arts + Night Ops + Paramedic)
SPECIAL_MERC_ID = 33
; Do traits set minimum attributes when selected?
SET_MINIMUM_ATTRIBUTES_FOR_TRAITS = TRUE