BlowaXD / ChickenAPI

OpenSource Nostale Private Server Emulator API, implemented by SaltyEmu
https://blowaxd.github.io/ChickenAPI/
GNU General Public License v3.0
41 stars 7 forks source link

Feature : movements #29

Closed Elendan closed 6 years ago

Elendan commented 6 years ago
BlowaXD commented 6 years ago

Player movements has to be handled with Walk Packet + MovableSystem

Monsters & Npcs movements have to be handled through movable system update on ticks

Elendan commented 6 years ago

Not all NPC's considering pets/partners (also considered as NPC, with the visualentity at least)

ghost commented 6 years ago

Player movement must be a notifiable system. Monster movement is a system which is called again and again while the map is active. NPC movement is a little bit different, we need to gather informations for this. If I remind well, the Mt Krem's guards are moving not too far from their initial position (4 or 5 cells), the only reason they move further is an enemy being carried by a player inside the city, the npc will attack him.