Rework Skadi combat costs, fix dead melee, add cooldown icons
Dragon melee never dealt damage at all: the damage block sat behind !isMelee, so bite, claw and spin played an animation, charged eitr and did nothing. Melee now sweeps for targets the way Fenrir's claws do, and costs nothing - it is the baseline attack that has to work at every tier. Everything Skadi casts now runs on stamina rather than eitr. Eitr food only exists from the Mistlands on, while the Cold Spell unlocks at Eikthyr and the drake at the Elder, so the old costs were either unpayable or, in the drake's case, silently ignored because UseEitr never checked affordability. Ranged volleys are charged per projectile so the sixty shard breath no longer costs the same as a three shard spit, capped so the widest one stays castable. The Cold Spell also stopped borrowing the Staff of Frost's damage, which handed out Mistlands numbers from Eikthyr and multiplied them by every shard. It now scales with progression, and the improved cast spreads one budget across its shards: wider, not stronger. The kick that played over every cast was Valheim's own SecondaryAttack, bound to the same Middle Mouse button - suppressed for a Skadi holding the spell. Moder now keeps its ranged attack on Middle Mouse in the air as on the ground, with no left hand attack aloft, and Fader's airborne branch is gone since its form cannot fly. Ability cooldowns finally show on the HUD, each with its own icon and a live countdown.
This commit is contained in:
parent
a8a14f0416
commit
fc7fd54404
4 changed files with 251 additions and 56 deletions
|
|
@ -10,6 +10,13 @@ namespace RacesOfValheim
|
|||
{
|
||||
}
|
||||
|
||||
// Short ability cooldowns, shown purely so the HUD can count them down. Silent by design,
|
||||
// unlike SE_FormCooldown which announces "... is Ready!" when it stops: tolerable once every
|
||||
// few minutes for a dragon form, unbearable every three seconds for an attack.
|
||||
public class SE_SkadiAbilityCooldown : StatusEffect
|
||||
{
|
||||
}
|
||||
|
||||
public class SE_SkadiStats : SE_Stats
|
||||
{
|
||||
public override void Setup(Character character)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue