Class SkillDeprecationTool
SkillDeprecationTool class checks and manages deprecated skills for a Person.
 It identifies deprecated skills from the person's current skill set and allows the user to remove them while refunding the appropriate amount of XP. This process involves calculating XP refunds using the skill's cost and reasoning multiplier and providing a dialog for managing the refund.
The class is initialized with a Campaign and a Person, and directly modifies the person's
 skills and XP as necessary.
 
Resources such as messages and button labels are loaded from a localized resource bundle.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionA list of deprecated skills.
- 
Constructor SummaryConstructorsConstructorDescriptionSkillDeprecationTool(Campaign campaign, Person person, boolean refundAll) Constructs a newSkillDeprecationToolfor the specified campaign and person.
- 
Method SummaryModifier and TypeMethodDescriptionstatic intgetRefundValue(Skills skills, SkillType skillType, String skillName) Calculates the total XP refund value for a deprecated skill by summing the XP required to reach the current level of the skill.booleanboolean
- 
Field Details- 
DEPRECATED_SKILLSA list of deprecated skills.These are skills that have been scheduled for removal. Once the skill is removed from this list, players will no longer be able to benefit from skill refund. This list should be updated following each Milestone release. If there are no skills in the list, an empty array MUST be left; otherwise we will run into NPEs during campaign loading. Last Updated: 50.07 
 
- 
- 
Constructor Details- 
SkillDeprecationToolConstructs a newSkillDeprecationToolfor the specified campaign and person.Upon initialization, this constructor immediately checks the person's skills for any deprecated skills and handles them if necessary. 
 
- 
- 
Method Details- 
isSkipAllpublic boolean isSkipAll()
- 
isRefundAllpublic boolean isRefundAll()
- 
getRefundValueCalculates the total XP refund value for a deprecated skill by summing the XP required to reach the current level of the skill.
 
-