yogurt
b8d6a943aa
Combat changes and bug fixes
...
Added the combo and proc systems
Added scripts for most weaponskill and spells as well as some abilities and status effects
Added support for multihit attacks
Added AbilityState for abilities
Added hiteffects that change based on an attack's parameters
Added positionals
Changed how targeting works for battlecommands
Fixed bug that occurred when moving or swapping hotbar commands
Fixed bug that occurred when losing status effects
2018-02-15 13:20:46 -06:00
yogurt
837c7a9223
Health updating fix, temp r0 fix
2017-12-10 09:20:42 -06:00
yogurt
205d3619d6
Merging
2017-12-08 02:08:13 -06:00
Tahir Akhlaq
27200b8df5
moved ally engage stuff to ContentArea onUpdate
2017-10-11 19:23:40 +01:00
Tahir Akhlaq
da621dfc0e
added pool/spawn/genus mod loading
...
- moved ai helper classes to own folder
2017-09-12 01:24:02 +01:00
Tahir Akhlaq
ce5030acd1
added mob name colour update
...
- added mobmods (need to be loaded from db)
- added Zone.GetBattleNpcById
- added missing IsValidTarget check in AttackState
2017-09-10 03:44:12 +01:00
Tahir Akhlaq
2bfaf376ef
moved battlenpc loading to db (still doesnt load for some reason)
2017-09-05 23:32:57 +01:00
Tahir Akhlaq
4978813c27
fixed death/despawning kinda (need to figure out why hp wont tick down after respawning)
2017-09-03 01:01:19 +01:00
Tahir Akhlaq
c5cc7c2f00
fixed auto attack messing up cast anim
...
- fixed auto attack anim for mobs (<3 u ion)
- added hotbar timer updates (<3 u azia)
- fixed actor block bug
- cleaned up substate retardation
- fixed some targetfind issues
- added despawn state
- added messages for in progress commands
- added fields for aoe target, range, battleAnimation to server_battle_commands table
2017-08-31 06:01:26 +01:00
Tahir Akhlaq
517bdc0638
fixed cast interrupt
...
- dont allow targeting of mob moving back to spawn
2017-08-30 00:14:14 +01:00
Filip Maj
d81832f256
Cleaned up hotbar database stuff (slot starts at 0 now!) and fixed a few bugs in the state system.
2017-08-28 23:21:21 -04:00
Filip Maj
7ad40f625a
Refactored Demo's battle action code and cleaned things up.
2017-08-28 21:45:01 -04:00
Tahir Akhlaq
f4016e1a12
renamed tables for consistency
...
- added magic.lua (todo: enumerate modifiers and stuff)
- moved aggro handling to session position update
- some cleanup
2017-08-29 01:15:12 +01:00
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
5e2487c8cc
missed a file from previous commit
2017-08-24 05:36:12 +01:00
Tahir Akhlaq
9bb298b2f3
added modifier class
...
- added auto attack animation (<3 showmoltti)
- added thing to send battle packet from lua
2017-08-24 05:12:30 +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
54af893570
add some more locks, fixed typo in AddHP, add missing ability
2017-08-23 03:22:17 +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
8bebba64b3
fixed some timers
...
- status icons now display (<3 u ion)
- todo: populate status tables, figure out why effect wont tick down for me
2017-07-27 03:58:42 +01:00
Tahir Akhlaq
53207a9ff0
added status effect saving
...
- added some of the packets to add/remove effects (todo: battle packet too)
2017-07-18 00:55:03 +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
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
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
04890660c0
start of ai based on kjLotus's code on dsp
2017-06-29 19:14:04 +01:00