Commit Graph

217 Commits

Author SHA1 Message Date
horblegorble
9e837383a5 read atack data with direct assignment & no mutables; removed default from 'AbilityData'; added 'fn rng_from_span' to avoid repitition typos; indices moved from enums to consts; fixed const typo in 'handle_simple_backstab' 2024-07-07 11:59:12 +10:00
horblegorble
bdf1134814 added range and angle calculations for projectile attacks; minor tweak to woodgolem shockwave; use of unwrap_or_default & other clippy things 2024-07-06 01:30:00 +10:00
horblegorble
93b336cd20 read & use attack data from AbilityData: added default usage to AbilityData, expanded AbilityData::BasicRanged; tweaked chieftain flamestrike; removed existing buff check for cheiftain totem & increased cooldown; more comments in attack functions 2024-07-02 23:00:11 +10:00
horblegorble
674a9e1d6c removed unused experimental function 2024-06-30 16:46:22 +10:00
horblegorble
57073c3378 cargo fmt 2024-06-28 15:25:18 +10:00
horblegorble
21a51161bd changed rng.gen_range(1..=2) to rng.gen_bool(0.5) 2024-06-28 15:25:18 +10:00
horblegorble
14c5ea562e removed TODO comment 2024-06-28 15:25:18 +10:00
horblegorble
75cf72dd4d clippy, fmt; renaming some enums 2024-06-28 15:25:18 +10:00
horblegorble
74dcd6b41a slight slow down of firebarrage; made factor constants consistent 2024-06-28 15:25:18 +10:00
horblegorble
e9f2d97045 timing and small balance changes to chieftain 2024-06-28 15:25:18 +10:00
horblegorble
f47c509c04 swapped RandomInit to combat_state.initialized 2024-06-28 15:25:18 +10:00
horblegorble
dc155ccc1c small clean up of harvester logic 2024-06-28 15:25:18 +10:00
horblegorble
65c34d71f8 small shuffle of harvester timers; initial refactoring of chieftain (incomplete) 2024-06-28 15:25:18 +10:00
horblegorble
2509eb8d3d randomised harvester's far pumpkin throw; armor and weapon drops of same tier 2024-06-28 15:25:18 +10:00
horblegorble
60f4be1116 randomised mixup cooldowns for harvester; small adjustment to firebreath ori 2024-06-28 15:25:18 +10:00
horblegorble
a838dcf545 refinements to woodgolem; ori & small updates to harvester; some formatting 2024-06-28 15:25:18 +10:00
horblegorble
9187c37ab1 woodgolem broad update; minor fix for harvester mixup attack 2024-06-28 15:25:17 +10:00
horblegorble
557f2ae53f cargo fmt 2024-06-28 15:25:17 +10:00
horblegorble
d8ea2c2689 clippy code-quality conformance 2024-06-28 15:25:17 +10:00
horblegorble
493b4b8fd3 renamed vine summon abilities; brief comments for body_dist and it usage for harvester 2024-06-28 15:25:17 +10:00
horblegorble
789379f44e remove readability macros from harvester attack ai 2024-06-28 15:24:52 +10:00
horblegorble
3e23205640 mandragora changes; mask & glider adjustments; modified in-fort spawning; chieftain & harvester loot table adjustments; misc. tweaks 2024-06-28 15:24:52 +10:00
horblegorble
4300dd11f4 minor range tweaks; body_dist and macro refactorings of harvester attack code 2024-06-28 15:24:52 +10:00
horblegorble
67c79a5759 broad updates to gnarling forts 2024-06-28 15:22:32 +10:00
flo
8863ea53c4 worldboss_aggro_fix 2024-06-03 06:52:13 +00:00
Sylv
44a56be25b Fix Gnarling Speed 2024-05-30 10:41:55 +00:00
Marcel
82939a9971 Merge branch 'sam/projectile-rework' into 'master'
Rewrote projectile constructor

See merge request veloren/veloren!4457
2024-05-29 08:13:49 +00:00
Samuel Keiffer
eeb68797e7 Merge branch 'new_sahagin' into 'master'
new_sahagin

See merge request veloren/veloren!4467
2024-05-29 00:01:46 +00:00
flo
ee608d3c25 new_sahagin 2024-05-29 00:01:46 +00:00
Sam
7a7e6391b4 Rewrote projectile constructor 2024-05-28 19:54:36 -04:00
flo
5c575484f2 dagon_anticheese 2024-05-28 19:13:49 +00:00
Youser Nayme
6c79e5dd9a Rebalance cultist dungeon loot tables and distribution, and improve Mindflayer anticheese 2024-05-23 06:07:20 +00:00
Marcel Märtens
5f41aefacb update toolchain to 2024-05-14 2024-05-18 00:58:54 +02:00
Marcel Märtens
b770665fb9 new toolchain lints helped us to find issues, backporting the bugfixes here.
NOTE: we havent had world enabled in server/agent, this MR now enables this, might have some (hopefully positive) effects on our agent code
2024-05-16 10:40:15 +02:00
James Melkonian
dc50f67103 Reorder rocksnapper abilities 2024-05-14 18:23:38 -07:00
James Melkonian
505788abdf Change rocksnapper action counters to timers 2024-05-14 18:22:20 -07:00
James Melkonian
25ad114072 Rocksnapper AI and animation tweaks 2024-05-14 18:22:20 -07:00
flo
76628057b5 new_cultist 2024-05-12 18:33:11 +00:00
Sam
b6fbcbb204 Fixed bugs with negative DR buffs bypassing admin tabard, auras only being cleared if entity had entered_auras component, and shockwaves with 0 combo cost resetting combo. Other balance feedback. 2024-04-28 19:43:50 -04:00
Sam
aeb887963e Hammer AI 2024-04-28 19:43:50 -04:00
Sam
b8de5e414b Helm Crusher 2024-04-28 19:40:12 -04:00
Sam
fcfff367c9 Cleanup stuff from old hammer 2024-04-28 19:36:14 -04:00
Sam
09b25d4f74 Initial setup 2024-04-28 19:35:12 -04:00
flo
961f49e2af mine-implementation 2024-04-28 19:31:18 +00:00
Dmitry Kashitsyn
ae652eef85
Improve long distance path-finding if target chunk is unloaded 2024-04-08 21:14:48 +05:00
Kira Lu
5e88b67e0b newclarityex/petting animals 2024-04-07 15:05:18 +00:00
Dmitry Kashitsyn
4664f1455f
Reformat the source 2024-04-02 23:32:39 +05:00
Dmitry Kashitsyn
45916d1794
Fix accidental jump cancellation during dispatch of NpcActivity::Goto
`AgentData::jump_if` cancels `InputKind::Jump` if condition
is not met. Even if the jump itself was issued elsewhere.
This prevented merchants and travelers from reaching target site
if somewhere along the path jump is required.

This is exactly what happens during dispatch of `NpcActivity::Goto`.
Original implementation contained `traverse` followed by `jump_if`
for flying NPCs which cancelled pending `InputKind::Jump` issued
by `traverse`.

This fix extends jump condition inside traverse by
including `traversal_config.can_fly`.
2024-04-02 22:16:12 +05:00
flo
327c195374 cursekeeper_tweaks 2024-03-03 17:50:46 +00:00
juliancoffee
60d47326bd Implement reliable gliding AI
- Wield glider when falling, but do nothing else
- Safe auto glide when in gliding state
- Agent unwield glider if on ground
2024-03-01 21:59:08 +02:00