1840 Commits

Author SHA1 Message Date
Joshua Barretto
102a6fe1f0 Merge branch 'ubruntu/fix-dungeon-loot-fallback' into 'master'
fix BipedSmall NPCs using fallback loot table

See merge request veloren/veloren!2809
2021-09-04 18:53:55 +00:00
Joshua Barretto
278451b6e6 Merge branch 'juliancoffee/pvp_command' into 'master'
Implement /battlemode command and more

See merge request veloren/veloren!2787
2021-09-04 18:37:01 +00:00
juliancoffee
69f18c8fe6 Better formatting 2021-09-04 20:56:55 +03:00
juliancoffee
134699e1db Adress review:
- explanation of what pvp/pve means in /battlemode help
- check for radius from town instead of town in chunks (because it count
  plant fields, which is kinda meh)
- better error displaying
2021-09-04 20:38:53 +03:00
Bryant Deters
23daa0e5c7 added a bipedsmall variant to loot fallback 2021-09-04 12:11:09 -05:00
Sam
d98bc92be1 Raiders raid less often, raid for less time, and sit at their home for longer. 2021-09-04 12:42:42 -04:00
Sam
bfcb27db5a Cultists now properly raid villages. 2021-09-04 12:25:04 -04:00
Sam
111cab4892 Attempt at getting raiders to wander around village once they get there. 2021-09-04 01:10:57 -04:00
Sam
13192b6024 Hacky raid mechanics for cultist raiders. 2021-09-04 00:34:30 -04:00
Sam
2fae9d9b56 Cultist enemies are now spawned by rtsim. 2021-09-04 00:05:48 -04:00
Sam
7983c75911 Allowed specifying that rtsim entities spawn at a particular site. 2021-09-03 23:34:24 -04:00
juliancoffee
182d3c4815 Workaround of bug with global Player component
* Set default value of battle_mode and last_battlemode_change explicitly
if isn't found in battlemode_buffer
2021-09-04 02:29:02 +03:00
juliancoffee
c87905305d Improve UX of /battlemode 2021-09-04 01:41:48 +03:00
juliancoffee
91539a3b67 Add in-memory persistence for battlemode changes 2021-09-04 01:41:48 +03:00
juliancoffee
df066f364a Cooldowns
- Add last_battlemode_change to Player component
- check on last_battlemode_change in handle_battlemode
- set last_battlemode_change after setting battlemode
- still are not persisted in any way
2021-09-04 01:41:48 +03:00
juliancoffee
b96de1adf7 Fix town detection 2021-09-03 17:28:34 +03:00
juliancoffee
6c1095884a Make it compile without feature(worldgen)
+ move settings check to toggling mode segment
2021-09-03 17:28:34 +03:00
juliancoffee
deacec94d7 Allow changing mode only with enabled settings
- send warning in force mode
2021-09-03 17:28:34 +03:00
juliancoffee
d43f34aea8 Allow changing battle_mode only in towns 2021-09-03 17:28:34 +03:00
juliancoffee
7be1c4d14a Deduplicate pvp-checks 2021-09-03 17:28:34 +03:00
juliancoffee
1cedaa4417 Implement /battlemode_force command
+ add placeholder for /battlemode command (currently can only show your
  battle mode)
2021-09-03 17:28:34 +03:00
juliancoffee
e5e3349fb6 Add PerPlayer server flag for BattleMode 2021-09-03 17:28:34 +03:00
juliancoffee
4709855465 Don't forget about pets in PvP checks 2021-09-03 17:28:34 +03:00
Marcel
a7e08abec6 Merge branch 'juliancoffee/skill_boost_rework' into 'master'
ECS & Diary info synchronization

