1817 Commits

Author SHA1 Message Date
Marcel
a7e08abec6 Merge branch 'juliancoffee/skill_boost_rework' into 'master'
ECS & Diary info synchronization

See merge request 
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 

See merge request 
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 
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 

See merge request 
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 
2021-08-14 19:09:05 +00:00
Joshua Barretto
6ad4791b11 Improved aggro system to reduce hyper-focused enemies 2021-08-14 11:09:33 +01:00
Joshua Barretto
432bfa91d9 Added feature flag for terrain persistence 2021-08-12 10:48:00 +01:00
Joshua Barretto
da58c3d143 Added experimental terrain persistence 2021-08-12 10:26:20 +01:00
juliancoffee
42debc32d3 Make Fireballs explode EnsnaringVines 2021-08-12 01:25:55 +03:00
juliancoffee
a93c6931d4 Implement /kit all and a bit of refactoring
+ notifying about sucessful kit application
+ notifying about case with insufficient space
+ handle case where you don't have enough free slots
+ handle quantity of non-stackable items
+ add test for items in kit manifest
2021-08-10 13:28:38 +03:00
Ben Wallis
e3ce3f0f97 Fixed issue caused by Uid component being removed too soon on logout 2021-08-08 14:59:11 +01:00
juliancoffee
174f0ba20d Add FIXME about Staff flamethrower 2021-08-08 00:41:39 +03:00
juliancoffee
0ccfb8e004 Expose beam_offsets to AI 2021-08-08 00:33:43 +03:00
juliancoffee
eb9285d000 Agent code TODO-s 2021-08-05 21:07:45 +03:00
Joshua Barretto
492a37d23a Added action timer system for agent code 2021-08-04 14:04:56 +01:00
Joshua Barretto
715e053356 Fix pets without agency 2021-08-04 00:22:03 +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
166e23cb8e continue -> filter_map to handle new players 2021-08-03 16:43:56 +03:00
juliancoffee
98e36ab641 Prettify server/sys/msg/register.rs 2021-08-03 16:43:56 +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
9d5ac63239 Use emitter.emit() in server/sys/msg/register 2021-08-03 16:43:55 +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
Knightress Paladin
f4bea28092 Fix up comments relating to AI logic 2021-08-02 22:38:16 -07:00
Knightress Paladin
d12df2a88b Restyle logic in Staff AI 2021-08-02 16:22:40 -07:00
Knightress Paladin
de55aef71d Used adjusted_by_skills to correctly calculate ability values 2021-08-02 16:22:40 -07:00
Knightress Paladin
6913c54ab1 Allowed staff AI to queue shockwave if occupied by animation 2021-08-02 16:22:40 -07:00
Knightress Paladin
8d88457434 Restructured logic for staff AI 2021-08-02 16:22:40 -07:00