mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
grant species_* skills
This commit is contained in:
@@ -232,10 +232,12 @@ public class CharacterService implements INetworkDispatch {
|
||||
if (constitution >= 1) core.skillModService.addSkillMod(object, "constitution", (int) constitution);
|
||||
if (stamina >= 1) core.skillModService.addSkillMod(object, "stamina", (int) stamina);
|
||||
if (agility >= 1) core.skillModService.addSkillMod(object, "agility", (int) agility);
|
||||
|
||||
object.createTransaction(core.getCreatureODB().getEnvironment());
|
||||
|
||||
PlayerObject player = (PlayerObject) core.objectService.createObject("object/player/shared_player.iff", object.getPlanet());
|
||||
object._add(player);
|
||||
core.skillService.addSkill(object, "species_" + object.getStfName());
|
||||
player.setProfession(clientCreateCharacter.getProfession());
|
||||
player.setProfessionWheelPosition(clientCreateCharacter.getProfessionWheelPosition());
|
||||
if(clientCreateCharacter.getHairObject().length() > 0) {
|
||||
|
||||
Reference in New Issue
Block a user