398fcf7bdd
Changing main tool while in wield state moves character back to idle state.
2021-02-08 17:25:40 -05:00
e033fe6bee
Inventory manipulations are now only for input from the client, and are no longer directly sent as a server event. Slot manipulations do that instead.
2021-02-08 13:55:50 -05:00
1c83c5ee6f
Loadout manipulations now emit a separate event from client instead of hackily intercepting inventory manipulations in common.
2021-02-08 12:31:17 -05:00
f026aeb2dc
Server events directly emitted in states now.
2021-02-08 12:01:48 -05:00
6a1e583d45
Eradicated clones
2021-02-08 12:01:48 -05:00
9f2255a5de
Extended what states inventory manipulations touching the loadout could affect.
2021-02-08 12:01:47 -05:00
8eebcdfcd2
Inventory changes that modify the loadout now go through a control action instead of a control event.
2021-02-08 12:01:47 -05:00
909ed80e9e
Merge branch 'sam/fix-roll' into 'master'
...
Fixes roll being free
See merge request veloren/veloren!1757
2021-02-06 22:15:06 +00:00
252e421692
Roll is no longer free.
2021-02-06 15:20:08 -05:00
f5e1d446ad
Replace magic dr constant
2021-02-06 18:21:58 +01:00
9f7637ab21
Converted combat states and other semi-combat-related to use float-values instead of integers to prevent more casts
2021-02-05 01:39:12 +00:00
be8df9aef6
Addressed comments.
2021-02-02 16:08:09 -05:00
80954f3ba4
Made attacker entity and uid optional to remove potential for attacks to not be applied and some unwraps.
2021-02-02 13:07:07 -05:00
af982ec0bb
Changed knockback to be an effect on the overall attack, rather than a damage.
2021-02-02 13:07:07 -05:00
17d1432be0
Outcomes now correctly read if an attack had any healing components.
2021-02-02 13:07:06 -05:00
5eec915c2e
Added support for damage falloff with explosions.
2021-02-02 13:07:06 -05:00
5c16b0b532
Explosions now use attacks.
2021-02-02 13:07:06 -05:00
7675e53740
Shockwaves now use attacks.
2021-02-02 13:07:05 -05:00
e5caef8a54
Effects on attacks can now require energy.
2021-02-02 13:07:05 -05:00
2b11ae6569
Attacks can now heal.
2021-02-02 13:07:04 -05:00
edcfcc31f6
Attacks can now deal poise damage.
2021-02-02 13:07:04 -05:00
fcd89a5d41
Lifesteal now functional on Attack.
2021-02-02 13:07:03 -05:00
fdef168e82
Beams now use Attack, with limited functionality in some cases.
2021-02-02 13:07:03 -05:00
59ce8c6843
Projectiles now use attacks.
2021-02-02 13:06:57 -05:00
46dbb8aef4
Attack effects can now have requirements.
2021-02-02 13:06:34 -05:00
c77f263cd1
Effects now work when not tied to a damage.
2021-02-02 13:06:34 -05:00
18aa315f0d
Rolling now dodges melee attacks again.
2021-02-02 13:06:34 -05:00
78879d5189
Attacks can now inflict de/buffs.
2021-02-02 13:06:33 -05:00
6d509932db
Attacks can now reward energy.
2021-02-02 13:06:33 -05:00
c3408c084c
Critical hits are now functional.
2021-02-02 13:06:32 -05:00
2690e9caa1
Applied basic functionality of attack-effects system to melee.
2021-02-02 13:06:32 -05:00
d3b75df76f
Changed name of Attacking comp to MeleeAttack
2021-02-02 13:06:31 -05:00
bb019309ea
Attack builder implemented.
2021-02-02 13:06:31 -05:00
78a2459e6d
Changed knockback from an enum to a struct.
2021-02-02 13:06:30 -05:00
f4deb08a40
fixing #944 - LeapMelee fall damage fix & adjustments
2021-02-02 16:51:04 +00:00
23b1df3cdd
Add basic NPC interaction and fix NPC chat spamming
2021-01-31 20:29:50 +00:00
ea13f75427
Quick poise fix
2021-01-29 15:52:40 -08:00
a02444825d
Address some comments
...
Eliminated extra stagger state
Responding to more comments
Move poise character state changes to character behavior system
Move poise out of JoinTuple/Data
Finish up comments (various fixes)
2021-01-28 17:31:05 -08:00
46c8c744fa
Add migration for starter gear
2021-01-28 17:22:39 -08:00
d456271921
animal stuns
...
Fix rebase
2021-01-28 17:22:39 -08:00
661764f4aa
Some preliminary balancing
...
Fix rebase
2021-01-28 17:22:39 -08:00
29732bb763
starting stun anim
...
stagger anim, mirroring, bettern walk anim
wielding with stuns/stagger
Knockback fix
Added Poise documentation/comments
2021-01-28 17:22:37 -08:00
0f244bf84b
Made stunned state invulnerable to poise damage
...
Fixing silly error for comp creation
2021-01-28 17:22:35 -08:00
dd69b5f2bc
Poise stats
2021-01-28 17:22:35 -08:00
af076aa87f
Add knockback to poise
2021-01-28 17:22:35 -08:00
e3965ae0ab
Very basic functioning stun
2021-01-28 17:22:35 -08:00
c83296a4ec
Initial broken implementation of poise
...
Character movement no longer broken.
2021-01-28 17:22:33 -08:00
8b97199245
Update rand dependency
2021-01-26 20:35:08 -08:00
680a4e4dde
Fixed base energy being 0.
2021-01-26 21:25:00 -05:00
1f6cf7e155
StaminaPlus buff, modifying stamina via buffs
...
trying to fix this, coming back to this later
please remember to change potion back future self!
this ALMOST works. maybe MR ready, kinda jank tho
so close, and yet so far...
IT WORKS IT WORKS IT WORKS IT WORKS IT WORKS IT WO
did the same with health, ill fix this garbage l8r
think we're basically done here
whoops forgot to change the food back
fixing and cleaning up part 1
fixed everything part 2 now with buff images
ran clippy + fmt, fixed items that i modified
bracket bulldozing, boldly
hopefully this should be good?
need to rebase real quick
please let me be done
StaminaPlus buff, modifying stamina via buffs
trying to fix this, coming back to this later
please remember to change potion back future self!
this ALMOST works. maybe MR ready, kinda jank tho
so close, and yet so far...
IT WORKS IT WORKS IT WORKS IT WORKS IT WORKS IT WO
did the same with health, ill fix this garbage l8r
think we're basically done here
whoops forgot to change the food back
fixing and cleaning up part 1
fixed everything part 2 now with buff images
ran clippy + fmt, fixed items that i modified
hopefully this should be good?
cargo clippy fmt stuff
deleted an extraneous file?? how did that even...?
2021-01-26 22:47:55 +00:00