Skip to content

Commit

Permalink
[Updated] Grey Jedi Login Checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Thrax989 authored Jan 23, 2023
1 parent 1df4532 commit 3083708
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,12 @@ void PlayerObjectImplementation::notifyOnline() {
playerCreature->setFactionStatus(2);
}

//jedi check when logging in for grey jedi state
if (playerCreature->hasSkill("cobat_jedi_novice")) {
player->setJediState(1);
info(playerCreature->getFirstName() + " Jedi State Adjusted To " + " 1 " + " Grey Jedi ", true);
}

//Login to jedi manager
JediManager::instance()->onPlayerLoggedIn(playerCreature);
//Reset Players Skill Mods
Expand Down

0 comments on commit 3083708

Please sign in to comment.