Skip to content

Commit 8449552

Browse files
authored
Merge pull request #6577 from IllianiCBT/artAttack
Corrected Art Skill Type Names
2 parents 6fa02a7 + f44952c commit 8449552

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

MekHQ/src/mekhq/campaign/personnel/skills/SkillType.java

+9-8
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ public SkillType() {
335335
this.regLvl = 3;
336336
this.vetLvl = 4;
337337
this.eliteLvl = 5;
338-
this.costs = new Integer[11];
338+
this.costs = new Integer[] { 16, 8, 8, 8, 8, 8, 8, 8, DISABLED_SKILL_LEVEL, DISABLED_SKILL_LEVEL,
339+
DISABLED_SKILL_LEVEL };
339340
}
340341

341342
/**
@@ -377,10 +378,10 @@ public SkillType() {
377378
*
378379
* <p>For example:</p>
379380
* <pre>
380-
* Integer[] costs = new Integer[] {8, 4, 4, 4, 4, 4, 4, 4, 4, -1, -1};
381-
* SkillType skillType = new SkillType("Example Skill", 7, false, SkillSubType.COMBAT,
382-
* SkillAttribute.DEXTERITY, SkillAttribute.INTELLIGENCE, 1, 3, 4, 5, costs);
383-
* </pre>
381+
* Integer[] costs = new Integer[] {8, 4, 4, 4, 4, 4, 4, 4, 4, -1, -1};
382+
* SkillType skillType = new SkillType("Example Skill", 7, false, SkillSubType.COMBAT,
383+
* SkillAttribute.DEXTERITY, SkillAttribute.INTELLIGENCE, 1, 3, 4, 5, costs);
384+
* </pre>
384385
*
385386
* @author Illiani
386387
* @since 0.50.05
@@ -1684,7 +1685,7 @@ public static SkillType createArtDancing() {
16841685
}
16851686

16861687
public static SkillType createArtDrawing() {
1687-
return new SkillType(S_ART_DANCING,
1688+
return new SkillType(S_ART_DRAWING,
16881689
9,
16891690
false,
16901691
ROLEPLAY_ART,
@@ -1698,7 +1699,7 @@ public static SkillType createArtDrawing() {
16981699
}
16991700

17001701
public static SkillType createArtPainting() {
1701-
return new SkillType(S_ART_DANCING,
1702+
return new SkillType(S_ART_PAINTING,
17021703
9,
17031704
false,
17041705
ROLEPLAY_ART,
@@ -1712,7 +1713,7 @@ public static SkillType createArtPainting() {
17121713
}
17131714

17141715
public static SkillType createArtWriting() {
1715-
return new SkillType(S_ART_DANCING,
1716+
return new SkillType(S_ART_WRITING,
17161717
9,
17171718
false,
17181719
ROLEPLAY_ART,

0 commit comments

Comments
 (0)