forgottenserver
forgottenserver copied to clipboard
notify the client about NPC speechbubble update
Pull Request Prelude
- [x] I have followed proper The Forgotten Server code styling.
- [x] I have read and understood the contribution guidelines before making this PR.
- [x] I am aware that this PR may be closed if the above-mentioned criteria are not fulfilled.
Changes Proposed
send the new speech bubble to the players who see the npc in their game screen
Issues addressed: more improvements to #4009 (merged PR)
Move it to separate method in game class for example updateCreature(Creature*)?
Move it to separate method in game class for example updateCreature(Creature*)?
I like it, we can use in
luascript.cpp > luaCreatureSetMaster()
monster.cpp > setName()
The loop occurs in three different places in the code. I will just make a function as Nekiro suggested.
nvm, I don't have time to finish it I'll keep it open in case someone wants to finish it.