1.0 compatibility
This commit is contained in:
parent
5104f86ede
commit
6193b3ee2d
33 changed files with 712 additions and 49 deletions
|
|
@ -282,7 +282,9 @@ namespace RacesOfValheim
|
|||
HitData hitData = new HitData();
|
||||
hitData.m_damage = staffDrop.m_itemData.m_shared.m_damages;
|
||||
hitData.SetAttacker(Player.m_localPlayer);
|
||||
|
||||
// The Drake breath is a fixed three-shard volley, so one third each.
|
||||
SkadiMagicSkill.TagCast(hitData, 3);
|
||||
|
||||
proj.Setup(Player.m_localPlayer, targetDir * vel, -1f, hitData, staffDrop.m_itemData, null);
|
||||
}
|
||||
|
||||
|
|
@ -376,6 +378,7 @@ namespace RacesOfValheim
|
|||
HitData hitData = new HitData();
|
||||
hitData.m_damage = staffDrop.m_itemData.m_shared.m_damages;
|
||||
hitData.SetAttacker(Player.m_localPlayer);
|
||||
SkadiMagicSkill.TagCast(hitData, projCount);
|
||||
proj.Setup(Player.m_localPlayer, targetDir * vel, -1f, hitData, staffDrop.m_itemData, null);
|
||||
}
|
||||
|
||||
|
|
@ -484,6 +487,7 @@ namespace RacesOfValheim
|
|||
hitData.m_damage.m_frost += hitData.m_damage.m_fire;
|
||||
hitData.m_damage.m_fire = 0f;
|
||||
hitData.SetAttacker(Player.m_localPlayer);
|
||||
SkadiMagicSkill.TagCast(hitData, projCount);
|
||||
|
||||
if (proj != null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue