Marcel Märtens
0ab7a2543e
fix clippy errors
2022-11-28 14:08:11 +01:00
Sam
4784b61656
Small fixes
2022-11-13 14:03:37 -05:00
Sam
0fe073fcdc
Addressed feedback from testing
2022-10-27 20:07:10 -04:00
Sam
df9ef691fd
Cleaving stance AI
2022-10-27 20:07:03 -04:00
Sam
a8212d6f41
Dive melee now scales its attack off of the entity's vertical speed.
...
Parries now cause the attacker to effectively have a recover that is either twice as long or 0.5s longer, whichever is more.
Counters now deal twice as much damage to the target if the target is in the buildup portion of an ability.
2022-10-27 20:06:55 -04:00
Sam
500e0ae3d0
Heavy abilities
2022-10-27 20:06:34 -04:00
Sam
8a578bf3f6
Parrying abilities
2022-10-27 20:06:34 -04:00
Sam
ec03bd7032
Cleaving abilities
2022-10-27 20:06:33 -04:00
Joshua Yanovski
986d104faa
Update Rust toolchain.
2022-09-08 15:43:53 -07:00
Samuel Keiffer
abf0a27323
Merge branch 'sam/remove-cr-ui' into 'master'
...
Removed weapon CR from UI.
See merge request veloren/veloren!3497
2022-07-30 16:22:29 +00:00
Sam
29dd9eac9b
Remvoed CR from UI. Changed all stats in tools and armor to be same size. Cleaned up item stats UI code.
2022-07-28 19:19:20 -04:00
Sam
28a4ce9be1
Various tweaks
2022-07-26 19:44:49 -04:00
tygyh
120ee6b6c0
Fix typos
2022-07-15 18:59:37 +02:00
Socksonme
e3b1d02fce
Group up extra damage from crushing attacks whenever they're crits
2022-07-06 22:59:58 +03:00
Socksonme
6a355c58f2
Remove instance from PoiseChange
2022-06-29 18:36:05 +03:00
socksonme
eabbfe6a51
Remove damage batch option + crit_mult
2022-06-29 17:31:54 +03:00
socksonme
5360a7c93e
Tons of code quality changes, added damage rounding option
2022-06-29 17:31:37 +03:00
socksonme
202d558246
Instance number generated inside projectile constructor, remove crit field
2022-06-29 17:31:07 +03:00
socksonme
6c75ad6ef8
Code quality changes and comments
2022-06-29 17:30:54 +03:00
socksonme
c0e78d869e
Instance numbers are now based on the AttackDamage struct
2022-06-29 17:30:53 +03:00
socksonme
ac5bf53c42
Instance numbers for HpChanges
2022-06-29 17:30:50 +03:00
socksonme
7a1e19d42c
Crits now only glob with eachother, now show up like healing
...
Still a WIP, need to change crits to being non-floating and try implementing crits popping, need to remove some debugging stuff later
2022-06-29 17:30:29 +03:00
socksonme
ce95680df9
Addressed comments, health and damage floaters are now separated
...
Enemy healing probably needs to be discussed as it doesn't show up as of now and the way crits are handled also needs to be discussed
2022-06-29 17:29:59 +03:00
socksonme
94f193fbe0
Damage outcomes are now emitted with health change events
...
Being healed and damaged at the same time still leads to issues - needs to be sorted out
2022-06-29 17:29:19 +03:00
socksonme
634a3095d6
Handling crits (very bad color choice+naming)
2022-06-29 17:24:05 +03:00
socksonme
93d3ce18b4
Remove dbgs and temporary? 0.0 damage fix
2022-06-29 17:24:05 +03:00
socksonme
aee7888a92
HpFloaters are now created by Outcomes, touched up Damage Outcome
2022-06-29 17:24:05 +03:00
socksonme
bf6c6fb33d
Changed Damage Outcome to store more data
2022-06-29 17:24:05 +03:00
Sam
4a5ef6dce3
Poise damage dealt to a target in a stunned state is now no longer universally applied to the target as health damage.
...
Instead poise damage is only converted to health damage when its source is mitigated crushing damage.
Fixed 'Long Pole' -> 'Longpole'
2022-06-17 21:13:45 -04:00
Sam
5e57eabd11
Code changes and msm
2022-05-30 20:25:31 -04:00
Sam
bcf36d08b0
Add removed items to migration.
2022-05-16 15:11:43 -04:00
Sam
95c3fdffa1
Addressed playtest feedback (no assets).
2022-05-16 15:11:39 -04:00
Sam
08b7bb781f
Changed Item to have ItemBase instead of ItemDef. NO ASSETS.
2022-05-16 15:11:10 -04:00
holychowders
fc2095803d
Use inline conditional to simplify assignment.
2022-05-09 22:23:08 -05:00
holychowders
4c76e9314d
Use sum
instead of fold
.
2022-05-06 19:27:30 -05:00
holychowders
1ebbf335e1
Simplify stealth logic. Remove max item stealth upper limit and restore close to original curve.
2022-05-06 19:25:03 -05:00
holychowders
e473c47bcf
Distinguish stealth from armor and stealth from sneaking. Also fixes #1525 .
...
- Armor and sneaking have exclusive effects on overall stealth, rather
than armor taking effect only while sneaking.
Gameplay:
- Agents factor in stealth from armor in all cases, not only when sneaking.
- Max stealth takes place when sneaking (final multiplier of `0.7`) and with stealth from armor up to `0.7` (`0.3` multiplier), resulting in a max distance modifier of about `0.5`, approximately what it was previously.
- Min stealth score from armor is now 0 instead of 2.
Internals:
- Stealth getter accounts for sneaking in final calculation, not just
armor.
- Prevents potential division by zero.
- Stealth getter returns value that should be multiplied instead of divided.
- Legitimized stealth as a score between 0 and 1.
Notes:
- FIXME: Someone more familiar with the different armor types may want to adjust their stealths.
- Armor stealths seem to be valued between `0.0` and `1.0`, and I've reinforced this in the code. However, it is possible, particularly for the `Dragonscale` armors, to cumulatively reach a value of `2.0`.
2022-05-06 13:15:46 -05:00
Sam
1456efefd1
Nerf
2022-02-22 18:17:23 -05:00
Avi Weinstock
5f8957d8ef
Globally allow the clippy lints {new_without_default, many_single_char_names, identity_op, type_complexity, too_many_arguments}
.
2022-01-30 20:16:20 +01:00
juliancoffee
14cf272c8e
Change equip_time CR weapon calculation
2022-01-18 16:44:23 +02:00
roidujeu
7da9f7dd47
changed the range of CRs
2022-01-18 12:27:13 +05:30
roidujeu
85965b7161
let fmt/clippy do it's thing
2022-01-18 11:19:30 +05:30
roidujeu
a6a825a97f
gave speed more weight, reduced equip_time_weight, etc
2022-01-18 10:48:53 +05:30
roidujeu
f77baeac4b
normalised crit_chance, zeroed out some stats(for now)
2022-01-18 10:48:53 +05:30
roidujeu
d6ca1bfd93
reverted accidental change
2022-01-18 10:48:53 +05:30
roidujeu
3f43610cfd
made stats separate and gave them different weights
2022-01-18 10:48:53 +05:30
roidujeu
13b0ad8c0e
included other stats, gave constant definition for some constants
...
reduced weight for poise
refuced weight for equipment time
2022-01-18 10:48:53 +05:30
roidujeu
dcc6b75c1c
fixed equip_time reverse logic, dimished effect_power's effect on CR
2022-01-18 10:48:53 +05:30
roidujeu
773bf9d9fd
changed the combat rating equation to a simpler one, which results in a more accurate weapon ranting.
2022-01-18 10:48:52 +05:30
Sam
ed38272d23
Diary stats now use real values.
2022-01-15 21:46:55 -05:00