juliancoffee
565e337f76
Make is_mid_air use on_surface().is_none()
2021-08-13 23:16:38 +03:00
juliancoffee
86bf03be1c
Add comment about fragility of solution
2021-08-12 15:28:58 +03:00
juliancoffee
42debc32d3
Make Fireballs explode EnsnaringVines
2021-08-12 01:25:55 +03:00
Illia Denysenko
d304aaebe9
Gliding Debug Info
2021-08-07 13:19:58 +00:00
Joshua Barretto
f5ea8d32f7
Fixed block snapping
2021-08-04 14:12:10 +01:00
juliancoffee
f3e8328717
Avoid negative bounds in harm checks
...
* disallow_harm -> allow_harm to avoid negative reasoning since it mostly
requires double negation in code
* allow_harm -> may_harm to specify side-effect free
2021-08-03 18:57:53 +03:00
juliancoffee
a407276851
Refactor projectile system
2021-08-03 16:43:55 +03:00
juliancoffee
7c738fb843
Post review refactoring
...
* inline `target_dodging` into struct declaration as they are named
anyway
* move `avoid_harm` check out of `Attack::apply_attack` so we don't need
to pass whole Player component.
* another cosmetic things
2021-08-03 16:43:55 +03:00
juliancoffee
6004e76959
Prettify aura system
2021-08-03 16:43:55 +03:00
juliancoffee
23c8e95f7f
Refactor Aura system, add avoid_harm flag
...
+ fix bug where you cast OutOfGroup on yourself and your group
2021-08-03 16:42:58 +03:00
juliancoffee
94b48f5448
Cleaning
2021-08-03 16:42:58 +03:00
juliancoffee
eb770a7dd7
Add battle_mode server setting and player flag
2021-08-03 16:42:58 +03:00
Imbris
d3c8dc268e
Merge branch 'mohs/refactoring_character_behavior' into 'master'
...
reducing complexity of character_behavior's run method by extracting logical pieces.
See merge request veloren/veloren!2697
2021-07-31 02:47:55 +00:00
Thomas Kosel
354fa7d00b
changing <Sys> to Self to be a little more speaking and less riddles.
2021-07-29 23:14:46 +02:00
Thomas Kosel
8cd690f644
renaming methods to match the names of the methods called within
2021-07-29 22:55:58 +02:00
Thomas Kosel
c51e9a6880
moving CharacterState interpreting methods to character_state.rs
2021-07-29 22:38:20 +02:00
Thomas Kosel
b6320a5cdc
reducing complexity of character_behavior's run method by extracting logical pieces.
2021-07-29 20:09:31 +02:00
Imbris
f0a5f0890e
Add comment to physics and replace magic number in climbing boost with a named constant, fixes #1002
2021-07-29 03:11:44 -04:00
Thomas Kosel
4e174c0b17
#918 reverting wrongly merged inventory related changes.
2021-07-28 21:13:09 +02:00
Thomas Kosel
554edde64d
#918 remove usages of .restrict_mut() from character_behavior.rs
2021-07-27 23:34:16 +02:00
Thomas Kosel
2ae3f9fc1e
#918 remove usages of .restrict_mut() from mount.rs and stats.rs
2021-07-27 22:22:39 +02:00
Sam
449b4bb3d5
Made swapping equipped weapons a server event instead of being called in common to prevent server-client desyncs.
2021-07-25 18:30:17 -05:00
Joshua Barretto
a9d9a28c5f
Fix block-hopping with strangely sized blocks
2021-07-25 20:03:17 +01:00
Dr. Dystopia
dd13f5298d
Resolve unused '#[allow(clippy::while_let_on_iterator)]' error supressions
2021-07-24 20:04:52 +02:00
Imbris
ceb800f187
Fix check before calculating entity pushback, was causing a NaN and probably other bugs
2021-07-19 01:31:40 -04:00
Imbris
e2fc167e0c
Setup animation mount points for quadruped medium, update offsets in
...
common for new quadruped mediums, properly transform the offset in the
mount system using ori, fix issue with composing in the base ori with
the mounting bone ori in voxygen.
2021-07-18 15:09:36 -04:00
Imbris
00b92096c9
Rework mounting animation so that full hierarchies of animation transforms can be applied to the mounter, factor out some common code in figure/mod.rs
2021-07-18 15:04:02 -04:00
Snowram
00b029d338
Make the mounter animations dependant of the mountee animation
2021-07-18 15:03:57 -04:00
Jonathan Berglin
214e6c1d42
Resolve all approved error supressions
2021-07-18 17:11:46 +00:00
Joshua Barretto
5989a25ef2
Fixed handling of orientation changes for airships
2021-07-18 01:13:36 +01:00
Samuel Keiffer
651b775932
Merge branch 'knightresspaladin/healing-aura' into 'master'
...
Knightresspaladin/healing aura
See merge request veloren/veloren!2587
2021-07-16 21:32:03 +00:00
holychowders
a1db073af5
Make Guards Defend Villagers
2021-07-14 07:40:43 +00:00
Marcel Märtens
7153e8879d
fix clippy warnings
2021-07-12 12:09:09 +02:00
Knightress Paladin
1289b21e70
Removed references to Healing Beam, which Healing Aura is replacing
2021-07-10 21:39:11 -07:00
swrup
83ecf7bd32
fix melee hit_count increment
2021-07-09 16:17:51 +00:00
juliancoffee
4f75e98cfa
Use Food after Buildup
...
+ Remove Saturation effect by rolling
+ Remove Saturation effect if interrupted with poise
+ Rename Potion to Drink, add ComplexFood
2021-07-05 10:56:29 +03:00
Sam
70cfeb3e65
Addressed potential for divide by zero.
2021-07-04 22:00:13 -05:00
Sam
09d1cd68d7
Fix interaction of max health and max health over time buffs causing infinite health scaling.
2021-07-04 21:43:29 -05:00
Avi Weinstock
d3d4cc1382
Fix underwater campfires.
2021-06-30 18:36:43 -04:00
Sam
8bf3109133
Food now applies buff at end of state.
...
Rolling and poise states now cancel the potion buff.
UseItem character state now checks that the item in the slot has the same item_definition_id as when the entity enters the state.
Rolling can no cancel item use.
Rolling now checks for move_dir instead of velocity.
2021-06-29 05:59:02 -05:00
Sam
ab74ee3f01
Added UseItem character state.
2021-06-29 05:59:02 -05:00
Sam
cd1ede0131
Balance tweaks.
2021-06-23 22:38:37 -05:00
Sam
5dc1f8f8ae
Added ensnared debuff icon.
2021-06-23 22:38:16 -05:00
Sam
d93d0aa4f5
Vines now ensnare you by applying a buff.
2021-06-23 22:38:16 -05:00
Sam
cc748c0a3f
Ensnaring vines now ensnare you.
2021-06-23 22:38:16 -05:00
Sam
c326df0b88
Slightly functional sprite summon.
2021-06-23 22:38:16 -05:00
Dominik Broński
1d55cb9c15
Merge branch 'aweinstock/lava' into 'master'
...
Lava
See merge request veloren/veloren!2482
2021-06-21 20:49:44 +00:00
Joshua Barretto
2cebfa7db5
Sanitise controller inputs
2021-06-21 21:13:49 +01:00
Avi Weinstock
5662ba98b8
Address MR 2482 comments.
...
- Change lava density to 3x water density.
- Use `ServerEvent::Buff` instead of modifying the buff component directly.
- Revert commented-out changes to fluid shaders.
2021-06-20 11:32:05 -04:00
Avi Weinstock
a831a4fb69
Make lava solid w.r.t. rendering while still being liquid w.r.t. physics.
2021-06-19 16:52:21 -04:00