See merge request veloren/veloren!2771
2021-09-02 16:04:23 +00:00
ubruntu
5072708123 NPCs can drop nothing 2021-09-01 23:17:36 +00:00
Knightress Paladin
ae0be40dd5 Make parrying refund the block stamina cost and cancel the recover animation 2021-08-31 23:46:33 -07:00
Sam
8bc237142a Chest sprite interact kind changed to only check that sprite is a container rather than matching on every 'chest-like' sprite. 2021-08-31 13:57:17 -04:00
Sam
c8459dbdcb Removed distance check from sprite colelction event handling as it is already checked when entering state. 2021-08-31 13:37:56 -04:00
Sam
ac6f00cbae Added attack hook event, attacks now cancel item use and sprite interaction. 2021-08-31 13:37:32 -04:00
Joshua Barretto
ab3c6989b4 Fixed first-person zoom, added fixation to allow more precise mouse movement when zoomed 2021-08-31 13:31:52 +01:00
Joshua Barretto
03f852542b Make arrows 'bonk' hanging sprites 2021-08-31 13:31:27 +01:00
Joshua Barretto
2e72d97b5e Multiple color gradient options 2021-08-29 13:57:36 +01:00
juliancoffee
f5dde393d3 Inline skills::Boost to voxygen code 2021-08-26 14:49:52 +03:00
juliancoffee
6839bffd29 Move to one SKILL_MODIFIERS constant 2021-08-26 14:49:52 +03:00
juliancoffee
76a7b61cd2 SkillTreeModifiers data structs 2021-08-26 14:49:52 +03:00
Joshua Barretto
f3224876c4 Fix warning agents not switching aggro on attack 2021-08-24 23:17:52 +01:00
ubruntu
38db119176 Split up iteration of rtsim entities each tick 2021-08-23 21:49:32 +00:00
Marcel
f11ad3113e Merge branch 'ubruntu/npcs-ignore-when-busy' into 'master'
Prevent NPCs from being chat spammed

Closes #1301

See merge request veloren/veloren!2780
2021-08-23 07:48:34 +00:00
Bryant Deters
4f2c1cf58f Check for existing target before initiating interaction 2021-08-21 22:28:26 -05:00
Ben Wallis
16b3aba412 Merge branch 'xvar/fix-add-admin-message' into 'master'
Fixed the message shown when adding an admin or moderator to show the correct role

See merge request veloren/veloren!2777
2021-08-21 15:40:27 +00:00
Ben Wallis
c1ca525ab0 Fixed the message shown when adding an admin or moderator to show the correct role 2021-08-21 15:43:33 +01:00
Samuel Keiffer
d924b48114 Merge branch 'ygor/combat-rating-all-stats' into 'master'
Use all armor stats to calculate combat rating

Closes #1285

See merge request veloren/veloren!2770
2021-08-20 21:16:05 +00:00
Marcel Märtens
de2ae0a184 simd must be last till we have a propper vek crate update 2021-08-20 12:44:46 +02:00
Ben Wallis
526269f62f Explosions no longer change block colours within the radius of a safe zone. Doubled the radius of the safe zone in the /home town. 2021-08-20 09:00:55 +01:00
Ygor Souza
9af9e58a85 Use all armor stats to calculate combat rating
- Added terms to account for poise (stun resistance), max energy bonus,
  energy reward bonus, and crit power.
- The weights were chosen to yield roughly the same CR for each of the 3
  types of armor in the same tier.
- Weapon rating multiplied by a constant to keep in the same order of
  magnitude as the other terms.
2021-08-16 19:59:54 +02:00
juliancoffee
b26228bec0 Remove giants 2021-08-16 18:15:01 +03:00
juliancoffee
dc69716cd0 Implement /make_npc 2021-08-16 17:27:59 +03:00
juliancoffee
0c2df96371 Refactor supplement evaluation to use NpcData 2021-08-16 17:27:59 +03:00
juliancoffee
d93c6e2470 Add MakeNPC admin command 2021-08-16 16:45:36 +03:00
Imbris
b05515e5bf Merge branch 'juliancoffee/explode_vines' into 'master'
Make Fireballs explode EnsnaringVines

See merge request veloren/veloren!2758
2021-08-14 19:09:05 +00:00