Tahir Akhlaq
88abd59ec3
fixed auto attacking self/npcs
2017-08-24 16:36:56 +01:00
Tahir Akhlaq
cbbfa4ed95
fixed mobs not pathing
...
- fixed roaming (todo: should probably move to attackstate too or something)
2017-08-23 19:31:03 +01:00
Tahir Akhlaq
a89fc64555
fix crash in gm command thing, commit stupid shit i havent figured out yet
2017-08-21 00:40:41 +01:00
Tahir Akhlaq
68657e1edc
stubbed some more states
...
- stubbed some ability stuff
- moved packet things to loop instead of session only
- added mob roaming and aggro
- todo: fix target find/detection/pathfinding speed/line of sight/line aoe length etc
- todo: see "// todo:" in code
2017-08-02 23:09:04 +01:00
Tahir Akhlaq
7ab40a30f1
stubbed some more functions
2017-07-11 20:49:38 +01:00
Tahir Akhlaq
59fab08230
added some more targetfind stuff to handle pets (needs testing)
2017-07-10 23:52:31 +01:00
Tahir Akhlaq
d895357182
renamed mob stuff to battlenpc
...
- stubbed spawn/die/despawn functions
2017-07-07 22:08:48 +01:00
Tahir Akhlaq
cc1929a9fb
moved getpath crap to pathfinding (or should i keep it in actor?)
...
- stubbed some more crap
2017-07-02 20:01:24 +01:00
Tahir Akhlaq
e56238a10c
fixed crash on updating controller for npcs
...
- fixed updating player movement
2017-06-30 04:30:36 +01:00
Tahir Akhlaq
62055eff04
stubbed some more functions from kj's ai stuff
...
- fixed some typos
- cleaned some debug code
2017-06-29 21:54:30 +01:00
Tahir Akhlaq
6b023ceb3c
added a status effect container
...
- added status effect container to mobs and player objects (maybe should add to all Characters?)
- todo: handle gain/tick/lose in lua, send packets, everything else
2017-06-29 19:14:07 +01:00
Tahir Akhlaq
2c9ae60bbf
corrected mob to use correct substate
...
- added global tick
- stubbed some more functions
- added checks for engaged/dead
- todo: everything else
2017-06-29 19:14:05 +01:00
Tahir Akhlaq
b9bfe5e985
cleaned up some of my retard with deltaTime and changed to DateTime for convenience swapping between seconds/milliseconds
2017-06-29 19:14:05 +01:00
Tahir Akhlaq
3bcaa4cc3e
added some more ai stubs
...
- created mob class
- added pathfind and targetfind helper classes (todo: actually add stuff to them)
- added action queue helper class (todo: add shit to it)
2017-06-29 19:14:05 +01:00
Tahir Akhlaq
04890660c0
start of ai based on kjLotus's code on dsp
2017-06-29 19:14:04 +01:00