Tahir Akhlaq
6c74222b68
renamed ability to battlecommand
...
- moved spells to scripts/commands/
- added aoe range field to battle_commands.sql
- changed AttackState to use character's onAttack
2017-08-28 05:20:00 +01:00
Tahir Akhlaq
c070f5b80e
added ion's and showmo's enums
...
- added nullable DateTime param to UnixTimeStampUTC
2017-08-26 17:46:45 +01:00
Tahir Akhlaq
9024f3fad6
cleaned up magicstate and weaponskillstate
...
- todo: fix IsFacing
- added thunder spell (todo: figure out why battleactionx10 crashes client on sending shit)
2017-08-26 04:08:26 +01:00
Tahir Akhlaq
11bbb023d9
abilities now use correct animation id (<3 azia)
...
- did stuff with magicstate/attackstate
- fixed status effect tick
- added regen status (todo: actually populate the table and use that name instead of enum's)
- added baseStats to char (todo: add bonuses and stuff on top of those, set charaWork values to the calculated ones + bonus)
2017-08-25 03:52:43 +01:00
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
86bf0eec81
filled out abilities table (todo: range needs correcting)
...
- changed target find stuff to use windower's (need to check it actually works..)
2017-08-22 19:57:52 +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
1856cc0634
(badly) ported dsp's pathfind code
...
- added distance for vectors
- todo: why does it go retard
2017-08-16 17:25:32 +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
c7b87c0d89
effect timers now display (<3 ion)
...
- added source/target to effects
- todo: send battle packet crap
2017-07-27 22:19:20 +01:00
Tahir Akhlaq
7ab40a30f1
stubbed some more functions
2017-07-11 20:49:38 +01:00
Tahir Akhlaq
84d5eee1fc
cleaned targetfind some
...
- added character allegiance types
2017-07-11 01:54:15 +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
247b5ca709
missed some files from previous commit
2017-07-08 00:20:55 +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
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
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