Merge pull request #191 from SouNourS/HP

10 / 100 * 255 = 0
This commit is contained in:
Fate-JH 2018-03-01 07:18:48 -05:00 committed by GitHub
commit 02c4fb26c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -1010,6 +1010,7 @@ class WorldSessionActor extends Actor with MDCContextAware {
log.info("Load the now-registered player")
//load the now-registered player
tplayer.Spawn
tplayer.Health = 50
val dcdata = tplayer.Definition.Packet.DetailedConstructorData(tplayer).get
sendResponse(ObjectCreateDetailedMessage(ObjectClass.avatar, tplayer.GUID, dcdata))
avatarService ! AvatarServiceMessage(tplayer.Continent, AvatarAction.LoadPlayer(tplayer.GUID, tplayer.Definition.Packet.ConstructorData(tplayer).get))