Skip to content

完善Preview系统 #13

@sunist-c

Description

@sunist-c

Summary

影响的包:entity
修改文件:entity/player.go, entity/character.go. entity/core.go
描述: 完善玩家各种操作的预览操作与相关接口,在不触发Modifiers的情况下进行效果预览

Details

增加下列接口及实现:

  1. PreviewAttack 实现攻击效果预览
  2. PreviewEquip 实现装备效果预览
  3. PreveiwEatFood 实现食物效果预览
  4. PreviewHeal 实现治疗效果预览
  5. PreviewCharge 实现充能效果预览

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions