Commit graph

27 commits

Author SHA1 Message Date
05b3dc90b0 Use .toml instead of .xml for config 2018-10-25 14:31:06 +09:00
00961768b3 Fixes
Acutally fix duplicate ".. entered battle" message bug.
Fix potential crash bug.
2018-10-18 14:47:40 +09:00
f55b2e89ab Add battle cooldown
Cooldown (default 5 seconds) prevents an entity that left battle from
attacking or being-attacked for the duration of the cooldown.
2018-10-17 18:28:47 +09:00
7532f2c506 Minor fix to how Common/Client Proxy handles init 2018-10-04 12:07:26 +09:00
91cbe8be87 Fix volume of Battle music to check master volume 2018-09-28 19:28:20 +09:00
e514a4502b Add bg to text in BattleGui 2018-09-28 19:21:49 +09:00
857ff2539b Cleanup of code, move BattleGui main menu 2018-09-28 17:46:48 +09:00
38fd9da186 Fix BattleGui menu position 2018-09-28 13:20:17 +09:00
72abfb9c76 Move BattleGui main menu buttons 2018-09-28 12:18:21 +09:00
0e0a7ea562 Move client Battle to ClientProxy 2018-09-28 12:13:07 +09:00
bb8ebf561b Change how silly music is triggered
Can now specify in config what minimum percentage of silly entities
trigger silly music in battle.
2018-09-28 12:02:39 +09:00
c2c19f6af2 Fix passive-type battle music occurrences, fixes 2018-09-27 18:09:40 +09:00
3e234ea94e Fix bug where two sounds play at once, fixes
Mod should also now resume other previously playing sounds/music after
battle has ended.

Also prevents possible concurrent modification exception when new
Entities are added to Battle server-side.
2018-09-27 16:46:17 +09:00
6ead1e1d3d Fix falling perpetually with Freeze mode, fixes 2018-09-25 15:16:35 +09:00
a4c3a28028 Minor fixes/changes
Added option in config to change battle timer time
2018-09-25 14:55:24 +09:00
676f71e313 Add volume control to battle music
Battle music volume is set based on the music volume slider in the
Minecraft settings. The default Midi device provided in Java does not
appear to support changing the volume of playing midi file after some
testing. For now, only ".wav" files obey the Music volume slider
settings.
2018-09-21 16:10:00 +09:00
bdb090f74b Fixes, change how BattleManager is initialized 2018-09-20 15:15:34 +09:00
24749b8ccc Minor fixes/changes 2018-09-18 16:58:01 +09:00
b684310be8 Move battle attacks to main thread, minor fixes
Battle attacks moved to main thread for stability (fixes possible
concurrent modification exception).
2018-09-17 13:27:13 +09:00
b1a3eb9880 Implement battle music
Can play mid and wav files in the generated config directory
2018-09-14 14:14:10 +09:00
5f70253955 Fixes, improvements
BattleGui now displays health of all combatants.
Players can leave battle by entering creative mode (set by server).
Added battle size limit (default 8) can be set in config.
2018-09-14 12:44:45 +09:00
2872543c93 Fix for server/client setups 2018-09-12 16:00:55 +09:00
5eba2dd41b Fix to allow mod to work on server 2018-09-12 15:39:55 +09:00
5999808859 crash bug fixes, mod is playable at this point
Missing some features from the pre-rewrite version such as playing
battle music, using bow/arrows, limiting number of combatants in
battle...
2018-09-12 14:43:59 +09:00
3d6354e808 WIP - minor fixes 2018-09-11 16:39:46 +09:00
de48b8401c WIP - implemented enough GUI to start testing 2018-09-11 15:15:31 +09:00
0d5f18f997 WIP - begin work on client GUI 2018-09-10 14:59:56 +09:00