From e60beb54aa8db42b2f779e138e68bdd6fbe249dd Mon Sep 17 00:00:00 2001 From: Eddoursul Date: Thu, 17 Oct 2024 21:30:23 +0200 Subject: [PATCH] 'Increase Arcane Fever' no longer occupies a slot in ingredient effects, applied automatically with Restore Health --- Enderal SE v2.1.4 Changelog.txt | 2 ++ Remove Arcane Fever slot.esp | Bin 0 -> 4846 bytes scripts/_00E_AlchArcaneFever.pex | Bin 0 -> 1392 bytes scripts/scriptarchiveorder.txt | 3 ++- source/scripts/_00E_AlchArcaneFever.psc | 28 ++++++++++++++++++++++++ 5 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 Remove Arcane Fever slot.esp create mode 100644 scripts/_00E_AlchArcaneFever.pex create mode 100644 source/scripts/_00E_AlchArcaneFever.psc diff --git a/Enderal SE v2.1.4 Changelog.txt b/Enderal SE v2.1.4 Changelog.txt index 96ce9a0f..40ac6c2d 100644 --- a/Enderal SE v2.1.4 Changelog.txt +++ b/Enderal SE v2.1.4 Changelog.txt @@ -9,6 +9,7 @@ Beware, spoilers ahead! 2.1.4 (TBD) - Chinese Simplified localization revision by DaisyComment (no translation of lines added after 2.0.12.4 yet). - Dimension Rift might get stuck in an infinite effect+sound loop if player left the cell while it's active. +- Fixed missing damage from spectral arrows, produced by the Arcane Arrow affinity. - Effects of unique ingredients are visible automatically. - Revised alchemy. Consistency and distribution changes across almost all ingredients due to lack of a coherent alchemy system prior to this patch, such as: @@ -17,6 +18,7 @@ Beware, spoilers ahead! -- Merged redundant 'Damage Mana' and 'Mana damaged' groups and 'Damage Mana temporary' into a single 'Damage Mana' group, applying damage over time. -- Significantly increased effect from 'Damage Mana' and 'Damage Stamina' to finally make them useful. -- Fixed ingredients having duplicated or contradicting effects (for example, Damage and Restore Health). +-- 'Increase Arcane Fever' no longer takes a whole slot in ingredient effects (it is still applied automatically with Restore Health). -- Fixed the 'Slow' effect almost never working due to an engine bug. OverDev: diff --git a/Remove Arcane Fever slot.esp b/Remove Arcane Fever slot.esp new file mode 100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jq_s83$tW1U<_bIgw<+1bumrBrRcl=z1DM>>|O0iw= z8=a{L{W7%3YHW_g&7qNtZ|spVa!NSw^7#uj`u~|NT0iT6HHZ0E25A4P4(hu$jnx$W zQKq=STKRS+t)CLtMHyDe53@Ao()h-;tq}x8)4Ug25gz=GGl#JaXOshDqg%7*Aq~N~Wfw!-A?61UcCoZed%ip^C~K3?&nEw0ca_SQWOW{P0?G$1GTSB8{aK zoRX!z{QY{jm;u{);#A^*r#<Qt4os z$x5Y(lZ+^p9!@cPskB+h&rrc>oGCc-Rjde{W%CNo6-I&c93gOlP1Vx^7X?;XbBFJ8 zEc@B&AF;yYP`3-1eT|d3#9s~Txa?T2;41pKh7C?;X;ENZU`?RecGCJO{^jJ=6)d}g zGy8RRmu4Z*nTL2>%ngCI_wdH&RnCPOHVRCqa4__SgSvDp72ISy8*e$|hNEX=5uH0W g1$qKka!0G+naL%*;1B%%qVgLXD literal 0 HcmV?d00001 diff --git a/scripts/scriptarchiveorder.txt b/scripts/scriptarchiveorder.txt index f754cfad..84a77c29 100644 --- a/scripts/scriptarchiveorder.txt +++ b/scripts/scriptarchiveorder.txt @@ -4796,4 +4796,5 @@ scripts\prkf__00e_craftquestpotionpe_0300146d.pex scripts\pf_mq14_sc06_toriusstandstil_0003c597.pex scripts\_00E_UpdateSpeedmult.pex scripts\_00E_AutolearnEffectsAlias.pex -scripts\_00E_ArcaneArrowEffect.pex \ No newline at end of file +scripts\_00E_ArcaneArrowEffect.pex +scripts\_00E_AlchArcaneFever.pex \ No newline at end of file diff --git a/source/scripts/_00E_AlchArcaneFever.psc b/source/scripts/_00E_AlchArcaneFever.psc new file mode 100644 index 00000000..642ab183 --- /dev/null +++ b/source/scripts/_00E_AlchArcaneFever.psc @@ -0,0 +1,28 @@ +Scriptname _00E_AlchArcaneFever extends activemagiceffect + +Event OnEffectStart(Actor akTarget, Actor akCaster) + + if akTarget != PlayerRef + return + endif + + If PlayerRef.HasPerk(_00E_Class_Thaumaturge_P07_MentalExpert) + fMagnitude = fMagnitude*0.67 + EndIf + + PlayerRef.ModActorValue("lastFlattered", - fMagnitude) + + _00E_Player_sArcaneFeverIncreased.Show(fMagnitude, - PlayerRef.GetActorValue("LastFlattered")) + _00E_FS_IncreaseArcaneFeverM.Play(PlayerREF) + +EndEvent + +float Property fMagnitude = 2.0 Auto + +Actor Property PlayerRef Auto + +Sound Property _00E_FS_IncreaseArcaneFeverM Auto + +Message Property _00E_Player_sArcaneFeverIncreased Auto + +Perk Property _00E_Class_Thaumaturge_P07_MentalExpert Auto