mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-28 17:56:25 -04:00
Add support for beast master respec versioning
Also cleans up some existing expertise check stuff and fixes an omission from the addition of the mail opt in rewards
This commit is contained in:
@@ -6483,6 +6483,12 @@ public class base_player extends script.base_script
|
||||
}
|
||||
skill.recalcPlayerPools(self, false);
|
||||
}
|
||||
// when we learn our first beast master skill, store the current expertise version we're learning from
|
||||
if(skillName.equalsIgnoreCase("expertise_bm_incubation_base_1")) {
|
||||
int row = dataTableSearchColumnForString("beast_master", "profession", respec.EXPERTISE_VERSION_TABLE);
|
||||
int bmExpertiseVersion = dataTableGetInt(respec.EXPERTISE_VERSION_TABLE, row, "version");
|
||||
setObjVar(self, respec.BEAST_MASTER_EXPERTISE_VERSION_OBJVAR, bmExpertiseVersion);
|
||||
}
|
||||
recomputeCommandSeries(self);
|
||||
beast_lib.verifyAndUpdateCalledBeastStats(self);
|
||||
trial.bumpSession(self, "displayDefensiveMods");
|
||||
|
||||
Reference in New Issue
Block a user