Drafted new character as NPC.

This commit is contained in:
genxium
2023-01-08 20:34:29 +08:00
parent 5b9b3a0b55
commit ab122a7bc8
51 changed files with 14453 additions and 515 deletions

View File

@@ -38,6 +38,9 @@ type PlayerDownsync struct {
ActiveSkillHit int32
FramesInvinsible int32
BulletTeamId int32
ChCollisionTeamId int32 // not the same as "BulletTeamId", because even in the same team, we should allow inter-character collisions
}
type InputFrameDecoded struct {
@@ -83,6 +86,8 @@ type Bullet struct {
BlowUp bool
CancelTransit map[int]int
TeamId int32
}
type MeleeBullet struct {
@@ -126,3 +131,10 @@ type InputFrameDownsync struct {
InputList []uint64
ConfirmedList uint64
}
type NpcPatrolCue struct {
FlAct uint64 // Encoded input when collided with this cue & facing left
FrAct uint64 // Encoded input when collided with this cue & facing right
X float64
Y float64
}