4,871 Commits over 2,068 Days - 0.10cph!
ClientInput stuff gone forever
removed Apex because it's not being used
removed a load of CIC stuff, most stuff now goes through the new merged cmd system
Move and Attack now use new cmd not cic
end turn and surrender commands work again
Cmds can now be set to be relayed or turn required, more cmd rework stuff
removed CmdKillUnit, CmdSetTag, CmdSpawn
wip merging Cmd and ClientInputCmd to one thing
nuked everything relating to CommandBlock. (broke capture and tile fall actions probably)
attacks hacked to work for now
set a forced seed for testing determenistic shit
started reworking to run everything off just the client input
AI prefers to target healers
Unit/movement can now be flagged as passable through units
Fixed attack state playing tile hover sound for non-targettable tiles
increased size of range text box on unit info panel to fit a min-max range instead of just range
Mortart now has a minimum range of 3 (to match its max range of 3)
attack range can now have a minum range, pathfinder stores distance in tiles
...and the rest.
Fixed def not getting looked up correctly from proto.
unit + attack def is now looked up once at unit init and stored, started removing all UnitDatabase.Find() and replacing with the references
Stopped BLOCKED text incorrectly appearing on 1 dmg attacks (no block now...)
Fixed CastAttackView friendly unit test so it plays the correct buff/dmg effect
placeholder Healer idle anim and state setup
made a shitty placeholder healer attack anim so it at least has something
Added asset store heal particle pack, added healer heal effect.
Added CastAttackView which can do damage or buff effects depending on target.
Friendly range indicators
Hide the keyboard number key on unit portrait when unit dies
Fixed health bars not updating on tile fall death
Added UnitListsEventArgs which is used by the range indicator events. Event how receives a list of friendly buffable units and a list of enemy damagable units
MoveState cleanup, fixed the same bugs AttackState had with cursor logic.
Change heal highlight colour slightly
started some MoveState tidy up
added SupportColour and SupportAreaColour color properties to BoardView for tile highlighting, set better but still placeholder colours.
Fixed the longstanding bug where attack hovering units after a tile or attacking unit doesn't show the attack cursor correctly
Fixed some cursor image logic bugs, support cursor now correctly shows when healing and attack cursor when targetting a friendly unit with an AOE dmg