Compare commits
2 Commits
79ee9611c0
...
b017f0a500
Author | SHA1 | Date | |
---|---|---|---|
b017f0a500 | |||
c0ceabbc8b |
BIN
Skyrim.esm
BIN
Skyrim.esm
Binary file not shown.
BIN
scripts/_00E_ArcaneArrowEffect.pex
Normal file
BIN
scripts/_00E_ArcaneArrowEffect.pex
Normal file
Binary file not shown.
Binary file not shown.
@ -4795,4 +4795,5 @@ scripts\prkf__00e_fs_nq07_craftpotio_0300146e.pex
|
||||
scripts\prkf__00e_craftquestpotionpe_0300146d.pex
|
||||
scripts\pf_mq14_sc06_toriusstandstil_0003c597.pex
|
||||
scripts\_00E_UpdateSpeedmult.pex
|
||||
scripts\_00E_AutolearnEffectsAlias.pex
|
||||
scripts\_00E_AutolearnEffectsAlias.pex
|
||||
scripts\_00E_ArcaneArrowEffect.pex
|
9
source/scripts/_00E_ArcaneArrowEffect.psc
Normal file
9
source/scripts/_00E_ArcaneArrowEffect.psc
Normal file
@ -0,0 +1,9 @@
|
||||
Scriptname _00E_ArcaneArrowEffect extends activemagiceffect
|
||||
|
||||
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
||||
|
||||
if akTarget
|
||||
akTarget.DamageActorValue("Health", (Game.GetForm(0x14) as Actor).GetActorValue("Marksman"))
|
||||
endif
|
||||
|
||||
EndEvent
|
@ -50,8 +50,13 @@ Event OnPlayerBowShot(Weapon akWeapon, Ammo akAmmo, float afPower, bool abSunGaz
|
||||
|
||||
if PlayerREF.HasSpell(_00E_Affinity_AbArcaneArcher)
|
||||
Utility.Wait(0.03)
|
||||
ObjectReference akTarget
|
||||
if SKSE.GetVersion()
|
||||
; Slightly improves precision
|
||||
akTarget = Game.GetCurrentCrosshairRef()
|
||||
endif
|
||||
_00E_AltIshmartepElectroShotSound.Play(PlayerREF)
|
||||
_00E_Affinity_AbSpectralArrowSP.Cast(PlayerREF)
|
||||
_00E_Affinity_AbSpectralArrowSP.Cast(PlayerREF, akTarget)
|
||||
EndIf
|
||||
|
||||
EndEvent
|
||||
|
Loading…
Reference in New Issue
Block a user