Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlayerFactory #1031

Merged
merged 7 commits into from
Oct 1, 2018
Merged

PlayerFactory #1031

merged 7 commits into from
Oct 1, 2018

Conversation

Mag-nus
Copy link
Member

@Mag-nus Mag-nus commented Sep 29, 2018

Player/Character creation has been pulled out of CharacterHandler and added to a new PlayerFactory.

PlayerFactory includes a Create275HeavyWeapons function to help with load testing.

SpendAllXp has been added to Player_Xp.cs. A command handler can be added to allow use of this feature from in-game.

SpendAttributeXp, SpendVitalXp and SpendSkillXp no longer perform the work unless SpendXp was successful.

Player ctor from weenie no longer takes a Session object. Instead, only the AccountId is passed. This allows player creation without needing a session.

@Mag-nus
Copy link
Member Author

Mag-nus commented Oct 1, 2018

spendallxp developer command added

fixed SpendSkillXp so that the rankup is only applied if the SpendXp was successful

@Mag-nus Mag-nus merged commit 4d770dd into ACEmulator:master Oct 1, 2018
@Mag-nus Mag-nus deleted the AutoCreateChar branch October 1, 2018 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant