mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Remove certain effects on class change
This commit is contained in:
parent
706a9fa721
commit
357805d04c
@ -964,6 +964,12 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||||||
|
|
||||||
//Check if bonus point available... set
|
//Check if bonus point available... set
|
||||||
|
|
||||||
|
//Remove buffs that fall off when changing class
|
||||||
|
CommandResultContainer resultContainer = new CommandResultContainer();
|
||||||
|
statusEffects.RemoveStatusEffectsByFlags((uint)StatusEffectFlags.LoseOnClassChange, resultContainer);
|
||||||
|
resultContainer.CombineLists();
|
||||||
|
DoBattleAction(0, 0x7c000062, resultContainer.GetList());
|
||||||
|
|
||||||
//Set rested EXP
|
//Set rested EXP
|
||||||
charaWork.parameterSave.state_mainSkill[0] = classId;
|
charaWork.parameterSave.state_mainSkill[0] = classId;
|
||||||
charaWork.parameterSave.state_mainSkillLevel = charaWork.battleSave.skillLevel[classId-1];
|
charaWork.parameterSave.state_mainSkillLevel = charaWork.battleSave.skillLevel[classId-1];
|
||||||
|
Loading…
Reference in New Issue
Block a user