mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-26 18:45:35 +08:00
Merge remote-tracking branch 'origin/unstable-quests' into unstable-quests
This commit is contained in:
commit
349f76b7d8
@ -238,8 +238,10 @@ public class EntityMonster extends GameEntity {
|
|||||||
.setPoseId(this.getPoseId())
|
.setPoseId(this.getPoseId())
|
||||||
.setBlockId(getScene().getId())
|
.setBlockId(getScene().getId())
|
||||||
.setBornType(MonsterBornType.MONSTER_BORN_TYPE_DEFAULT);
|
.setBornType(MonsterBornType.MONSTER_BORN_TYPE_DEFAULT);
|
||||||
|
if (metaMonster.special_name_id != 0) {
|
||||||
if (getMonsterData().getDescribeData() != null) {
|
monsterInfo.setTitleId(metaMonster.title_id)
|
||||||
|
.setSpecialNameId(metaMonster.special_name_id);
|
||||||
|
} else if (getMonsterData().getDescribeData() != null) {
|
||||||
monsterInfo.setTitleId(getMonsterData().getDescribeData().getTitleId())
|
monsterInfo.setTitleId(getMonsterData().getDescribeData().getTitleId())
|
||||||
.setSpecialNameId(getMonsterData().getSpecialNameId());
|
.setSpecialNameId(getMonsterData().getSpecialNameId());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user