diff --git a/scripts/_00e_38e_uniyogoshsc.pex b/scripts/_00e_38e_uniyogoshsc.pex index 5b6a678d..1cb2479f 100644 Binary files a/scripts/_00e_38e_uniyogoshsc.pex and b/scripts/_00e_38e_uniyogoshsc.pex differ diff --git a/scripts/_00e_a1_devoursoulsc.pex b/scripts/_00e_a1_devoursoulsc.pex index a643aba2..19298048 100644 Binary files a/scripts/_00e_a1_devoursoulsc.pex and b/scripts/_00e_a1_devoursoulsc.pex differ diff --git a/scripts/_00e_a2_eldritchbloodsc.pex b/scripts/_00e_a2_eldritchbloodsc.pex index bcdfc904..cea6197b 100644 Binary files a/scripts/_00e_a2_eldritchbloodsc.pex and b/scripts/_00e_a2_eldritchbloodsc.pex differ diff --git a/scripts/_00e_a2_eyeofthestormfailsavesc.pex b/scripts/_00e_a2_eyeofthestormfailsavesc.pex index 3a04838b..ba661dee 100644 Binary files a/scripts/_00e_a2_eyeofthestormfailsavesc.pex and b/scripts/_00e_a2_eyeofthestormfailsavesc.pex differ diff --git a/scripts/_00e_a2_ghostwalksc.pex b/scripts/_00e_a2_ghostwalksc.pex index 46258fef..47006165 100644 Binary files a/scripts/_00e_a2_ghostwalksc.pex and b/scripts/_00e_a2_ghostwalksc.pex differ diff --git a/scripts/_00e_a2_riftsc.pex b/scripts/_00e_a2_riftsc.pex index 4990e704..eca46511 100644 Binary files a/scripts/_00e_a2_riftsc.pex and b/scripts/_00e_a2_riftsc.pex differ diff --git a/scripts/_00e_a2_skyfallnovaenchsc.pex b/scripts/_00e_a2_skyfallnovaenchsc.pex index 0acd6f9e..014c79f8 100644 Binary files a/scripts/_00e_a2_skyfallnovaenchsc.pex and b/scripts/_00e_a2_skyfallnovaenchsc.pex differ diff --git a/scripts/_00e_a2_sporecrowngas_encdamagescript.pex b/scripts/_00e_a2_sporecrowngas_encdamagescript.pex index a4a4355e..a1d35e02 100644 Binary files a/scripts/_00e_a2_sporecrowngas_encdamagescript.pex and b/scripts/_00e_a2_sporecrowngas_encdamagescript.pex differ diff --git a/scripts/_00e_a2_welloflifescript.pex b/scripts/_00e_a2_welloflifescript.pex index 7dbad78d..25e075c6 100644 Binary files a/scripts/_00e_a2_welloflifescript.pex and b/scripts/_00e_a2_welloflifescript.pex differ diff --git a/scripts/_00e_actorsuddenappearscript.pex b/scripts/_00e_actorsuddenappearscript.pex index e9b8dac2..8708d943 100644 Binary files a/scripts/_00e_actorsuddenappearscript.pex and b/scripts/_00e_actorsuddenappearscript.pex differ diff --git a/scripts/_00e_ambrosiaeffect.pex b/scripts/_00e_ambrosiaeffect.pex index cadc08d2..11cb71d9 100644 Binary files a/scripts/_00e_ambrosiaeffect.pex and b/scripts/_00e_ambrosiaeffect.pex differ diff --git a/scripts/_00e_apparitionqyraistancescript.pex b/scripts/_00e_apparitionqyraistancescript.pex index dcf78879..8e810376 100644 Binary files a/scripts/_00e_apparitionqyraistancescript.pex and b/scripts/_00e_apparitionqyraistancescript.pex differ diff --git a/scripts/_00e_apparitionskaraggstancescript.pex b/scripts/_00e_apparitionskaraggstancescript.pex index 13c7762e..769b8a28 100644 Binary files a/scripts/_00e_apparitionskaraggstancescript.pex and b/scripts/_00e_apparitionskaraggstancescript.pex differ diff --git a/scripts/_00e_apparitionspectralistscript.pex b/scripts/_00e_apparitionspectralistscript.pex index 51f037a4..8f08c659 100644 Binary files a/scripts/_00e_apparitionspectralistscript.pex and b/scripts/_00e_apparitionspectralistscript.pex differ diff --git a/scripts/_00e_arkanistenfieberblitzheilungscn.pex b/scripts/_00e_arkanistenfieberblitzheilungscn.pex index 9b61a9f0..f6cd37da 100644 Binary files a/scripts/_00e_arkanistenfieberblitzheilungscn.pex and b/scripts/_00e_arkanistenfieberblitzheilungscn.pex differ diff --git a/scripts/_00e_arkanistenfiebereffect.pex b/scripts/_00e_arkanistenfiebereffect.pex index 1f99c419..a6ef52a9 100644 Binary files a/scripts/_00e_arkanistenfiebereffect.pex and b/scripts/_00e_arkanistenfiebereffect.pex differ diff --git a/scripts/_00e_arkanistenfiebertriggerbox.pex b/scripts/_00e_arkanistenfiebertriggerbox.pex index b3e27068..900ffd3d 100644 Binary files a/scripts/_00e_arkanistenfiebertriggerbox.pex and b/scripts/_00e_arkanistenfiebertriggerbox.pex differ diff --git a/scripts/_00e_arkanistenfieberwohltatscn.pex b/scripts/_00e_arkanistenfieberwohltatscn.pex index 18348064..9d538aca 100644 Binary files a/scripts/_00e_arkanistenfieberwohltatscn.pex and b/scripts/_00e_arkanistenfieberwohltatscn.pex differ diff --git a/scripts/_00e_chestanddoorlockscript.pex b/scripts/_00e_chestanddoorlockscript.pex index 607379a3..57af2c38 100644 Binary files a/scripts/_00e_chestanddoorlockscript.pex and b/scripts/_00e_chestanddoorlockscript.pex differ diff --git a/scripts/_00e_class_perkscript.pex b/scripts/_00e_class_perkscript.pex index 347d0c56..97afed58 100644 Binary files a/scripts/_00e_class_perkscript.pex and b/scripts/_00e_class_perkscript.pex differ diff --git a/scripts/_00e_crimequest_functions.pex b/scripts/_00e_crimequest_functions.pex index 1c340125..8cdcd789 100644 Binary files a/scripts/_00e_crimequest_functions.pex and b/scripts/_00e_crimequest_functions.pex differ diff --git a/scripts/_00e_epupdatefunctions.pex b/scripts/_00e_epupdatefunctions.pex index 0c1b979c..e941b6d1 100644 Binary files a/scripts/_00e_epupdatefunctions.pex and b/scripts/_00e_epupdatefunctions.pex differ diff --git a/scripts/_00e_erinnerungslehrbuch.pex b/scripts/_00e_erinnerungslehrbuch.pex index 364cbb8f..6857242a 100644 Binary files a/scripts/_00e_erinnerungslehrbuch.pex and b/scripts/_00e_erinnerungslehrbuch.pex differ diff --git a/scripts/_00e_fs_accerleratesc.pex b/scripts/_00e_fs_accerleratesc.pex index 65b3334b..90956197 100644 Binary files a/scripts/_00e_fs_accerleratesc.pex and b/scripts/_00e_fs_accerleratesc.pex differ diff --git a/scripts/_00e_fs_affinity_ghostblade_onattack.pex b/scripts/_00e_fs_affinity_ghostblade_onattack.pex index ec8cf9f2..5605a350 100644 Binary files a/scripts/_00e_fs_affinity_ghostblade_onattack.pex and b/scripts/_00e_fs_affinity_ghostblade_onattack.pex differ diff --git a/scripts/_00e_fs_alchaddarcanefever.pex b/scripts/_00e_fs_alchaddarcanefever.pex index 0856172e..1761ccbb 100644 Binary files a/scripts/_00e_fs_alchaddarcanefever.pex and b/scripts/_00e_fs_alchaddarcanefever.pex differ diff --git a/scripts/_00e_fs_dreameatersc.pex b/scripts/_00e_fs_dreameatersc.pex index f282ba21..7eb829fe 100644 Binary files a/scripts/_00e_fs_dreameatersc.pex and b/scripts/_00e_fs_dreameatersc.pex differ diff --git a/scripts/_00e_fs_entropy_corpseexplosionsc.pex b/scripts/_00e_fs_entropy_corpseexplosionsc.pex index 418e8efa..77c590a0 100644 Binary files a/scripts/_00e_fs_entropy_corpseexplosionsc.pex and b/scripts/_00e_fs_entropy_corpseexplosionsc.pex differ diff --git a/scripts/_00e_fs_environmentscene03_sc.pex b/scripts/_00e_fs_environmentscene03_sc.pex index 7a693eea..58e793ba 100644 Binary files a/scripts/_00e_fs_environmentscene03_sc.pex and b/scripts/_00e_fs_environmentscene03_sc.pex differ diff --git a/scripts/_00e_fs_essencegiftbonussc.pex b/scripts/_00e_fs_essencegiftbonussc.pex index f429ffd9..ce8cbf0d 100644 Binary files a/scripts/_00e_fs_essencegiftbonussc.pex and b/scripts/_00e_fs_essencegiftbonussc.pex differ diff --git a/scripts/_00e_fs_essencegiftsc.pex b/scripts/_00e_fs_essencegiftsc.pex index 40c96717..3700ad7e 100644 Binary files a/scripts/_00e_fs_essencegiftsc.pex and b/scripts/_00e_fs_essencegiftsc.pex differ diff --git a/scripts/_00e_fs_forgottenstories_functions.pex b/scripts/_00e_fs_forgottenstories_functions.pex index 539f35f8..9dc56233 100644 Binary files a/scripts/_00e_fs_forgottenstories_functions.pex and b/scripts/_00e_fs_forgottenstories_functions.pex differ diff --git a/scripts/_00e_fs_fortifysummonssc.pex b/scripts/_00e_fs_fortifysummonssc.pex index 9095ea5c..669c82c7 100644 Binary files a/scripts/_00e_fs_fortifysummonssc.pex and b/scripts/_00e_fs_fortifysummonssc.pex differ diff --git a/scripts/_00e_fs_heavysaddlesc.pex b/scripts/_00e_fs_heavysaddlesc.pex index 78438362..395802ec 100644 Binary files a/scripts/_00e_fs_heavysaddlesc.pex and b/scripts/_00e_fs_heavysaddlesc.pex differ diff --git a/scripts/_00e_fs_mesmerizesc.pex b/scripts/_00e_fs_mesmerizesc.pex index 808ed33d..9836783a 100644 Binary files a/scripts/_00e_fs_mesmerizesc.pex and b/scripts/_00e_fs_mesmerizesc.pex differ diff --git a/scripts/_00e_fs_nq01_functions.pex b/scripts/_00e_fs_nq01_functions.pex index c14621b3..f14dd041 100644 Binary files a/scripts/_00e_fs_nq01_functions.pex and b/scripts/_00e_fs_nq01_functions.pex differ diff --git a/scripts/_00e_fs_nq02_functions.pex b/scripts/_00e_fs_nq02_functions.pex index bf37af46..2bd7c0a3 100644 Binary files a/scripts/_00e_fs_nq02_functions.pex and b/scripts/_00e_fs_nq02_functions.pex differ diff --git a/scripts/_00e_fs_nq02_functions2.pex b/scripts/_00e_fs_nq02_functions2.pex index 5146a5ca..23e62ac2 100644 Binary files a/scripts/_00e_fs_nq02_functions2.pex and b/scripts/_00e_fs_nq02_functions2.pex differ diff --git a/scripts/_00e_fs_nq07_functions.pex b/scripts/_00e_fs_nq07_functions.pex index 220decc0..7bad4ddd 100644 Binary files a/scripts/_00e_fs_nq07_functions.pex and b/scripts/_00e_fs_nq07_functions.pex differ diff --git a/scripts/_00e_fs_nqr01_battle04_transformsc.pex b/scripts/_00e_fs_nqr01_battle04_transformsc.pex index 79269a3e..2e273e72 100644 Binary files a/scripts/_00e_fs_nqr01_battle04_transformsc.pex and b/scripts/_00e_fs_nqr01_battle04_transformsc.pex differ diff --git a/scripts/_00e_fs_nqr03_sisterpridetrigger.pex b/scripts/_00e_fs_nqr03_sisterpridetrigger.pex index 5520b276..b2bb9c94 100644 Binary files a/scripts/_00e_fs_nqr03_sisterpridetrigger.pex and b/scripts/_00e_fs_nqr03_sisterpridetrigger.pex differ diff --git a/scripts/_00e_fs_nqr05_bossfight_fathersc.pex b/scripts/_00e_fs_nqr05_bossfight_fathersc.pex index 811c9d67..6ccfe3fa 100644 Binary files a/scripts/_00e_fs_nqr05_bossfight_fathersc.pex and b/scripts/_00e_fs_nqr05_bossfight_fathersc.pex differ diff --git a/scripts/_00e_fs_nqr05_bossfight_tharaelsc.pex b/scripts/_00e_fs_nqr05_bossfight_tharaelsc.pex index 61be3e8c..d011c511 100644 Binary files a/scripts/_00e_fs_nqr05_bossfight_tharaelsc.pex and b/scripts/_00e_fs_nqr05_bossfight_tharaelsc.pex differ diff --git a/scripts/_00e_fs_nqr05_functions.pex b/scripts/_00e_fs_nqr05_functions.pex index f7ec0a34..ca25fc57 100644 Binary files a/scripts/_00e_fs_nqr05_functions.pex and b/scripts/_00e_fs_nqr05_functions.pex differ diff --git a/scripts/_00e_fs_nqr05_perversionsc.pex b/scripts/_00e_fs_nqr05_perversionsc.pex index 8eb56d24..b4308176 100644 Binary files a/scripts/_00e_fs_nqr05_perversionsc.pex and b/scripts/_00e_fs_nqr05_perversionsc.pex differ diff --git a/scripts/_00e_fs_sleightofhand_hiddenslotsc.pex b/scripts/_00e_fs_sleightofhand_hiddenslotsc.pex index a7aa41a7..039f659e 100644 Binary files a/scripts/_00e_fs_sleightofhand_hiddenslotsc.pex and b/scripts/_00e_fs_sleightofhand_hiddenslotsc.pex differ diff --git a/scripts/_00e_fs_spectralchestsc.pex b/scripts/_00e_fs_spectralchestsc.pex index 41c9d22a..3f01b21c 100644 Binary files a/scripts/_00e_fs_spectralchestsc.pex and b/scripts/_00e_fs_spectralchestsc.pex differ diff --git a/scripts/_00e_game_skillmenusc.pex b/scripts/_00e_game_skillmenusc.pex index 10a1613c..f2dfbb25 100644 Binary files a/scripts/_00e_game_skillmenusc.pex and b/scripts/_00e_game_skillmenusc.pex differ diff --git a/scripts/_00e_heartlandtrappedbearscript.pex b/scripts/_00e_heartlandtrappedbearscript.pex index b9a96822..24c72cf5 100644 Binary files a/scripts/_00e_heartlandtrappedbearscript.pex and b/scripts/_00e_heartlandtrappedbearscript.pex differ diff --git a/scripts/_00e_heilpflanze.pex b/scripts/_00e_heilpflanze.pex index de60c486..9c90740d 100644 Binary files a/scripts/_00e_heilpflanze.pex and b/scripts/_00e_heilpflanze.pex differ diff --git a/scripts/_00e_lehrbuch_plus1memorypointsc.pex b/scripts/_00e_lehrbuch_plus1memorypointsc.pex index 467b9295..b08b56c3 100644 Binary files a/scripts/_00e_lehrbuch_plus1memorypointsc.pex and b/scripts/_00e_lehrbuch_plus1memorypointsc.pex differ diff --git a/scripts/_00e_mag_eldritchdamageconcme.pex b/scripts/_00e_mag_eldritchdamageconcme.pex index 1706324a..f5260a64 100644 Binary files a/scripts/_00e_mag_eldritchdamageconcme.pex and b/scripts/_00e_mag_eldritchdamageconcme.pex differ diff --git a/scripts/_00e_mag_eldritchdamageconcsc.pex b/scripts/_00e_mag_eldritchdamageconcsc.pex index f6c05ee7..3a960044 100644 Binary files a/scripts/_00e_mag_eldritchdamageconcsc.pex and b/scripts/_00e_mag_eldritchdamageconcsc.pex differ diff --git a/scripts/_00e_mq01_functions.pex b/scripts/_00e_mq01_functions.pex index 7836b99e..0596f4e6 100644 Binary files a/scripts/_00e_mq01_functions.pex and b/scripts/_00e_mq01_functions.pex differ diff --git a/scripts/_00e_mq02_functions.pex b/scripts/_00e_mq02_functions.pex index 83de808e..9bcad5c6 100644 Binary files a/scripts/_00e_mq02_functions.pex and b/scripts/_00e_mq02_functions.pex differ diff --git a/scripts/_00e_mq08_konstantinscn.pex b/scripts/_00e_mq08_konstantinscn.pex index 64caa112..54270d98 100644 Binary files a/scripts/_00e_mq08_konstantinscn.pex and b/scripts/_00e_mq08_konstantinscn.pex differ diff --git a/scripts/_00e_mq08_questfunctions.pex b/scripts/_00e_mq08_questfunctions.pex index 03b001bf..92e4efa3 100644 Binary files a/scripts/_00e_mq08_questfunctions.pex and b/scripts/_00e_mq08_questfunctions.pex differ diff --git a/scripts/_00e_mq09_questfunctions.pex b/scripts/_00e_mq09_questfunctions.pex index 8198829d..f9a331d0 100644 Binary files a/scripts/_00e_mq09_questfunctions.pex and b/scripts/_00e_mq09_questfunctions.pex differ diff --git a/scripts/_00e_mq11a_functions.pex b/scripts/_00e_mq11a_functions.pex index a996e424..871cd81a 100644 Binary files a/scripts/_00e_mq11a_functions.pex and b/scripts/_00e_mq11a_functions.pex differ diff --git a/scripts/_00e_mq11b_questfunctions.pex b/scripts/_00e_mq11b_questfunctions.pex index ff740217..3f74b918 100644 Binary files a/scripts/_00e_mq11b_questfunctions.pex and b/scripts/_00e_mq11b_questfunctions.pex differ diff --git a/scripts/_00e_mq13b_functions.pex b/scripts/_00e_mq13b_functions.pex index 55c23194..cf77b1b8 100644 Binary files a/scripts/_00e_mq13b_functions.pex and b/scripts/_00e_mq13b_functions.pex differ diff --git a/scripts/_00e_mq14_functions.pex b/scripts/_00e_mq14_functions.pex index 9c01645a..6da72f3e 100644 Binary files a/scripts/_00e_mq14_functions.pex and b/scripts/_00e_mq14_functions.pex differ diff --git a/scripts/_00e_mq16_functions.pex b/scripts/_00e_mq16_functions.pex index d799d91b..54bacbd6 100644 Binary files a/scripts/_00e_mq16_functions.pex and b/scripts/_00e_mq16_functions.pex differ diff --git a/scripts/_00e_mq17_bossfight_generatorsc.pex b/scripts/_00e_mq17_bossfight_generatorsc.pex index 9300a65b..32a41a7c 100644 Binary files a/scripts/_00e_mq17_bossfight_generatorsc.pex and b/scripts/_00e_mq17_bossfight_generatorsc.pex differ diff --git a/scripts/_00e_mq17_functions.pex b/scripts/_00e_mq17_functions.pex index 0cc874ef..a879629d 100644 Binary files a/scripts/_00e_mq17_functions.pex and b/scripts/_00e_mq17_functions.pex differ diff --git a/scripts/_00e_mqp03_functions.pex b/scripts/_00e_mqp03_functions.pex index 28cc68b8..62f382cc 100644 Binary files a/scripts/_00e_mqp03_functions.pex and b/scripts/_00e_mqp03_functions.pex differ diff --git a/scripts/_00e_nq10_functions.pex b/scripts/_00e_nq10_functions.pex index 5822981e..cd5f7e89 100644 Binary files a/scripts/_00e_nq10_functions.pex and b/scripts/_00e_nq10_functions.pex differ diff --git a/scripts/_00e_nq29_boss_werewolf_sc.pex b/scripts/_00e_nq29_boss_werewolf_sc.pex index 5e0812ed..e0040c1d 100644 Binary files a/scripts/_00e_nq29_boss_werewolf_sc.pex and b/scripts/_00e_nq29_boss_werewolf_sc.pex differ diff --git a/scripts/_00e_nq_g_06_functions.pex b/scripts/_00e_nq_g_06_functions.pex index e7c2a1f9..a837940d 100644 Binary files a/scripts/_00e_nq_g_06_functions.pex and b/scripts/_00e_nq_g_06_functions.pex differ diff --git a/scripts/_00e_nq_g_07_functions.pex b/scripts/_00e_nq_g_07_functions.pex index 0d9b8755..36d90a2f 100644 Binary files a/scripts/_00e_nq_g_07_functions.pex and b/scripts/_00e_nq_g_07_functions.pex differ diff --git a/scripts/_00e_nq_g_07_petrifiedcombatsc.pex b/scripts/_00e_nq_g_07_petrifiedcombatsc.pex index afcb87dc..1997be0a 100644 Binary files a/scripts/_00e_nq_g_07_petrifiedcombatsc.pex and b/scripts/_00e_nq_g_07_petrifiedcombatsc.pex differ diff --git a/scripts/_00e_peaceweedplayeraliasscript.pex b/scripts/_00e_peaceweedplayeraliasscript.pex index a9edfce2..d127d976 100644 Binary files a/scripts/_00e_peaceweedplayeraliasscript.pex and b/scripts/_00e_peaceweedplayeraliasscript.pex differ diff --git a/scripts/_00e_phasmalist_newapparitionalias.pex b/scripts/_00e_phasmalist_newapparitionalias.pex index 2167b718..73f3b1d8 100644 Binary files a/scripts/_00e_phasmalist_newapparitionalias.pex and b/scripts/_00e_phasmalist_newapparitionalias.pex differ diff --git a/scripts/_00e_playerhousingmaster.pex b/scripts/_00e_playerhousingmaster.pex index f2b7494a..289dc711 100644 Binary files a/scripts/_00e_playerhousingmaster.pex and b/scripts/_00e_playerhousingmaster.pex differ diff --git a/scripts/_00e_questfunctions.pex b/scripts/_00e_questfunctions.pex index 104b488b..34202d88 100644 Binary files a/scripts/_00e_questfunctions.pex and b/scripts/_00e_questfunctions.pex differ diff --git a/scripts/_00e_restorecooldownselfsc.pex b/scripts/_00e_restorecooldownselfsc.pex index 148ad4db..0ce9e4eb 100644 Binary files a/scripts/_00e_restorecooldownselfsc.pex and b/scripts/_00e_restorecooldownselfsc.pex differ diff --git a/scripts/_00e_test_damagefeedbacksc.pex b/scripts/_00e_test_damagefeedbacksc.pex index 172fdf5a..6ded3470 100644 Binary files a/scripts/_00e_test_damagefeedbacksc.pex and b/scripts/_00e_test_damagefeedbacksc.pex differ diff --git a/scripts/_00e_testquest_functions.pex b/scripts/_00e_testquest_functions.pex index 80ed2b29..6bb6614c 100644 Binary files a/scripts/_00e_testquest_functions.pex and b/scripts/_00e_testquest_functions.pex differ diff --git a/scripts/_00e_theriantrophist_playeraswerewolf.pex b/scripts/_00e_theriantrophist_playeraswerewolf.pex index a762a9e3..caf3107f 100644 Binary files a/scripts/_00e_theriantrophist_playeraswerewolf.pex and b/scripts/_00e_theriantrophist_playeraswerewolf.pex differ diff --git a/scripts/_00e_theriantrophist_transformstorage.pex b/scripts/_00e_theriantrophist_transformstorage.pex index aad11379..ab2f3fcb 100644 Binary files a/scripts/_00e_theriantrophist_transformstorage.pex and b/scripts/_00e_theriantrophist_transformstorage.pex differ diff --git a/scripts/_00e_theriantrophist_werewolfpotion.pex b/scripts/_00e_theriantrophist_werewolfpotion.pex index 0ecf4bcc..062de8c4 100644 Binary files a/scripts/_00e_theriantrophist_werewolfpotion.pex and b/scripts/_00e_theriantrophist_werewolfpotion.pex differ diff --git a/scripts/_00e_theriantrophist_wolfattributes.pex b/scripts/_00e_theriantrophist_wolfattributes.pex index 666d2173..11220db7 100644 Binary files a/scripts/_00e_theriantrophist_wolfattributes.pex and b/scripts/_00e_theriantrophist_wolfattributes.pex differ diff --git a/scripts/_00e_theriantrophist_wolfformsc.pex b/scripts/_00e_theriantrophist_wolfformsc.pex index f277d9a1..24879839 100644 Binary files a/scripts/_00e_theriantrophist_wolfformsc.pex and b/scripts/_00e_theriantrophist_wolfformsc.pex differ diff --git a/scripts/_00e_waterblade_tome_onslaughtbooksc.pex b/scripts/_00e_waterblade_tome_onslaughtbooksc.pex index d05a7e50..ab9b9781 100644 Binary files a/scripts/_00e_waterblade_tome_onslaughtbooksc.pex and b/scripts/_00e_waterblade_tome_onslaughtbooksc.pex differ diff --git a/scripts/_fs_phasmalist_controlquest.pex b/scripts/_fs_phasmalist_controlquest.pex index 5ebf00cd..2d6a8f40 100644 Binary files a/scripts/_fs_phasmalist_controlquest.pex and b/scripts/_fs_phasmalist_controlquest.pex differ diff --git a/scripts/atronachfrostscript.pex b/scripts/atronachfrostscript.pex index ba4fd294..fb18bdb7 100644 Binary files a/scripts/atronachfrostscript.pex and b/scripts/atronachfrostscript.pex differ diff --git a/scripts/defaultsetlinkavvar.pex b/scripts/defaultsetlinkavvar.pex index eb3b5643..800c79dc 100644 Binary files a/scripts/defaultsetlinkavvar.pex and b/scripts/defaultsetlinkavvar.pex differ diff --git a/scripts/defaultsetmultiavtriggerscript.pex b/scripts/defaultsetmultiavtriggerscript.pex index 1e297ffd..6e16c121 100644 Binary files a/scripts/defaultsetmultiavtriggerscript.pex and b/scripts/defaultsetmultiavtriggerscript.pex differ diff --git a/scripts/dialoguefollowerscript.pex b/scripts/dialoguefollowerscript.pex index dfa6cf4a..40745186 100644 Binary files a/scripts/dialoguefollowerscript.pex and b/scripts/dialoguefollowerscript.pex differ diff --git a/scripts/dunhalldirghostambushscript.pex b/scripts/dunhalldirghostambushscript.pex index 08c29802..4b6d1914 100644 Binary files a/scripts/dunhalldirghostambushscript.pex and b/scripts/dunhalldirghostambushscript.pex differ diff --git a/scripts/favordialoguescript.pex b/scripts/favordialoguescript.pex index 8f5f3db5..b1314329 100644 Binary files a/scripts/favordialoguescript.pex and b/scripts/favordialoguescript.pex differ diff --git a/scripts/flameatronacheffectscript.pex b/scripts/flameatronacheffectscript.pex index 247e36ce..74c44af1 100644 Binary files a/scripts/flameatronacheffectscript.pex and b/scripts/flameatronacheffectscript.pex differ diff --git a/scripts/fs_nqr05_bossfightabnormalitysc.pex b/scripts/fs_nqr05_bossfightabnormalitysc.pex index c7728175..5a06412f 100644 Binary files a/scripts/fs_nqr05_bossfightabnormalitysc.pex and b/scripts/fs_nqr05_bossfightabnormalitysc.pex differ diff --git a/scripts/fxatronachstormscript.pex b/scripts/fxatronachstormscript.pex index 758e4d87..a091bf7a 100644 Binary files a/scripts/fxatronachstormscript.pex and b/scripts/fxatronachstormscript.pex differ diff --git a/scripts/masterambushscript.pex b/scripts/masterambushscript.pex index f2d5fb6e..d48db971 100644 Binary files a/scripts/masterambushscript.pex and b/scripts/masterambushscript.pex differ diff --git a/scripts/pf__00e_fs_ambushtest_0102edd3.pex b/scripts/pf__00e_fs_ambushtest_0102edd3.pex index 4a602f75..c8b93640 100644 Binary files a/scripts/pf__00e_fs_ambushtest_0102edd3.pex and b/scripts/pf__00e_fs_ambushtest_0102edd3.pex differ diff --git a/scripts/pf__00e_mq17_sc07_ambushslee_00149715.pex b/scripts/pf__00e_mq17_sc07_ambushslee_00149715.pex index 0a78d587..874070c3 100644 Binary files a/scripts/pf__00e_mq17_sc07_ambushslee_00149715.pex and b/scripts/pf__00e_mq17_sc07_ambushslee_00149715.pex differ diff --git a/scripts/pf_ambushsleeplinkedref_00048abc.pex b/scripts/pf_ambushsleeplinkedref_00048abc.pex index 0f052c27..7c0e819b 100644 Binary files a/scripts/pf_ambushsleeplinkedref_00048abc.pex and b/scripts/pf_ambushsleeplinkedref_00048abc.pex differ diff --git a/scripts/pf_ambushsleeplinkedrefspide_000812be.pex b/scripts/pf_ambushsleeplinkedrefspide_000812be.pex index f93cf203..f61d82f4 100644 Binary files a/scripts/pf_ambushsleeplinkedrefspide_000812be.pex and b/scripts/pf_ambushsleeplinkedrefspide_000812be.pex differ diff --git a/scripts/pf_ambushsleeplinkedrefspide_0102edd1.pex b/scripts/pf_ambushsleeplinkedrefspide_0102edd1.pex index 64567c97..49d19fc8 100644 Binary files a/scripts/pf_ambushsleeplinkedrefspide_0102edd1.pex and b/scripts/pf_ambushsleeplinkedrefspide_0102edd1.pex differ diff --git a/scripts/qf_dgintimidatequest_0011a493.pex b/scripts/qf_dgintimidatequest_0011a493.pex index 917c91be..de309d57 100644 Binary files a/scripts/qf_dgintimidatequest_0011a493.pex and b/scripts/qf_dgintimidatequest_0011a493.pex differ diff --git a/scripts/sf_mq08_intothedeep_scenetem_000c673e.pex b/scripts/sf_mq08_intothedeep_scenetem_000c673e.pex index cc0c83d8..d9e8f651 100644 Binary files a/scripts/sf_mq08_intothedeep_scenetem_000c673e.pex and b/scripts/sf_mq08_intothedeep_scenetem_000c673e.pex differ diff --git a/scripts/spiderwebanimationsscript.pex b/scripts/spiderwebanimationsscript.pex index a1427cc5..a0cbd738 100644 Binary files a/scripts/spiderwebanimationsscript.pex and b/scripts/spiderwebanimationsscript.pex differ diff --git a/scripts/tif__0008126f.pex b/scripts/tif__0008126f.pex index b789adbe..ee23c016 100644 Binary files a/scripts/tif__0008126f.pex and b/scripts/tif__0008126f.pex differ diff --git a/scripts/tif__00081271.pex b/scripts/tif__00081271.pex index c7d31524..649d0d80 100644 Binary files a/scripts/tif__00081271.pex and b/scripts/tif__00081271.pex differ diff --git a/scripts/tif__000a838f.pex b/scripts/tif__000a838f.pex index 53f205dd..f997a35a 100644 Binary files a/scripts/tif__000a838f.pex and b/scripts/tif__000a838f.pex differ diff --git a/scripts/tif__00119b74.pex b/scripts/tif__00119b74.pex index 3224b702..c0f562a5 100644 Binary files a/scripts/tif__00119b74.pex and b/scripts/tif__00119b74.pex differ diff --git a/scripts/tif__00119b7e.pex b/scripts/tif__00119b7e.pex index 6e2ec348..bc56fbb0 100644 Binary files a/scripts/tif__00119b7e.pex and b/scripts/tif__00119b7e.pex differ diff --git a/scripts/trapfallingoillampcollayer.pex b/scripts/trapfallingoillampcollayer.pex index be794978..9903e14e 100644 Binary files a/scripts/trapfallingoillampcollayer.pex and b/scripts/trapfallingoillampcollayer.pex differ diff --git a/scripts/webdestructiblescript.pex b/scripts/webdestructiblescript.pex index 00e284d6..8588f75b 100644 Binary files a/scripts/webdestructiblescript.pex and b/scripts/webdestructiblescript.pex differ diff --git a/scripts/wispactorscript.pex b/scripts/wispactorscript.pex index fdf65ef6..35b65f14 100644 Binary files a/scripts/wispactorscript.pex and b/scripts/wispactorscript.pex differ diff --git a/source/scripts/_00e_38e_uniyogoshsc.psc b/source/scripts/_00e_38e_uniyogoshsc.psc index 1992306e..b4c377a2 100644 --- a/source/scripts/_00e_38e_uniyogoshsc.psc +++ b/source/scripts/_00e_38e_uniyogoshsc.psc @@ -6,7 +6,7 @@ EVENT OnLoad() bIsAmbusher = True EndIf - If (bIsAmbusher == False) || (GetAV("Variable01") != 0.0) ; Don't start FX if it's ambushing + If (bIsAmbusher == False) || (GetActorValue("Variable01") != 0.0) ; Don't start FX if it's ambushing StartFX() EndIf diff --git a/source/scripts/_00e_a1_devoursoulsc.psc b/source/scripts/_00e_a1_devoursoulsc.psc index c84e0bbc..48e78516 100644 --- a/source/scripts/_00e_a1_devoursoulsc.psc +++ b/source/scripts/_00e_a1_devoursoulsc.psc @@ -37,16 +37,16 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) Float fTalentMagnitude = _00E_A1_DevourSoulSP.GetNthEffectMagnitude(iTalentLevel - 1) / 100.0 - HealthToDrain = akTarget.GetBaseAV("Health") * fTalentMagnitude + HealthToDrain = akTarget.GetBaseActorValue("Health") * fTalentMagnitude If iTalentLevel >= 2 - MagickaToDrain = akTarget.GetBaseAV("Magicka") * fTalentMagnitude + MagickaToDrain = akTarget.GetBaseActorValue("Magicka") * fTalentMagnitude Else MagickaToDrain = 0 EndIf If iTalentLevel >= 3 - StaminaToDrain = akTarget.GetBaseAV("Stamina") * fTalentMagnitude + StaminaToDrain = akTarget.GetBaseActorValue("Stamina") * fTalentMagnitude Else StaminaToDrain = 0 EndIf @@ -100,12 +100,12 @@ EndFunction Function AbsorbEnergy() - Caster.RestoreAV("Health", HealthToDrain) + Caster.RestoreActorValue("Health", HealthToDrain) If MagickaToDrain > 0.0 - Caster.RestoreAV("Magicka", MagickaToDrain) + Caster.RestoreActorValue("Magicka", MagickaToDrain) EndIf If StaminaToDrain > 0.0 - Caster.RestoreAV("Stamina", StaminaToDrain) + Caster.RestoreActorValue("Stamina", StaminaToDrain) EndIf If PlayerREF.HasSpell(_00E_Affinity_AbDarkKeeper) diff --git a/source/scripts/_00e_a2_eldritchbloodsc.psc b/source/scripts/_00e_a2_eldritchbloodsc.psc index 9f2ed542..bafddcf8 100644 --- a/source/scripts/_00e_a2_eldritchbloodsc.psc +++ b/source/scripts/_00e_a2_eldritchbloodsc.psc @@ -10,7 +10,7 @@ Import Utility Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) if akSource == _00E_A2_SkyfallBoltSP - if (Victim.GetAV("Health") - _00E_A2_SkyfallBoltSP.GetNthEffectMagnitude(0)) <= - 10 + if (Victim.GetActorValue("Health") - _00E_A2_SkyfallBoltSP.GetNthEffectMagnitude(0)) <= - 10 bSynergySkyfallExplosion = True EndIf EndIf diff --git a/source/scripts/_00e_a2_eyeofthestormfailsavesc.psc b/source/scripts/_00e_a2_eyeofthestormfailsavesc.psc index bc4cb270..6f8f1fda 100644 --- a/source/scripts/_00e_a2_eyeofthestormfailsavesc.psc +++ b/source/scripts/_00e_a2_eyeofthestormfailsavesc.psc @@ -9,7 +9,7 @@ EndEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) - If (akTarget.GetAV("Health") <= 0) && !bAlreadyDead + If (akTarget.GetActorValue("Health") <= 0) && !bAlreadyDead Game.GetPlayer().PushActorAway(akVictim, 0.5) akVictim.ApplyHavokImpulse(0, 0, -1, 100) bAlreadyDead = True diff --git a/source/scripts/_00e_a2_ghostwalksc.psc b/source/scripts/_00e_a2_ghostwalksc.psc index ede8926e..bc67a0d2 100644 --- a/source/scripts/_00e_a2_ghostwalksc.psc +++ b/source/scripts/_00e_a2_ghostwalksc.psc @@ -81,7 +81,7 @@ State Teleporting Event OnBeginState() - iSneakSkill = PlayerREF.GetBaseAV("Sneak") + iSneakSkill = PlayerREF.GetBaseActorValue("Sneak") Game.ForceFirstPerson() Game.DisablePlayerControls(false, false, true, false, false, false, false, false) A2_Ghostwalk_Victim.GetActorReference().RemoveSpell(_00E_A2_GhostwalkAbMarkedSP) @@ -198,11 +198,11 @@ Function TeleportToTarget() if _00E_A2_GhostwalkSneakFailsave.GetValueInt() > 0 - PlayerREF.ForceAV("Sneak", _00E_A2_GhostwalkSneakFailsave.GetValueInt()) + PlayerREF.ForceActorValue("Sneak", _00E_A2_GhostwalkSneakFailsave.GetValueInt()) Else - PlayerREF.ForceAV("Sneak", 50) + PlayerREF.ForceActorValue("Sneak", 50) EndIf @@ -220,7 +220,7 @@ Function SelectEnemy(Actor iVictim) MarkingRuneREF = iVictim.PlaceAtMe(_00E_A2_GhostwalkRuneHazard, 1) A2_GhostwalkMarkingRune.ForceRefTo(MarkingRuneREF) A2_Ghostwalk_Victim.ForceRefTo(iVictim) - A2_Ghostwalk_Victim.GetActorReference().SetAV("Blindness", 100) + A2_Ghostwalk_Victim.GetActorReference().SetActorValue("Blindness", 100) A2_Ghostwalk_Victim.GetActorReference().EvaluatePackage() bTargetMarked = True Levelsystem._00E_Levelsystem_sEnemyMarked.Show() @@ -258,7 +258,7 @@ Function UnmarkEnemy(Actor iVictim) bTargetMarked = False Levelsystem._00E_Levelsystem_sAbilityMarkingRemoved.Show() iVictim.RemoveSpell(_00E_A2_GhostwalkAbMarkedSP) - A2_Ghostwalk_Victim.GetActorReference().SetAV("Blindness", 0) + A2_Ghostwalk_Victim.GetActorReference().SetActorValue("Blindness", 0) _00E_EspionageFXS.Stop(iVictim) _00E_A2_GhostwalkDeselectM.Play(PlayerREF) diff --git a/source/scripts/_00e_a2_riftsc.psc b/source/scripts/_00e_a2_riftsc.psc index af57269d..7bf41f9a 100644 --- a/source/scripts/_00e_a2_riftsc.psc +++ b/source/scripts/_00e_a2_riftsc.psc @@ -145,8 +145,8 @@ Function DrainLoop() float iWait = ((_00E_A1_RiftSP.GetNthEffectDuration(0) - 3)/3) iIndex = _00E_TalentLibrary.GetPlayerTalentLevel(_00E_Class_Thaumaturge_P04_Talent_DimensionalRift_01, _00E_Class_Thaumaturge_P04_Talent_DimensionalRift_02, _00E_Class_Thaumaturge_P04_Talent_DimensionalRift_03) - 1 - float fDrainAmountMagicka = ((Target.GetAV("Magicka"))*((_00E_A1_RiftSP.GetNthEffectMagnitude(iIndex)/100)/(_00E_A1_RiftSP.GetNthEffectDuration(0)/3))) - float fDrainAmountStamina = ((Target.GetAV("Stamina"))*((_00E_A1_RiftSP.GetNthEffectMagnitude(iIndex)/100)/(_00E_A1_RiftSP.GetNthEffectDuration(0)/3))) + float fDrainAmountMagicka = ((Target.GetActorValue("Magicka"))*((_00E_A1_RiftSP.GetNthEffectMagnitude(iIndex)/100)/(_00E_A1_RiftSP.GetNthEffectDuration(0)/3))) + float fDrainAmountStamina = ((Target.GetActorValue("Stamina"))*((_00E_A1_RiftSP.GetNthEffectMagnitude(iIndex)/100)/(_00E_A1_RiftSP.GetNthEffectDuration(0)/3))) While !Finished DrainManaAndStamina(fDrainAmountMagicka, fDrainAmountStamina) @@ -159,10 +159,10 @@ Function DrainManaAndStamina(float fDrainAmountMagicka, float fDrainAmountStamin GhostEtherealFXShaderIntro.Play(Target) _00E_A1_RiftDrainSound.Play(PlayerREF) - Target.DamageAV("Magicka", fDrainAmountMagicka) - PlayerREF.RestoreAV("Magicka", fDrainAmountMagicka) - Target.DamageAV("Stamina", fDrainAmountStamina) - PlayerREF.RestoreAV("Stamina", fDrainAmountStamina) + Target.DamageActorValue("Magicka", fDrainAmountMagicka) + PlayerREF.RestoreActorValue("Magicka", fDrainAmountMagicka) + Target.DamageActorValue("Stamina", fDrainAmountStamina) + PlayerREF.RestoreActorValue("Stamina", fDrainAmountStamina) iFinalImpact = iFinalImpact + (fDrainAmountMagicka + fDrainAmountStamina) _00E_A2_RiftDrainImod.Apply() @@ -191,7 +191,7 @@ Function StopFXAndCastFinalExplosion() Target.PlaceAtMe(_00E_A2_SynergyRiftImplosion, 1) MAGShockExpMassImod.Apply() - If ((Target.GetAV("Health") - iFinalImpact*2) <= 0) + If ((Target.GetActorValue("Health") - iFinalImpact*2) <= 0) AtronachUnsummonDeathFXS.Play(Target) Target.Kill(PlayerREF) @@ -215,7 +215,7 @@ Function StopFXAndCastFinalExplosion() _00E_A1_RiftExplosionSound.Play(Target) Target.PlaceAtMe(ThrowVoiceExplosion) _00E_A2_RiftExplosionImod.Apply() - Target.DamageAV("Health", iFinalImpact/2) + Target.DamageActorValue("Health", iFinalImpact/2) PlayerREF.PushActorAway(Target, 1) Target.RemovePerk(_00E_A2_RiftEtheralPerk) Target.EnableAI(true) diff --git a/source/scripts/_00e_a2_skyfallnovaenchsc.psc b/source/scripts/_00e_a2_skyfallnovaenchsc.psc index 395b29fe..546df728 100644 --- a/source/scripts/_00e_a2_skyfallnovaenchsc.psc +++ b/source/scripts/_00e_a2_skyfallnovaenchsc.psc @@ -24,7 +24,7 @@ EndEvent Function CastLightning() - float fHealthBefore = akSelfActor.GetAV("Health") + float fHealthBefore = akSelfActor.GetActorValue("Health") ObjectReference CastMarker01 = akSelfActor.PlaceAtMe(AbilityMarker, 1) @@ -65,7 +65,7 @@ Function CastLightning() If akSelfActor.GetActorValue("Health") == fHealthBefore - akSelfActor.DamageAV("Health", fDamage) + akSelfActor.DamageActorValue("Health", fDamage) _00E_A2_ShocknovaBoltM.Play(akSelfActor) EndIf @@ -84,8 +84,8 @@ EndFunction Function AbsorbHealthAndMana(float fDamagePercentage) float fEnergyToAbsorb = (fDamage*(fDamagePercentage/100)) - PlayerREF.RestoreAV("Health", fEnergyToAbsorb) - PlayerREF.RestoreAV("Magicka", fEnergyToAbsorb) + PlayerREF.RestoreActorValue("Health", fEnergyToAbsorb) + PlayerREF.RestoreActorValue("Magicka", fEnergyToAbsorb) EndFunction diff --git a/source/scripts/_00e_a2_sporecrowngas_encdamagescript.psc b/source/scripts/_00e_a2_sporecrowngas_encdamagescript.psc index 85082489..288c1071 100644 --- a/source/scripts/_00e_a2_sporecrowngas_encdamagescript.psc +++ b/source/scripts/_00e_a2_sporecrowngas_encdamagescript.psc @@ -28,7 +28,7 @@ if abHitBlocked == false Debug.Notification("30% unblockbarer Schleichschaden durch Sporenkronengift!") Float UltraDamage = (Damage*0.30) _00E_UISneakAttackBonusMark.Play(PlayerREF) - Victim.DamageAV("Health", -UltraDamage) + Victim.DamageActorValue("Health", -UltraDamage) endif endif diff --git a/source/scripts/_00e_a2_welloflifescript.psc b/source/scripts/_00e_a2_welloflifescript.psc index 3d84a0e2..87769aa6 100644 --- a/source/scripts/_00e_a2_welloflifescript.psc +++ b/source/scripts/_00e_a2_welloflifescript.psc @@ -88,7 +88,7 @@ Function ScanForEnemy(float fDamage) iIndexScan -= 1 Else Actor RandomEnemy = nearbyenemies[iIndexScan] - RandomEnemy.DamageAV("Health", fDamage) + RandomEnemy.DamageActorValue("Health", fDamage) iIndexScan = 0 EndIf EndWhile diff --git a/source/scripts/_00e_actorsuddenappearscript.psc b/source/scripts/_00e_actorsuddenappearscript.psc index a18a3388..fbdd32c8 100644 --- a/source/scripts/_00e_actorsuddenappearscript.psc +++ b/source/scripts/_00e_actorsuddenappearscript.psc @@ -46,5 +46,5 @@ State SuddenAppear EndState Function _SetStageFlag(Int iStage) - SetAV("Variable01", iStage as Float) + SetActorValue("Variable01", iStage as Float) EndFunction \ No newline at end of file diff --git a/source/scripts/_00e_ambrosiaeffect.psc b/source/scripts/_00e_ambrosiaeffect.psc index c8832439..a93050ff 100644 --- a/source/scripts/_00e_ambrosiaeffect.psc +++ b/source/scripts/_00e_ambrosiaeffect.psc @@ -7,13 +7,13 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) _00E_FS_DecreaseArcaneFeverM.Play(akTarget) If akTarget == Game.GetPlayer() - fCurrentAV = -1*(akTarget.GetAV("LastFlattered")) + fCurrentAV = -1*(akTarget.GetActorValue("LastFlattered")) If fCurrentAV <= fMagnitude - akTarget.ModAV("LastFlattered", fCurrentAV) + akTarget.ModActorValue("LastFlattered", fCurrentAV) _00E_AlchAmbrosia_sArcaneFeverDecreased.Show(fCurrentAV, 0) Else - akTarget.ModAV("LastFlattered", fMagnitude) - _00E_AlchAmbrosia_sArcaneFeverDecreased.Show(fMagnitude, -1*(akTarget.GetAV("LastFlattered"))) + akTarget.ModActorValue("LastFlattered", fMagnitude) + _00E_AlchAmbrosia_sArcaneFeverDecreased.Show(fMagnitude, -1*(akTarget.GetActorValue("LastFlattered"))) EndIf EndIf diff --git a/source/scripts/_00e_apparitionqyraistancescript.psc b/source/scripts/_00e_apparitionqyraistancescript.psc index b72fd48a..237ff95b 100644 --- a/source/scripts/_00e_apparitionqyraistancescript.psc +++ b/source/scripts/_00e_apparitionqyraistancescript.psc @@ -24,7 +24,7 @@ EndEvent Function SetBoost(Float fBoost) If Target - Target.ModAV("SpeedMult", fBoost) + Target.ModActorValue("SpeedMult", fBoost) Target.AddItem(_00E_UpdateInventoryItem) Target.RemoveItem(_00E_UpdateInventoryItem) EndIf diff --git a/source/scripts/_00e_apparitionskaraggstancescript.psc b/source/scripts/_00e_apparitionskaraggstancescript.psc index 35cdf1fd..2b83a5a8 100644 --- a/source/scripts/_00e_apparitionskaraggstancescript.psc +++ b/source/scripts/_00e_apparitionskaraggstancescript.psc @@ -23,6 +23,6 @@ EndEvent Function SetBoost(Float fBoost) If Target - Target.ModAV("AttackDamageMult", fBoost) + Target.ModActorValue("AttackDamageMult", fBoost) EndIf EndFunction diff --git a/source/scripts/_00e_apparitionspectralistscript.psc b/source/scripts/_00e_apparitionspectralistscript.psc index 86aa6913..ffedf368 100644 --- a/source/scripts/_00e_apparitionspectralistscript.psc +++ b/source/scripts/_00e_apparitionspectralistscript.psc @@ -25,7 +25,7 @@ EndEvent Function SetBoost(Float fBoost) If Target - Target.ModAV("AttackDamageMult", fBoost) + Target.ModActorValue("AttackDamageMult", fBoost) ; Meh! ; If fBoost > 0.0 ; _00E_FS_Affinity_Spectralist_ApparationBoost.Show() diff --git a/source/scripts/_00e_arkanistenfieberblitzheilungscn.psc b/source/scripts/_00e_arkanistenfieberblitzheilungscn.psc index a383ed79..bf1e2a48 100644 --- a/source/scripts/_00e_arkanistenfieberblitzheilungscn.psc +++ b/source/scripts/_00e_arkanistenfieberblitzheilungscn.psc @@ -7,8 +7,8 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) If PlayerREF.HasPerK(_00E_Class_Thaumaturge_P07_MentalExpert) fMagnitude = fMagnitude*0.67 EndIf - PlayerREF.ModAV("lastFlattered", -fMagnitude) - _00E_Player_sArcaneFeverIncreased.Show(fMagnitude, -1*(PlayerREF.GetAV("LastFlattered"))) + PlayerREF.ModActorValue("lastFlattered", -fMagnitude) + _00E_Player_sArcaneFeverIncreased.Show(fMagnitude, -1*(PlayerREF.GetActorValue("LastFlattered"))) If bVisuals _00E_ArkanistenfieberIMOD.Apply() EndIf diff --git a/source/scripts/_00e_arkanistenfiebereffect.psc b/source/scripts/_00e_arkanistenfiebereffect.psc index df8fe670..d11a6943 100644 --- a/source/scripts/_00e_arkanistenfiebereffect.psc +++ b/source/scripts/_00e_arkanistenfiebereffect.psc @@ -8,7 +8,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) _00E_ArkanistenfieberIMOD.ApplyCrossFade() _00E_FS_IncreaseArcaneFeverM.Play(akPlayer) - _00E_BlitzheilungArkanistenfieber_sFeverIncreased.Show(strength, (-1*(akPlayer.GetAV("LastFlattered")))) + _00E_BlitzheilungArkanistenfieber_sFeverIncreased.Show(strength, (-1*(akPlayer.GetActorValue("LastFlattered")))) EndIf diff --git a/source/scripts/_00e_arkanistenfiebertriggerbox.psc b/source/scripts/_00e_arkanistenfiebertriggerbox.psc index 2d0ac652..26a8c482 100644 --- a/source/scripts/_00e_arkanistenfiebertriggerbox.psc +++ b/source/scripts/_00e_arkanistenfiebertriggerbox.psc @@ -90,8 +90,8 @@ EndEvent Function IncreaseFeaverBy(Int iValue) If PlayerREF.IsDead() == False - PlayerREF.ModAV("LastFlattered", -iValue) - _00E_Player_sArcaneFeverIncreased.Show(iValue, -1.0 * PlayerREF.GetAV("LastFlattered")) + PlayerREF.ModActorValue("LastFlattered", -iValue) + _00E_Player_sArcaneFeverIncreased.Show(iValue, -1.0 * PlayerREF.GetActorValue("LastFlattered")) _00E_FS_IncreaseArcaneFeverM.Play(PlayerREF) _00E_ArkanistenfieberIMOD.Apply() EndIf diff --git a/source/scripts/_00e_arkanistenfieberwohltatscn.psc b/source/scripts/_00e_arkanistenfieberwohltatscn.psc index 59501a16..995765ce 100644 --- a/source/scripts/_00e_arkanistenfieberwohltatscn.psc +++ b/source/scripts/_00e_arkanistenfieberwohltatscn.psc @@ -4,7 +4,7 @@ Event OnEffectStart(actor akTarget, Actor akCaster) If akTarget == Game.GetPlayer() akPlayer = akTarget - fOldAV = -1*(akPlayer.GetAV("LastFlattered")) + fOldAV = -1*(akPlayer.GetActorValue("LastFlattered")) Else akPlayer = None EndIf @@ -14,7 +14,7 @@ EndEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) If akPlayer - fNewAV = -1*(akPlayer.GetAV("LastFlattered")) + fNewAV = -1*(akPlayer.GetActorValue("LastFlattered")) _00E_Player_sArcaneFeverIncreased.Show(fNewAV-fOldAV, fNewAV) _00E_ArkanistenfieberIMOD.Apply() _00E_FS_IncreaseArcaneFeverM.Play(akPlayer) diff --git a/source/scripts/_00e_chestanddoorlockscript.psc b/source/scripts/_00e_chestanddoorlockscript.psc index e0ef4c07..68ea9cdb 100644 --- a/source/scripts/_00e_chestanddoorlockscript.psc +++ b/source/scripts/_00e_chestanddoorlockscript.psc @@ -157,11 +157,11 @@ Event OnActivate(ObjectReference akActionRef) If iLockLevel <= LOCK_LEVEL_APPRENTICE bPlayerCanActivate = True ElseIf iLockLevel <= LOCK_LEVEL_ADEPT - bPlayerCanActivate = (PlayerREF.HasPerk(_00E_Class_Trickery_P04b_) || PlayerREF.GetAV("Lockpicking") >= 25) + bPlayerCanActivate = (PlayerREF.HasPerk(_00E_Class_Trickery_P04b_) || PlayerREF.GetActorValue("Lockpicking") >= 25) ElseIf iLockLevel <= LOCK_LEVEL_EXPERT - bPlayerCanActivate = (PlayerREF.HasPerk(_00E_Class_Trickery_P07_) || PlayerREF.GetAV("Lockpicking") >= 50) + bPlayerCanActivate = (PlayerREF.HasPerk(_00E_Class_Trickery_P07_) || PlayerREF.GetActorValue("Lockpicking") >= 50) ElseIf iLockLevel <= LOCK_LEVEL_MASTER - bPlayerCanActivate = (PlayerREF.HasPerk(_00E_Class_Trickery_P10_) || PlayerREF.GetAV("Lockpicking") >= 75) + bPlayerCanActivate = (PlayerREF.HasPerk(_00E_Class_Trickery_P10_) || PlayerREF.GetActorValue("Lockpicking") >= 75) Else bPlayerCanActivate = True EndIf diff --git a/source/scripts/_00e_class_perkscript.psc b/source/scripts/_00e_class_perkscript.psc index 3f652fee..0e9bbece 100644 --- a/source/scripts/_00e_class_perkscript.psc +++ b/source/scripts/_00e_class_perkscript.psc @@ -160,7 +160,7 @@ EndFunction Function FinalizeUnlock() TalentPoints.Mod(-1) - PlayerREF.SetAV("dragonsouls", TalentPoints.GetValueInt()) + PlayerREF.SetActorValue("dragonsouls", TalentPoints.GetValueInt()) PlayVisuals() EndFunction diff --git a/source/scripts/_00e_crimequest_functions.psc b/source/scripts/_00e_crimequest_functions.psc index fcefcca5..e4e05569 100644 --- a/source/scripts/_00e_crimequest_functions.psc +++ b/source/scripts/_00e_crimequest_functions.psc @@ -41,8 +41,8 @@ Function ReduceMainSkills() sActorValueToReduce02 = "TwoHanded" EndIf - PlayerREF.SetAV(sActorValueToReduce01, PlayerREF.GetBaseAV(sActorValueToReduce01) - 1) - PlayerREF.SetAV(sActorValueToReduce02, PlayerREF.GetBaseAV(sActorValueToReduce02) - 1) + PlayerREF.SetActorValue(sActorValueToReduce01, PlayerREF.GetBaseActorValue(sActorValueToReduce01) - 1) + PlayerREF.SetActorValue(sActorValueToReduce02, PlayerREF.GetBaseActorValue(sActorValueToReduce02) - 1) _00E_CrimeQuest_ReduceSkillMessage.Show() diff --git a/source/scripts/_00e_epupdatefunctions.psc b/source/scripts/_00e_epupdatefunctions.psc index e06ee27a..7cf9e2c8 100644 --- a/source/scripts/_00e_epupdatefunctions.psc +++ b/source/scripts/_00e_epupdatefunctions.psc @@ -138,7 +138,7 @@ State RealPlayer EndIf ; Arcane fever management - Int iArcaneFever = -1*(Player.GetAV("LastFlattered")) as Int + Int iArcaneFever = -1*(Player.GetActorValue("LastFlattered")) as Int If iArcaneFever >= 100 && isdead == False isdead = True @@ -264,19 +264,19 @@ function levelUp() Utility.Wait(1) ;added a Wait() between the audio cue and the level up prompt to give the player an early warning about the incoming message box - int iMessage = _00E_Levelup.show(PlayerLevel.GetValueInt(),Player.GetBaseAV("Health"), Player.GetBaseAV("Magicka"), Player.GetBaseAV("Stamina")) + int iMessage = _00E_Levelup.show(PlayerLevel.GetValueInt(),Player.GetBaseActorValue("Health"), Player.GetBaseActorValue("Magicka"), Player.GetBaseActorValue("Stamina")) Game.SetPlayerLevel(PlayerLevel.GetValueInt()) TalentPoints.Mod(1) - Player.SetAV("dragonsouls", TalentPoints.GetValueInt()) + Player.SetActorValue("dragonsouls", TalentPoints.GetValueInt()) Lernpunkte.Mod(5) Handwerkspunkte.Mod(4) if iMessage == 0 - Player.SetActorValue("Health", Player.GetBaseAV("Health")+9) + Player.SetActorValue("Health", Player.GetBaseActorValue("Health")+9) elseif iMessage == 1 - Player.SetActorValue("Magicka", Player.GetBaseAV("Magicka")+8) + Player.SetActorValue("Magicka", Player.GetBaseActorValue("Magicka")+8) elseif iMessage == 2 - Player.SetActorValue("Stamina", Player.GetBaseAV("Stamina")+11) + Player.SetActorValue("Stamina", Player.GetBaseActorValue("Stamina")+11) endif Int iPlayerLevel = PlayerLevel.GetValueInt() diff --git a/source/scripts/_00e_erinnerungslehrbuch.psc b/source/scripts/_00e_erinnerungslehrbuch.psc index f266e285..aa7b28f1 100644 --- a/source/scripts/_00e_erinnerungslehrbuch.psc +++ b/source/scripts/_00e_erinnerungslehrbuch.psc @@ -8,7 +8,7 @@ GlobalVariable Property Talentpoints auto Event OnEffectStart(Actor akTarget, Actor akCaster) Talentpoints.SetValue(Talentpoints.GetValue() + Value) - Game.GetPlayer().SetAV("dragonsouls", TalentPoints.GetValueInt()) + Game.GetPlayer().SetActorValue("dragonsouls", TalentPoints.GetValueInt()) _00E_MQP03_sMemoryPointGained.Show(Value) endEvent diff --git a/source/scripts/_00e_fs_accerleratesc.psc b/source/scripts/_00e_fs_accerleratesc.psc index fa823b55..704b1a0e 100644 --- a/source/scripts/_00e_fs_accerleratesc.psc +++ b/source/scripts/_00e_fs_accerleratesc.psc @@ -7,8 +7,8 @@ Scriptname _00E_FS_AccerlerateSC extends ActiveMagicEffect Event OnEffectStart(Actor akTarget, Actor akCaster) float fMagnitude = Self.GetMagnitude() - fSpeedBonus = akCaster.GetAV("Speedmult")*fMagnitude/100 - akCaster.ModAV("Speedmult", fSpeedBonus) + fSpeedBonus = akCaster.GetActorValue("Speedmult")*fMagnitude/100 + akCaster.ModActorValue("Speedmult", fSpeedBonus) _00E_StealthFXShader.Play(akCaster) _00E_FS_AccelerateIMOD.Apply() UpdateSpeed(akCaster) @@ -17,7 +17,7 @@ EndEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) - akCaster.ModAV("Speedmult", -fSpeedBonus) + akCaster.ModActorValue("Speedmult", -fSpeedBonus) MAGAlterationTelekinesisThrow.Play(akCaster) _00E_StealthFXShader.Stop(akCaster) UpdateSpeed(akCaster) diff --git a/source/scripts/_00e_fs_affinity_ghostblade_onattack.psc b/source/scripts/_00e_fs_affinity_ghostblade_onattack.psc index d5eab38a..d0127d50 100644 --- a/source/scripts/_00e_fs_affinity_ghostblade_onattack.psc +++ b/source/scripts/_00e_fs_affinity_ghostblade_onattack.psc @@ -19,6 +19,6 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) Else _00E_FS_Ghostblade_FakeAttackSpellSP.Cast(akApparition, akTarget) EndIf - akTarget.DamageAV("Health", 80) + akTarget.DamageActorValue("Health", 80) EndIf EndEvent diff --git a/source/scripts/_00e_fs_alchaddarcanefever.psc b/source/scripts/_00e_fs_alchaddarcanefever.psc index 53890d26..2c9c777f 100644 --- a/source/scripts/_00e_fs_alchaddarcanefever.psc +++ b/source/scripts/_00e_fs_alchaddarcanefever.psc @@ -7,8 +7,8 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) float fArcaneFeverAdd = Self.GetBaseObject().GetArea() Debug.MessageBox(fArcaneFeverAdd) - akTarget.ModAV("LastFlattered", -fArcaneFeverAdd) - _00E_Player_sArcaneFeverIncreased.Show(fArcaneFeverAdd, -1*(akTarget.GetAV("LastFlattered"))) + akTarget.ModActorValue("LastFlattered", -fArcaneFeverAdd) + _00E_Player_sArcaneFeverIncreased.Show(fArcaneFeverAdd, -1*(akTarget.GetActorValue("LastFlattered"))) if bVisuals _00E_ArkanistenfieberIMOD.Apply() diff --git a/source/scripts/_00e_fs_dreameatersc.psc b/source/scripts/_00e_fs_dreameatersc.psc index acbff15b..5b8d7e10 100644 --- a/source/scripts/_00e_fs_dreameatersc.psc +++ b/source/scripts/_00e_fs_dreameatersc.psc @@ -25,13 +25,13 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) EndIf ; Target's magic resistance - Float fMagicResist = akTarget.GetAV("MagicResist") + Float fMagicResist = akTarget.GetActorValue("MagicResist") If fMagicResist > 0 fBonusDamage = fBonusDamage * (100.0 - fMagicResist) / 100.0 EndIf - akTarget.DamageAV("Health", fBonusDamage) + akTarget.DamageActorValue("Health", fBonusDamage) If akTarget.HasMagicEffect(_00E_FS_PsychosisWeaknessVisualME) akTarget.DispelSpell(_00E_FS_PsychosisWeaknessSP) diff --git a/source/scripts/_00e_fs_entropy_corpseexplosionsc.psc b/source/scripts/_00e_fs_entropy_corpseexplosionsc.psc index 7a3fb4dc..548b6a15 100644 --- a/source/scripts/_00e_fs_entropy_corpseexplosionsc.psc +++ b/source/scripts/_00e_fs_entropy_corpseexplosionsc.psc @@ -8,7 +8,7 @@ EndEvent Event OnDying(Actor akKiller) - float fDamage = akVictim.GetBaseAV("Health")/2 + float fDamage = akVictim.GetBaseActorValue("Health")/2 _00E_FS_Entropy_CorpseExplosionEnchantment.SetNthEffectMagnitude(0, fDamage) ExplodeVisuals() diff --git a/source/scripts/_00e_fs_environmentscene03_sc.psc b/source/scripts/_00e_fs_environmentscene03_sc.psc index 3089f88c..b22feb73 100644 --- a/source/scripts/_00e_fs_environmentscene03_sc.psc +++ b/source/scripts/_00e_fs_environmentscene03_sc.psc @@ -39,8 +39,8 @@ Function StartCombatPlayer() FS_EnvironmentScene_Bandit_02_REF.AddToFaction(BanditFaction) FS_EnvironmentScene_Bandit_01_REF.SetGhost(False) FS_EnvironmentScene_Bandit_02_REF.SetGhost(False) - FS_EnvironmentScene_Bandit_01_REF.setAv("Aggression", 2) - FS_EnvironmentScene_Bandit_02_REF.setAv("Aggression", 2) + FS_EnvironmentScene_Bandit_01_REF.SetActorValue("Aggression", 2) + FS_EnvironmentScene_Bandit_02_REF.SetActorValue("Aggression", 2) FS_EnvironmentScene_Bandit_01_REF.StartCombat(PlayerREF) FS_EnvironmentScene_Bandit_02_REF.StartCombat(PlayerREF) diff --git a/source/scripts/_00e_fs_essencegiftbonussc.psc b/source/scripts/_00e_fs_essencegiftbonussc.psc index 27e129ba..c20297f7 100644 --- a/source/scripts/_00e_fs_essencegiftbonussc.psc +++ b/source/scripts/_00e_fs_essencegiftbonussc.psc @@ -6,7 +6,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) If PhasmalistControlQuest.IsApparitionSpawned() Actor akApparition = PhasmalistControlQuest.GetApparitionFailsafeRef() If akApparition && akApparition.Is3DLoaded() - akApparition.RestoreAV("Magicka", akCaster.GetAV("Alteration") / 3.0) + akApparition.RestoreActorValue("Magicka", akCaster.GetActorValue("Alteration") / 3.0) EndIf EndIf EndEvent diff --git a/source/scripts/_00e_fs_essencegiftsc.psc b/source/scripts/_00e_fs_essencegiftsc.psc index 86ff958c..b99246ee 100644 --- a/source/scripts/_00e_fs_essencegiftsc.psc +++ b/source/scripts/_00e_fs_essencegiftsc.psc @@ -25,8 +25,8 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) _00E_FS_Phasmalist_EnterWorld_Male.Play(akApparition) EndIf AbsorbGreenFXS.Play(akApparition) - akApparition.RestoreAV("Magicka", Self.GetMagnitude()) + akApparition.RestoreActorValue("Magicka", Self.GetMagnitude()) Else - akCaster.RestoreAV("Magicka", Self.GetMagnitude()) + akCaster.RestoreActorValue("Magicka", Self.GetMagnitude()) EndIf EndEvent diff --git a/source/scripts/_00e_fs_forgottenstories_functions.psc b/source/scripts/_00e_fs_forgottenstories_functions.psc index 7f749bbd..ea6bf43f 100644 --- a/source/scripts/_00e_fs_forgottenstories_functions.psc +++ b/source/scripts/_00e_fs_forgottenstories_functions.psc @@ -18,7 +18,7 @@ Function TransmuteOre(Form akSource, MineOreScript oreREF, int iCurrentResources _00E_MAGEldritchCastIMOD.Apply() Game.ShakeCamera(afStrength = 0.2) - float fGoldDivider = PlayerREF.GetAV("Alteration")/65 + float fGoldDivider = PlayerREF.GetActorValue("Alteration")/65 if fGoldDivider < 0.5 fGoldDivider = 0.5 diff --git a/source/scripts/_00e_fs_fortifysummonssc.psc b/source/scripts/_00e_fs_fortifysummonssc.psc index fac13b9e..1b296b10 100644 --- a/source/scripts/_00e_fs_fortifysummonssc.psc +++ b/source/scripts/_00e_fs_fortifysummonssc.psc @@ -26,8 +26,8 @@ Event OnUpdate() EndEvent Function AdjustValues(Bool bForceEnchantmentStrength) - Float fNewModifier = PlayerREF.GetAV("FavorPointsBonus") / 100.0 - Float fOldModifier = Target.GetAV("FavorPointsBonus") / 100.0 + Float fNewModifier = PlayerREF.GetActorValue("FavorPointsBonus") / 100.0 + Float fOldModifier = Target.GetActorValue("FavorPointsBonus") / 100.0 If (fNewModifier != fOldModifier) || bForceEnchantmentStrength _00E_FS_PhasmalistEnchantment.SetNthEntryValue(0, 0, 1.0 + fNewModifier) @@ -40,8 +40,8 @@ Function AdjustValues(Bool bForceEnchantmentStrength) Float fMaxHealth = GetTargetMaxValue("Health") Float fMaxMagicka = GetTargetMaxValue("Magicka") - Target.SetAV("FavorPointsBonus", fNewModifier * 100.0) - Target.ModAV("AttackDamageMult", fNewModifier - fOldModifier) + Target.SetActorValue("FavorPointsBonus", fNewModifier * 100.0) + Target.ModActorValue("AttackDamageMult", fNewModifier - fOldModifier) if fMaxHealth > 0 AdjustTargetMainValue("Health", "FavorsPerDay", fMaxHealth, fNewModifier) @@ -54,7 +54,7 @@ Function AdjustValues(Bool bForceEnchantmentStrength) EndFunction Float Function GetTargetMaxValue(String sValueName) - Float fValue = Target.GetAV(sValueName) + Float fValue = Target.GetActorValue(sValueName) Float fPercentage = Target.GetActorValuePercentage(sValueName) If fValue > 0.0 && fPercentage > 0.0 Return Math.Ceiling(fValue / fPercentage) @@ -65,9 +65,9 @@ EndFunction Float Function AdjustTargetMainValue(String sValueName, String sStoreValueName, Float fMaxValue, Float fNewModifier) Float fNewBuff = Math.Floor(fMaxValue * fNewModifier) - Float fOldBuff = Target.GetAV(sStoreValueName) + Float fOldBuff = Target.GetActorValue(sStoreValueName) If fNewBuff != fOldBuff - Target.ModAV(sValueName, fNewBuff - fOldBuff) - Target.SetAV(sStoreValueName, fNewBuff) + Target.ModActorValue(sValueName, fNewBuff - fOldBuff) + Target.SetActorValue(sStoreValueName, fNewBuff) EndIf EndFunction diff --git a/source/scripts/_00e_fs_heavysaddlesc.psc b/source/scripts/_00e_fs_heavysaddlesc.psc index ff84137d..48b6eb10 100644 --- a/source/scripts/_00e_fs_heavysaddlesc.psc +++ b/source/scripts/_00e_fs_heavysaddlesc.psc @@ -11,7 +11,7 @@ Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldCo PlayerHorse.GetActorBase().SetOutfit(_00E_FS_HeavySaddleOutfit) PlayerHorse.SetOutfit(_00E_FS_HeavySaddleOutfit) - PlayerHorse.SetActorValue("speedMult", PlayerHorse.GetAV("speedMult")*1.20) + PlayerHorse.SetActorValue("speedMult", PlayerHorse.GetActorValue("speedMult")*1.20) akNewContainer.RemoveItem(_00E_FS_HeavySaddleItem, 1) diff --git a/source/scripts/_00e_fs_mesmerizesc.psc b/source/scripts/_00e_fs_mesmerizesc.psc index c8a21abc..3ea946d3 100644 --- a/source/scripts/_00e_fs_mesmerizesc.psc +++ b/source/scripts/_00e_fs_mesmerizesc.psc @@ -20,7 +20,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) Else PlayerREF.AddPerk(_00E_FS_MesmerizePerk) - float fBuff = ((PlayerREF.GetAV("Illusion")/6 as Int) + Self.GetMagnitude())/100 + float fBuff = ((PlayerREF.GetActorValue("Illusion")/6 as Int) + Self.GetMagnitude())/100 _00E_FS_MesmerizePerk.SetNthEntryValue(0, 0, (1.0-fBuff)) _00E_FS_MesmerizePerk.SetNthEntryValue(1, 0, (1.0+fBuff)) diff --git a/source/scripts/_00e_fs_nq01_functions.psc b/source/scripts/_00e_fs_nq01_functions.psc index 55eb4c1a..feb9b9ce 100644 --- a/source/scripts/_00e_fs_nq01_functions.psc +++ b/source/scripts/_00e_fs_nq01_functions.psc @@ -571,9 +571,9 @@ EndFunction Function IncreaseArcaneFever(int iStrength, int iMax) - If (-1*PlayerREF.GetAV("LastFlattered") < iMax) - PlayerREF.ModAV("LastFlattered", -iStrength) - _00E_BlitzheilungArkanistenfieber_sFeverIncreased.Show(iStrength, -1*PlayerREF.GetAV("LastFlattered")) + If (-1*PlayerREF.GetActorValue("LastFlattered") < iMax) + PlayerREF.ModActorValue("LastFlattered", -iStrength) + _00E_BlitzheilungArkanistenfieber_sFeverIncreased.Show(iStrength, -1*PlayerREF.GetActorValue("LastFlattered")) EndIf EndFunction diff --git a/source/scripts/_00e_fs_nq02_functions.psc b/source/scripts/_00e_fs_nq02_functions.psc index 1c2ca0a1..890e7b3a 100644 --- a/source/scripts/_00e_fs_nq02_functions.psc +++ b/source/scripts/_00e_fs_nq02_functions.psc @@ -323,7 +323,7 @@ EndFunction Function DunkanFight() - _00E_FS_NQ02_DunkanREF.setAv("Aggression", 2) + _00E_FS_NQ02_DunkanREF.SetActorValue("Aggression", 2) _00E_FS_NQ02_DunkanREF.SetGhost(false) _00E_FS_NQ02_DunkanREF.StartCombat(PlayerREF) _00E_FS_NQ02_DunkanREF.StartCombat(_00E_FS_NQ02_EsmeREF) diff --git a/source/scripts/_00e_fs_nq02_functions2.psc b/source/scripts/_00e_fs_nq02_functions2.psc index 97671863..a8576196 100644 --- a/source/scripts/_00e_fs_nq02_functions2.psc +++ b/source/scripts/_00e_fs_nq02_functions2.psc @@ -67,7 +67,7 @@ Function BanditPrepareForFight(Actor akBandit) EndFunction Function BanditStartFight(Actor akBandit) - akBandit.SetAV("Aggression", 2) + akBandit.SetActorValue("Aggression", 2) akBandit.StartCombat(PlayerREF) akBandit.StartCombat(_00E_FS_NQ02_EsmeREF) EndFunction diff --git a/source/scripts/_00e_fs_nq07_functions.psc b/source/scripts/_00e_fs_nq07_functions.psc index 0b6694af..9525a297 100644 --- a/source/scripts/_00e_fs_nq07_functions.psc +++ b/source/scripts/_00e_fs_nq07_functions.psc @@ -331,10 +331,10 @@ EndFunction Function StartBossfight() Game.DisablePlayerControls() - _00E_FS_NQ07_Draugr003.setAv("Aggression", 2) + _00E_FS_NQ07_Draugr003.SetActorValue("Aggression", 2) _00E_NPCOorbaya_RoarM.Play(_00E_FS_NQ07_Draugr003) _00E_FS_NQ07_Draugr003.StartCombat(_00E_FS_NQ07_ManfredREF) - _00E_FS_NQ07_ManfredREF.SetAV("speedMult", 150.0) + _00E_FS_NQ07_ManfredREF.SetActorValue("speedMult", 150.0) wait(1) if _00E_FS_NQ07_ManfredREF.GetPositionY()<6470 CuthbertSqueak() @@ -360,7 +360,7 @@ Function EndBossfight() FS_NQ07_SC05_DustREF.Activate(FS_NQ07_SC05_DustREF) Game.ShakeCamera(afstrength = 0.2) _00E_NPCOorbaya_RoarM.Play(PlayerREF) - _00E_FS_NQ07_ManfredREF.SetAV("speedMult", 100.0) + _00E_FS_NQ07_ManfredREF.SetActorValue("speedMult", 100.0) Wait(2) QSTGreybeardRumble.Play(PlayerREF) Game.ShakeCamera(afstrength = 0.5) diff --git a/source/scripts/_00e_fs_nqr01_battle04_transformsc.psc b/source/scripts/_00e_fs_nqr01_battle04_transformsc.psc index faf22f28..a0ca4dc8 100644 --- a/source/scripts/_00e_fs_nqr01_battle04_transformsc.psc +++ b/source/scripts/_00e_fs_nqr01_battle04_transformsc.psc @@ -22,7 +22,7 @@ Event OnEnterBleedout() bTransformed = True Utility.Wait(2) Self.SetGhost(True) - Self.RestoreAV("Health", Self.GetBaseAV("Health")) + Self.RestoreActorValue("Health", Self.GetBaseActorValue("Health")) Self.KnockAreaEffect(1, 1024) Self.PlaceAtMe(PowerRacialWoodElfCommandAnimalExplosion01) Self.StopCombat() @@ -33,13 +33,13 @@ Event OnEnterBleedout() Self.SetGhost(False) AbWerewolf.Cast(Self, Self) WerewolfChange.Cast(Self, Self) - Self.SetActorValue("Health", Self.GetBaseAV("Health")*fHealthMultiplicator) + Self.SetActorValue("Health", Self.GetBaseActorValue("Health")*fHealthMultiplicator) Self.SetActorValue("UnarmedDamage", iUnarmedDamage) Self.SetActorValue("DamageResist", iDamageResist) Self.GetActorBase().SetEssential(False) RegisterForSingleUpdate(5) bTransformedFinished = True - Self.SetAV("Aggression", 3) + Self.SetActorValue("Aggression", 3) Self.StartCombat(Game.GetPlayer()) EndIf diff --git a/source/scripts/_00e_fs_nqr03_sisterpridetrigger.psc b/source/scripts/_00e_fs_nqr03_sisterpridetrigger.psc index 66fd73d3..a77590f5 100644 --- a/source/scripts/_00e_fs_nqr03_sisterpridetrigger.psc +++ b/source/scripts/_00e_fs_nqr03_sisterpridetrigger.psc @@ -14,7 +14,7 @@ EndEvent Function EnableSisterPride() FS_NQR03_SisterPrideREF.Enable() - FS_NQR03_SisterPrideREF.SetAV("Health", 1) + FS_NQR03_SisterPrideREF.SetActorValue("Health", 1) If FS_NQR03_SisterPrideREF.Is3DLoaded() BerserkerFXS.Play(FS_NQR03_SisterPrideREF) EndIf diff --git a/source/scripts/_00e_fs_nqr05_bossfight_fathersc.psc b/source/scripts/_00e_fs_nqr05_bossfight_fathersc.psc index 53cde136..843b7a20 100644 --- a/source/scripts/_00e_fs_nqr05_bossfight_fathersc.psc +++ b/source/scripts/_00e_fs_nqr05_bossfight_fathersc.psc @@ -84,8 +84,8 @@ Function TeleportToCenter() FS_NQR05_FatherREF.Say(FS_NQR05_D99_TharaelLaunch_BossfightTopic) EndIf - fHealRateBefore = FS_NQR05_FatherREF.GetAV("HealRate") - FS_NQR05_FatherREF.SetAV("HealRate", 0.0) + fHealRateBefore = FS_NQR05_FatherREF.GetActorValue("HealRate") + FS_NQR05_FatherREF.SetActorValue("HealRate", 0.0) FS_NQR05_FatherREF.SetMotionType(4) _00E_FS_NQR05_TeleportationOngoing.SetValueInt(1) FS_NQR05_FatherREF.SetGhost(true) @@ -113,7 +113,7 @@ Function TeleportBack() FS_NQR05_FatherREF.PlayIdle(IdleNocturnalExit) FS_NQR05_FatherREF.PlayIdle(idleForceDefaultState) FS_NQR05_FatherREF.PlaceAtMe(FXDragonPriestSmallExplosion) - FS_NQR05_FatherREF.SetAV("HealRate", fHealRateBefore) + FS_NQR05_FatherREF.SetActorValue("HealRate", fHealRateBefore) FS_NQR05_FatherREF.SetActorValue("Aggression", 3) GhostRedFXShader.Stop(FS_NQR05_FatherREF) FS_NQR05_FatherREF.SetAlpha(1.0) @@ -191,7 +191,7 @@ Function EndSpecialAttack() FS_NQR05_FatherREF.StartCombat(FS_NQR05_TharaelREF) FS_NQR05_TharaelREF.StartCombat(PlayerREF) Else - FS_NQR05_FatherREF.SetAV("Aggression", 3) + FS_NQR05_FatherREF.SetActorValue("Aggression", 3) FS_NQR05_FatherREF.StartCombat(PlayerREF) FS_NQR05_TharaelREF.StartCombat(FS_NQR05_FatherREF) EndIf diff --git a/source/scripts/_00e_fs_nqr05_bossfight_tharaelsc.psc b/source/scripts/_00e_fs_nqr05_bossfight_tharaelsc.psc index 363bb16a..bc9885bc 100644 --- a/source/scripts/_00e_fs_nqr05_bossfight_tharaelsc.psc +++ b/source/scripts/_00e_fs_nqr05_bossfight_tharaelsc.psc @@ -76,7 +76,7 @@ Function CastSpecialAttack() If !FS_NQR05_TharaelREF.IsDead() - fDamageDone = (FS_NQR05_TharaelREF.GetBaseAV("Health") - FS_NQR05_TharaelREF.GetAV("Health")) + fDamageDone = (FS_NQR05_TharaelREF.GetBaseActorValue("Health") - FS_NQR05_TharaelREF.GetActorValue("Health")) FS_NQR05_TharaelREF.Say(FS_NQR05_D99_TharaelLaunch_BossfightTopic) FS_NQR05_FatherREF.SetGhost(True) @@ -101,7 +101,7 @@ Function CastSpecialAttack() EndIf If FS_NQR05_FatherREF.IsBleedingOut() - FS_NQR05_FatherREF.RestoreAV("Health", 250) + FS_NQR05_FatherREF.RestoreActorValue("Health", 250) Utility.Wait(3) EndIf @@ -239,7 +239,7 @@ Function StopSpecialAttack() FS_NQR05_TharaelREF.equipitemex(_00E_FS_NQR05_Tharael_Dagger, 0, False) objLight.Disable() FS_NQR05_TharaelREF.Reset() - FS_NQR05_TharaelREF.DamageAV("Health", fDamageDone) + FS_NQR05_TharaelREF.DamageActorValue("Health", fDamageDone) FS_NQR05_TharaelREF.ClearLookAt() Teleport(FS_NQR05_Tharael_ReappearMarkerREF001) _00E_FS_Tharael_DematerializeFXS.Stop(FS_NQR05_TharaelREF) diff --git a/source/scripts/_00e_fs_nqr05_functions.psc b/source/scripts/_00e_fs_nqr05_functions.psc index a5770137..fbc9039b 100644 --- a/source/scripts/_00e_fs_nqr05_functions.psc +++ b/source/scripts/_00e_fs_nqr05_functions.psc @@ -668,7 +668,7 @@ Function KillZarah() FS_NQR05_ZaraahREF.GetActorBase().SetEssential(True) FS_NQR05_ZaraahREF.Kill(FS_NQR05_TharaelREF) _00E_BloodyFXShader.Play(FS_NQR05_ZaraahREF) - FS_NQR05_ZaraahREF.DamageAV("Health", 10000) + FS_NQR05_ZaraahREF.DamageActorValue("Health", 10000) SetStage(220) EndFunction @@ -680,7 +680,7 @@ Function HeartAbsorbZaraah() FS_NQR05_ZaraahREF.GetActorBase().SetEssential(False) _00E_FS_NQR05_Temple_AbsorbRoarMarker.Play(PlayerREF) FS_NQR05_ZaraahREF.Kill(FS_NQR05_TharaelREF) - FS_NQR05_ZaraahREF.DamageAV("Health", 10000) + FS_NQR05_ZaraahREF.DamageActorValue("Health", 10000) Wait(3) FS_NQR05_SC12_DustDropREF.Activate(FS_NQR05_SC12_DustDropREF) Game.ShakeCamera(None, 0.75, 13.5) @@ -1295,12 +1295,12 @@ EndFunction Function SetUpBossfight() - FS_NQR05_FatherREF.SetAV("Health", 2000) - FS_NQR05_FatherREF.SetAV("Magicka", 1000) - FS_NQR05_FatherREF.SetAV("Stamina", 300) - FS_NQR05_TharaelREF.SetAV("Health", 1000) - FS_NQR05_TharaelREF.SetAV("Magicka", 250) - FS_NQR05_TharaelREF.SetAV("Stamina", 300) + FS_NQR05_FatherREF.SetActorValue("Health", 2000) + FS_NQR05_FatherREF.SetActorValue("Magicka", 1000) + FS_NQR05_FatherREF.SetActorValue("Stamina", 300) + FS_NQR05_TharaelREF.SetActorValue("Health", 1000) + FS_NQR05_TharaelREF.SetActorValue("Magicka", 250) + FS_NQR05_TharaelREF.SetActorValue("Stamina", 300) EndFunction @@ -1319,8 +1319,8 @@ Function SideWithCharacter(Actor akActor) FS_NQR05_FatherREF.SetActorValue("Aggression", 3) FS_NQR05_FatherREF.AddToFaction(PlayerEnemyFaction) FS_NQR05_FatherREF.SetActorValue("Health", 2500) - FS_NQR05_FatherREF.RestoreAV("Magicka", 2500) - FS_NQR05_FatherREF.RestoreAV("Magicka", 2500) + FS_NQR05_FatherREF.RestoreActorValue("Magicka", 2500) + FS_NQR05_FatherREF.RestoreActorValue("Magicka", 2500) FS_NQR05_FatherREF.startCombat(PlayerREF) _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_TharaelREF, True, 550, 500, 100) Else @@ -1335,8 +1335,8 @@ Function SideWithCharacter(Actor akActor) FS_NQR05_TharaelREF.SetActorValue("Health", 2500) FS_NQR05_TharaelREF.SetActorValue("Aggression", 3) FS_NQR05_TharaelREF.AddToFaction(PlayerEnemyFaction) - FS_NQR05_TharaelREF.RestoreAV("Magicka", 2500) - FS_NQR05_TharaelREF.RestoreAV("Magicka", 2500) + FS_NQR05_TharaelREF.RestoreActorValue("Magicka", 2500) + FS_NQR05_TharaelREF.RestoreActorValue("Magicka", 2500) FS_NQR05_TharaelREF.startCombat(PlayerREF) _00E_QuestFunctions.SetNPCAsCompanion(FS_NQR05_FatherREF, True, 800, 700, 400) EndIf @@ -1411,7 +1411,7 @@ Function FatherFloatDown() MAGIllusionCharm.Play(FS_NQR05_FatherREF) FS_NQR05_FatherREF.PlaceAtMe(FXDragonPriestSmallExplosion) - FS_NQR05_FatherREF.SetAV("Aggression", 0) + FS_NQR05_FatherREF.SetActorValue("Aggression", 0) FS_NQR05_FatherREF.SetGhost(True) FS_NQR05_FatherREF.Reset() FS_NQR05_FatherREF.SetAlpha(0.0) @@ -1547,7 +1547,7 @@ Function StartSC20() EndFunction Function ParalysePlayer() - PlayerREF.setAV("Paralysis", 1) + PlayerREF.SetActorValue("Paralysis", 1) Endfunction Function StartRhalaimLeaveSceneFather() diff --git a/source/scripts/_00e_fs_nqr05_perversionsc.psc b/source/scripts/_00e_fs_nqr05_perversionsc.psc index d1827f0c..e80ab444 100644 --- a/source/scripts/_00e_fs_nqr05_perversionsc.psc +++ b/source/scripts/_00e_fs_nqr05_perversionsc.psc @@ -1,7 +1,7 @@ Scriptname _00E_FS_NQR05_PerversionSC extends Actor Event OnInit() - SetAV("UnarmedDamage", 35) + SetActorValue("UnarmedDamage", 35) EndEvent Event OnEnterBleedout() diff --git a/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc b/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc index 22314eac..3d8be977 100644 --- a/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc +++ b/source/scripts/_00e_fs_sleightofhand_hiddenslotsc.psc @@ -178,12 +178,12 @@ string Function GetSlotSize() int iSlotSize = Utility.RandomInt(1, 100) - if iSlotSize <= iBigSlotChance && PlayerREF.GetAV("Pickpocket") >= 75 + if iSlotSize <= iBigSlotChance && PlayerREF.GetActorValue("Pickpocket") >= 75 messageToShow = _00E_FS_SleightOfHand_HiddenSlot_sBigSlotFound Return "Big" - Elseif (iSlotSize > iBigSlotChance) && (iSlotSize <= (iMediumSlotChance + iBigSlotChance)) && PlayerREF.GetAV("Pickpocket") >= 50 + Elseif (iSlotSize > iBigSlotChance) && (iSlotSize <= (iMediumSlotChance + iBigSlotChance)) && PlayerREF.GetActorValue("Pickpocket") >= 50 messageToShow = _00E_FS_SleightOfHand_HiddenSlot_sMediumSlotFound Return "Medium" diff --git a/source/scripts/_00e_fs_spectralchestsc.psc b/source/scripts/_00e_fs_spectralchestsc.psc index 2c17a054..999e282b 100644 --- a/source/scripts/_00e_fs_spectralchestsc.psc +++ b/source/scripts/_00e_fs_spectralchestsc.psc @@ -16,9 +16,9 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) Else - Float newCarryWeight = Self.GetMagnitude() + PlayerREF.GetAV("Alteration") + Float newCarryWeight = Self.GetMagnitude() + PlayerREF.GetActorValue("Alteration") - _00E_FS_SpectralChestActorREF.SetAV("CarryWeight", newCarryWeight) + _00E_FS_SpectralChestActorREF.SetActorValue("CarryWeight", newCarryWeight) _00E_FS_SpectralChestActorREF.SetPlayerTeammate(True, True) Utility.Wait(0.1) diff --git a/source/scripts/_00e_game_skillmenusc.psc b/source/scripts/_00e_game_skillmenusc.psc index 66c4b356..e8e7d8ba 100644 --- a/source/scripts/_00e_game_skillmenusc.psc +++ b/source/scripts/_00e_game_skillmenusc.psc @@ -202,7 +202,7 @@ Float[] Function GetFloats() SkillmenuFloats[3] = aiMagicka.GetCurrentValue(PlayerREF) as Int SkillmenuFloats[4] = aiStamina.GetBaseValue(PlayerREF) as Int SkillmenuFloats[5] = aiStamina.GetCurrentValue(PlayerREF) as Int - SkillmenuFloats[6] = (-1*(PlayerREF.GetAV("LastFlattered"))) as Int + SkillmenuFloats[6] = (-1*(PlayerREF.GetActorValue("LastFlattered"))) as Int SkillmenuFloats[7] = fEXPNeededForNextLevel ; (pow(PlayerLevel.GetValueInt(), EXPMultSlope.GetValue()) * (EXPMult.GetValue()*fEXPAcceleration)) ;SkillmenuFloats[7] = ((pow((PlayerLevel.GetValueInt()), EXPMultSlope.GetValue()) * EXPMult.GetValue()) - (pow(PlayerLevel.GetValueInt() - 1, EXPMultSlope.GetValue()) * EXPMult.GetValue())) as Float diff --git a/source/scripts/_00e_heartlandtrappedbearscript.psc b/source/scripts/_00e_heartlandtrappedbearscript.psc index e2e6bcc9..8fcad0c6 100644 --- a/source/scripts/_00e_heartlandtrappedbearscript.psc +++ b/source/scripts/_00e_heartlandtrappedbearscript.psc @@ -11,7 +11,7 @@ Faction Property PlayerFriendFaction Auto Function ReleaseFromCage() ; Debug.Trace(self + ": ReleaseFromCage") - SetAV("Assistance", 1) ; Help allies + SetActorValue("Assistance", 1) ; Help allies If IsDead() == False _SetStageFlag(1) GoToState("GetOutOfCage") @@ -69,5 +69,5 @@ Event OnUpdateGameTime() EndEvent Function _SetStageFlag(Int iStage) - SetAV("Variable01", iStage as Float) + SetActorValue("Variable01", iStage as Float) EndFunction diff --git a/source/scripts/_00e_heilpflanze.psc b/source/scripts/_00e_heilpflanze.psc index 9fe66ed3..13389dcc 100644 --- a/source/scripts/_00e_heilpflanze.psc +++ b/source/scripts/_00e_heilpflanze.psc @@ -26,7 +26,7 @@ Event OnActivate(ObjectReference akActionRef) Count = 2 ; Don't do _00E_Heilpflanze_sJuiceDepleted and stuff while the player being healed _00E_Heilpflanze_sJuiceHealsPlayer.Show() - playerRef.RestoreAV("Health", (playerRef.GetBaseAV("Health") * Mult / 100.0)) + playerRef.RestoreActorValue("Health", (playerRef.GetBaseActorValue("Health") * Mult / 100.0)) MAGRestorationFFFire.Play(playerRef) _00E_HeilpflanzeShader.Stop(Self) _00E_HealingIsm.Apply() diff --git a/source/scripts/_00e_lehrbuch_plus1memorypointsc.psc b/source/scripts/_00e_lehrbuch_plus1memorypointsc.psc index 2b7cbe47..51eb1c36 100644 --- a/source/scripts/_00e_lehrbuch_plus1memorypointsc.psc +++ b/source/scripts/_00e_lehrbuch_plus1memorypointsc.psc @@ -3,7 +3,7 @@ Scriptname _00E_Lehrbuch_Plus1MemoryPointSC extends activemagiceffect Event OnEffectStart(actor akTarget, Actor akCaster) TalentPoints.Mod(1) - Game.GetPlayer().SetAV("dragonsouls", TalentPoints.GetValueInt()) + Game.GetPlayer().SetActorValue("dragonsouls", TalentPoints.GetValueInt()) EndEvent diff --git a/source/scripts/_00e_mag_eldritchdamageconcme.psc b/source/scripts/_00e_mag_eldritchdamageconcme.psc index e9866352..5ead16dd 100644 --- a/source/scripts/_00e_mag_eldritchdamageconcme.psc +++ b/source/scripts/_00e_mag_eldritchdamageconcme.psc @@ -10,7 +10,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) if akCaster == PlayerREF - akCaster.DamageAV("Health", (Self.GetMagnitude()/(EldritchDamageDivider.GetValue()))) + akCaster.DamageActorValue("Health", (Self.GetMagnitude()/(EldritchDamageDivider.GetValue()))) ParalyzeFxShader.Play(PlayerREF) Utility.Wait(0.5) ParalyzeFxShader.Stop(PlayerREF) diff --git a/source/scripts/_00e_mag_eldritchdamageconcsc.psc b/source/scripts/_00e_mag_eldritchdamageconcsc.psc index 656357ce..f11630a6 100644 --- a/source/scripts/_00e_mag_eldritchdamageconcsc.psc +++ b/source/scripts/_00e_mag_eldritchdamageconcsc.psc @@ -49,9 +49,9 @@ Function DealSelfDMG() ParalyzeFxShader.Play(caster) If caster != PlayerRef - caster.DamageAV("Health", fCasterDamage * 0.5) ; Deal half of fCasterDamage to NPCs + caster.DamageActorValue("Health", fCasterDamage * 0.5) ; Deal half of fCasterDamage to NPCs Else - caster.DamageAV("Health", fCasterDamage) + caster.DamageActorValue("Health", fCasterDamage) EndIf Utility.Wait(1) diff --git a/source/scripts/_00e_mq01_functions.psc b/source/scripts/_00e_mq01_functions.psc index f4bf079e..5fe53c7f 100644 --- a/source/scripts/_00e_mq01_functions.psc +++ b/source/scripts/_00e_mq01_functions.psc @@ -34,8 +34,8 @@ EndFunction Function BeginHeadache() - PlayerREF.ModAV("LastFlattered", -15) - _00E_BlitzheilungArkanistenfieber_sFeverIncreased.Show(15.0, -1*PlayerREF.GetAV("LastFlattered")) + PlayerREF.ModActorValue("LastFlattered", -15) + _00E_BlitzheilungArkanistenfieber_sFeverIncreased.Show(15.0, -1*PlayerREF.GetActorValue("LastFlattered")) debug.SendAnimationEvent(PlayerREF as objectreference, "StaggerPlayer") MagVampireSunlight.Play(PlayerREF as objectreference) Message.ResetHelpMessage("Empty") @@ -54,7 +54,7 @@ function EndHeadache() Utility.Wait(3) EndIf - PlayerREF.RestoreActorValue("Health", PlayerREF.GetAV("Health")) + PlayerREF.RestoreActorValue("Health", PlayerREF.GetActorValue("Health")) _00E_NPCUncorkPotionAndDrinkM.Play(PlayerREF) MAGRestorationFFFire.Play(PlayerREF) Sound.StopInstance(SoundID01) diff --git a/source/scripts/_00e_mq02_functions.psc b/source/scripts/_00e_mq02_functions.psc index 2a2b1338..c20ba8a7 100644 --- a/source/scripts/_00e_mq02_functions.psc +++ b/source/scripts/_00e_mq02_functions.psc @@ -167,7 +167,7 @@ Function PlayerDrinkWine() Game.DisablePlayerControls() ForceThirdPerson() Debug.SendAnimationEvent(PlayerREF, "IdleDrinkPotion") - PlayerREF.RestoreActorValue("Health", PlayerREF.GetAV("Health")) + PlayerREF.RestoreActorValue("Health", PlayerREF.GetActorValue("Health")) _00E_NPCUncorkPotionAndDrinkM.Play(PlayerREF) EndFunction diff --git a/source/scripts/_00e_mq08_konstantinscn.psc b/source/scripts/_00e_mq08_konstantinscn.psc index 44e2afbc..13f298b6 100644 --- a/source/scripts/_00e_mq08_konstantinscn.psc +++ b/source/scripts/_00e_mq08_konstantinscn.psc @@ -4,7 +4,7 @@ Event OnEnterBleedout() if (MQ08_IntoTheDeep.GetStage() < 155) && (MQ08_IntoTheDeep.GetStage() >= 150) _00E_MQ09a_KonstantinDeathM.Play(Self) - Self.SetAV("Aggression", 0) + Self.SetActorValue("Aggression", 0) Self.SetGhost(True) Self.SetNoBleedoutRecovery(True) Self.StopCombat() diff --git a/source/scripts/_00e_mq08_questfunctions.psc b/source/scripts/_00e_mq08_questfunctions.psc index cb6c8c08..4fdb6f6a 100644 --- a/source/scripts/_00e_mq08_questfunctions.psc +++ b/source/scripts/_00e_mq08_questfunctions.psc @@ -173,9 +173,9 @@ Function KonstantinStartCombat() SetNPCAsCompanion(_00E_MC_JesparREF, True, 350, 400, 100) ;We also need to change Constanine's stats, since they were adjusted upon entering the Living Temple - _00E_MC_KonstantinREF.SetAV("Health", 850) - _00E_MC_KonstantinREF.SetAV("Stamina", 850) - _00E_MC_KonstantinREF.SetAV("Magicka", 240) + _00E_MC_KonstantinREF.SetActorValue("Health", 850) + _00E_MC_KonstantinREF.SetActorValue("Stamina", 850) + _00E_MC_KonstantinREF.SetActorValue("Magicka", 240) _00E_SilenceTransitionHighPriority.Remove() _00E_Music_Special_Event_Dark.Remove() diff --git a/source/scripts/_00e_mq09_questfunctions.psc b/source/scripts/_00e_mq09_questfunctions.psc index 1e78e2f5..0a32c8e1 100644 --- a/source/scripts/_00e_mq09_questfunctions.psc +++ b/source/scripts/_00e_mq09_questfunctions.psc @@ -55,7 +55,7 @@ EndFunction Function InitQuest() ; Restore player's health if it's damaged because we just "slept" - PlayerREF.RestoreAV("Health", 10000.0) + PlayerREF.RestoreActorValue("Health", 10000.0) ; Force the player to exit any furniture (the benches from MQ09a's scenes) before putting them to the bed ; Without this exiting the bed is glitchy @@ -305,7 +305,7 @@ Function KillPlayer() PoisonDeath.Apply() Wait(2.9) FadeToBlackHoldIMOD.ApplyCrossFade(afFadeDuration = 0.5) - PlayerREF.DamageAV("Health", 1000) + PlayerREF.DamageActorValue("Health", 1000) PlayerREF.KillEssential(_00E_MQ09_SamaelRef) Wait(3) WerewolfExtractVFX.Stop(PlayerREF) diff --git a/source/scripts/_00e_mq11a_functions.psc b/source/scripts/_00e_mq11a_functions.psc index a04b6136..55cdc939 100644 --- a/source/scripts/_00e_mq11a_functions.psc +++ b/source/scripts/_00e_mq11a_functions.psc @@ -455,7 +455,7 @@ Function TinkererKill() MQ11a_StarlingsTinkerer.GetActorBase().SetEssential(False) MQ11a_StarlingsTinkerer.SetGhost(False) - MQ11a_StarlingsTinkerer.DamageAV("Health", 500) + MQ11a_StarlingsTinkerer.DamageActorValue("Health", 500) EndFunction @@ -762,7 +762,7 @@ Function StartDissectingRoomVision() MQ11a_SC16_DalGalarREF.MoveTo(MQ11a_SC16_DalGalarStartMarker) MQ11a_SC16_DalGalarREF.SetAlpha(0.0) - MQ11a_SC16_DalGalarREF.SetAV("Variable01", 1.0) + MQ11a_SC16_DalGalarREF.SetActorValue("Variable01", 1.0) MQ11a_SC16_DalGalarREF.EvaluatePackage() Wait(0.25) @@ -778,7 +778,7 @@ Function StopDissectingRoomVision() Levelsystem.VisionEffectNoTimestopStop(_00E_MQ11a_SC16_VisionRefs, _00E_MQ11a_SC8_FreezeRefs) MQ11a_SC16_DalGalarREF.DisableNoWait() MQ11a_DiscipleREF02.DisableNoWait() - MQ11a_SC16_DalGalarREF.SetAV("Variable01", 0.0) + MQ11a_SC16_DalGalarREF.SetActorValue("Variable01", 0.0) MQ11a_SC16_DalGalarREF.MoveTo(MQ11a_DalGalarOrigin) Levelsystem.ResumeRandomHeadTracking() diff --git a/source/scripts/_00e_mq11b_questfunctions.psc b/source/scripts/_00e_mq11b_questfunctions.psc index 68b5bee7..e1207706 100644 --- a/source/scripts/_00e_mq11b_questfunctions.psc +++ b/source/scripts/_00e_mq11b_questfunctions.psc @@ -131,7 +131,7 @@ EndFunction Function ValenzioPrepareForSit() ; Switch Valenzio to the sitting package - _00E_MQ11b_PrisonerREF.SetAV("Variable01", 1.0) + _00E_MQ11b_PrisonerREF.SetActorValue("Variable01", 1.0) _00E_MQ11b_PrisonerREF.EvaluatePackage() EndFunction @@ -251,7 +251,7 @@ Function StartCombatAdila() Wait(0.5) _00E_MQ11b_AdilaREF.SetGhost(0) _00E_MC_Adila.SetEssential(0) - _00E_MQ11b_AdilaREF.SetAV("Aggression", 3) + _00E_MQ11b_AdilaREF.SetActorValue("Aggression", 3) _00E_MQ11b_AdilaREF.StartCombat(PlayerREF) _00E_Music_Special_Character_Jespar_SturmUndDrang.Add() AudioCategoryAMB.SetVolume(1) diff --git a/source/scripts/_00e_mq13b_functions.psc b/source/scripts/_00e_mq13b_functions.psc index 27d0b62c..dfeb05e1 100644 --- a/source/scripts/_00e_mq13b_functions.psc +++ b/source/scripts/_00e_mq13b_functions.psc @@ -404,8 +404,8 @@ Function NexusElevatorStop() _00E_MQ13b_SC10_NexusFade.Apply() akYaela.SetNoBleedoutRecovery(False) akCompanionRomance.SetNoBleedoutRecovery(False) - akYaela.RestoreAV("Health", 1000) - akCompanionRomance.RestoreAV("Health", 1000) + akYaela.RestoreActorValue("Health", 1000) + akCompanionRomance.RestoreActorValue("Health", 1000) MQ13b_SC10_ImpactMarker002.PlayImpactEffect(FXDragonLandingImpactSet) Sound.StopInstance(iNexusLiftSound) Game.ShakeCamera(afStrength = 1) diff --git a/source/scripts/_00e_mq14_functions.psc b/source/scripts/_00e_mq14_functions.psc index d732a911..53abedfd 100644 --- a/source/scripts/_00e_mq14_functions.psc +++ b/source/scripts/_00e_mq14_functions.psc @@ -297,7 +297,7 @@ Function DisableBarrier() _00E_MC_LexREF.StopCombat() _00E_MC_LexREF.StopCombatAlarm() Utility.Wait(1.5) - _00E_MC_LexREF.RestoreAV("Health", 300) + _00E_MC_LexREF.RestoreActorValue("Health", 300) _00E_MC_LexREF.ResetHealthAndLimbs() MQ14_SC04_BarrierREF.Disable() MQ14_SC04_HighOnesOrb01.PlayAnimation("playAnim01") diff --git a/source/scripts/_00e_mq16_functions.psc b/source/scripts/_00e_mq16_functions.psc index ad044365..b6dd5aba 100644 --- a/source/scripts/_00e_mq16_functions.psc +++ b/source/scripts/_00e_mq16_functions.psc @@ -869,7 +869,7 @@ Function TealorHitYuslan() MQ16_SC14_YuslanDeadREF.PlayImpactEffect(BloodSprayImpactSetRed) WPNImpactBlade2HandVsFlesh.Play(MQ16_SC14_YuslanDeadREF) Game.ShakeCamera(afStrength = 0.25) - akTealor.SetAV("SpeedMult", 65) + akTealor.SetActorValue("SpeedMult", 65) EndFunction diff --git a/source/scripts/_00e_mq17_bossfight_generatorsc.psc b/source/scripts/_00e_mq17_bossfight_generatorsc.psc index b5c44cd7..375e96d9 100644 --- a/source/scripts/_00e_mq17_bossfight_generatorsc.psc +++ b/source/scripts/_00e_mq17_bossfight_generatorsc.psc @@ -52,10 +52,10 @@ Function CheckForDamage(Form akSource) _01E_Feuerblitz.RemoteCast(Self, PlayerREF, Self) - Self.DamageAV("Health", fDamageToDeal) + Self.DamageActorValue("Health", fDamageToDeal) - float fCurentHealth = Self.GetAV("Health") - float fBaseHealth = Self.GetBaseAV("Health") + float fCurentHealth = Self.GetActorValue("Health") + float fBaseHealth = Self.GetBaseActorValue("Health") If fCurentHealth <= ((fBaseHealth/100)*75) && !bDone75 _00E_MQ17_BossFight_GeneratorDamageDisplay.Show(75) bDone75 = true @@ -107,7 +107,7 @@ Function PlayImpactFX() Game.ShakeCamera(afStrength = 0.25) NPCDwarvenCenturionInjuredM.Play(PlayerREF) - If Self.GetAV("Health") <= 5.0 + If Self.GetActorValue("Health") <= 5.0 Self.Kill(PlayerREF) EndIf @@ -118,7 +118,7 @@ Function DamagePlayer(float fDamageValue) Self.PlayImpactEffect(MAGShock01ImpactSet) Game.ShakeCamera(afStrength = 0.25) MAGShockExpImod.Apply() - PlayerREF.DamageAv("Health", fDamageValue) + PlayerREF.DamageActorValue("Health", fDamageValue) MAGShockImpact.Play(PlayerREF) ShockFXShader.Play(PlayerREF) Utility.Wait(1) diff --git a/source/scripts/_00e_mq17_functions.psc b/source/scripts/_00e_mq17_functions.psc index 50a6981f..f7308610 100644 --- a/source/scripts/_00e_mq17_functions.psc +++ b/source/scripts/_00e_mq17_functions.psc @@ -65,7 +65,7 @@ Function WakeUp() iPortalSound = QSTSovengardePortalOn2DLPM.Play(MQ17_SC01_PortalDoorFailsave) _00E_MQ17_SC01_PlayerAwakeIMOD.ApplyCrossFade(afFadeDuration = 2.0) PlayerREF.PlayIdle(TG05_GetUp) - PlayerREF.DamageAV("Health", (PlayerREF.GetAV("Health")*0.7)) + PlayerREF.DamageActorValue("Health", (PlayerREF.GetActorValue("Health")*0.7)) Wait(2) MQ17_SC01_PortalDoorFailsave.PlayAnimation("playAnim02") Wait(2) diff --git a/source/scripts/_00e_mqp03_functions.psc b/source/scripts/_00e_mqp03_functions.psc index 41893c06..2f9cde2f 100644 --- a/source/scripts/_00e_mqp03_functions.psc +++ b/source/scripts/_00e_mqp03_functions.psc @@ -57,7 +57,7 @@ Function ShowVisionBinkMovie() Game.TeachWord(_00E_Class_ClassMenuWord) _00E_MQP03_sMemoryPointGained.Show(1) TalentPoints.SetValueInt(1) - PlayerREF.SetAV("dragonsouls", TalentPoints.GetValueInt()) + PlayerREF.SetActorValue("dragonsouls", TalentPoints.GetValueInt()) Message.ResetHelpMessage("Empty") _00E_MQP03_Thoughts01.ShowAsHelpMessage("Empty", 5, 1, 1) RegisterForSingleUpdate(20) diff --git a/source/scripts/_00e_nq10_functions.psc b/source/scripts/_00e_nq10_functions.psc index 4a7ed420..e14cc32c 100644 --- a/source/scripts/_00e_nq10_functions.psc +++ b/source/scripts/_00e_nq10_functions.psc @@ -34,7 +34,7 @@ Function FinishQuest() ; Start end travel for Eshra Actor akEshra = Alias_Eshra.GetActorRef() _00E_QuestFunctions.DistanceFailsafeMoveTo(Alias_Elfride.GetActorRef(), akEshra, 256.0) - akEshra.SetAV("Variable01", 1.0) + akEshra.SetActorValue("Variable01", 1.0) RegisterForSingleUpdateGameTime(1.0) Alias_CageDoor.Clear() @@ -59,7 +59,7 @@ Function FinishEndTravel() UnregisterForUpdateGameTime() Actor akEshra = Alias_Eshra.GetActorRef() - akEshra.SetAV("Variable01", 0.0) + akEshra.SetActorValue("Variable01", 0.0) akEshra.EvaluatePackage() Actor akElfride = Alias_Elfride.GetActorRef() diff --git a/source/scripts/_00e_nq29_boss_werewolf_sc.psc b/source/scripts/_00e_nq29_boss_werewolf_sc.psc index 71a3a20c..beb0194b 100644 --- a/source/scripts/_00e_nq29_boss_werewolf_sc.psc +++ b/source/scripts/_00e_nq29_boss_werewolf_sc.psc @@ -15,8 +15,8 @@ Event OnEnterBleedout() _00E_FS_Theriantrophist_TransformIMOD.Apply() Self.PlaceAtMe(_00E_FS_Theriantrophist_TransEXP) Self.PlaceAtMe(_00E_MAGEldritchShockExplosionTeleport) - Self.RestoreAV("Health", Self.GetBaseAV("Health")) - Self.ModAV("Health", (Self.GetBaseAV("Health")/2)) + Self.RestoreActorValue("Health", Self.GetBaseActorValue("Health")) + Self.ModActorValue("Health", (Self.GetBaseActorValue("Health")/2)) Self.GetActorBase().SetEssential(False) EndIf diff --git a/source/scripts/_00e_nq_g_06_functions.psc b/source/scripts/_00e_nq_g_06_functions.psc index b31eaf90..36783d6c 100644 --- a/source/scripts/_00e_nq_g_06_functions.psc +++ b/source/scripts/_00e_nq_g_06_functions.psc @@ -99,9 +99,9 @@ EndFunction Function StartFightKilean() _00E_NQ_G_06_MercenaryKilean_WarriorREF.StartCombat(PlayerREF) - _00E_NQ_G_06_MercenaryKilean_WarriorREF.setAv("Aggression", 4) + _00E_NQ_G_06_MercenaryKilean_WarriorREF.SetActorValue("Aggression", 4) _00E_NQ_G_06_MercenaryKilean_MageREF.StartCombat(PlayerREF) - _00E_NQ_G_06_MercenaryKilean_MageREF.setAv("Aggression", 4) + _00E_NQ_G_06_MercenaryKilean_MageREF.SetActorValue("Aggression", 4) EndFunction @@ -121,9 +121,9 @@ EndFunction Function StartFightEnderalean() _00E_NQ_G_06_MercenaryEnderalean_WarriorREF.StartCombat(PlayerREF) - _00E_NQ_G_06_MercenaryEnderalean_WarriorREF.setAv("Aggression", 4) + _00E_NQ_G_06_MercenaryEnderalean_WarriorREF.SetActorValue("Aggression", 4) _00E_NQ_G_06_MercenaryEnderalean_MageREF.StartCombat(PlayerREF) - _00E_NQ_G_06_MercenaryEnderalean_MageREF.setAv("Aggression", 4) + _00E_NQ_G_06_MercenaryEnderalean_MageREF.SetActorValue("Aggression", 4) EndFunction diff --git a/source/scripts/_00e_nq_g_07_functions.psc b/source/scripts/_00e_nq_g_07_functions.psc index 49505129..7702cf3a 100644 --- a/source/scripts/_00e_nq_g_07_functions.psc +++ b/source/scripts/_00e_nq_g_07_functions.psc @@ -610,7 +610,7 @@ Function GiveBankKeyFence(Actor akSpeaker) _00E_Class_Infiltrator_P08_C_Seducer = Game.GetFormFromFile(0x00069D3D, "Skyrim.esm") as Perk EndIf - If PlayerREF.GetAV("Speechcraft") >= 50 || PlayerREF.HasPerk(_00E_Class_Infiltrator_P08_C_Seducer) + If PlayerREF.GetActorValue("Speechcraft") >= 50 || PlayerREF.HasPerk(_00E_Class_Infiltrator_P08_C_Seducer) _00E_NQ_G_07Dijaam_FenceMoneyBagREF.AddItem(Gold001, 650) Else _00E_NQ_G_07Dijaam_FenceMoneyBagREF.AddItem(Gold001, 450) @@ -806,8 +806,8 @@ Function StartKontorCombat() _00E_NQ_G_07_DoriaREF.SetGhost(False) _00E_NQ_G_07_MazetoREF.GetActorBase().SetEssential(False) _00E_NQ_G_07_DoriaREF.GetActorBase().SetEssential(False) - _00E_NQ_G_07Dijaam_Mercenary02REF.SetAV("Health", 5) - _00E_NQ_G_07Dijaam_Mercenary01REF.SetAV("Health", 5) + _00E_NQ_G_07Dijaam_Mercenary02REF.SetActorValue("Health", 5) + _00E_NQ_G_07Dijaam_Mercenary01REF.SetActorValue("Health", 5) _00E_SC_DijaamOnelys.EquipItem(_25E_Unique_KileanFalcata) wait(0.1) @@ -1177,8 +1177,8 @@ Function SetupSC02() _00E_NQ_G_07Dijaam_Mercenary02REF.Enable() _00E_NQ_G_07Dijaam_Mercenary01REF.SetGhost(False) _00E_NQ_G_07Dijaam_Mercenary02REF.SetGhost(False) - _00E_NQ_G_07Dijaam_Mercenary01REF.SetAV("Health", 250) - _00E_NQ_G_07Dijaam_Mercenary02REF.SetAV("Health", 250) + _00E_NQ_G_07Dijaam_Mercenary01REF.SetActorValue("Health", 250) + _00E_NQ_G_07Dijaam_Mercenary02REF.SetActorValue("Health", 250) if NQ_G_01.iMiniQuest03 == 20 _00E_NQ_G_07Mael_CorpseDoria.AddItem(_00E_NQ_G_01_Necklace, 1) EndIf diff --git a/source/scripts/_00e_nq_g_07_petrifiedcombatsc.psc b/source/scripts/_00e_nq_g_07_petrifiedcombatsc.psc index 933dd247..4253ad2a 100644 --- a/source/scripts/_00e_nq_g_07_petrifiedcombatsc.psc +++ b/source/scripts/_00e_nq_g_07_petrifiedcombatsc.psc @@ -51,7 +51,7 @@ Event OnUpdate() If __Config_fShieldStrength > 0 - akSelf.RestoreAV("Health", akSelf.GetBaseAV("Health")) + akSelf.RestoreActorValue("Health", akSelf.GetBaseActorValue("Health")) StopProtectiveBarrier() EndIf diff --git a/source/scripts/_00e_peaceweedplayeraliasscript.psc b/source/scripts/_00e_peaceweedplayeraliasscript.psc index 248ecbe2..53cf45fa 100644 --- a/source/scripts/_00e_peaceweedplayeraliasscript.psc +++ b/source/scripts/_00e_peaceweedplayeraliasscript.psc @@ -232,14 +232,14 @@ EndFunction Function ApplySmokingSideEffects(Ingredient peaceweedIngredient, Float fReduceFeverValue) PlayerRef.RemoveItem(peaceweedIngredient, 1) - Float fCurrentFever = -1.0 * PlayerRef.GetAV("LastFlattered") + Float fCurrentFever = -1.0 * PlayerRef.GetActorValue("LastFlattered") If fCurrentFever > 0 If fCurrentFever <= fReduceFeverValue - PlayerRef.ModAV("LastFlattered", fCurrentFever) + PlayerRef.ModActorValue("LastFlattered", fCurrentFever) _00E_AlchAmbrosia_sArcaneFeverDecreased.Show(fCurrentFever, 0) Else - PlayerRef.ModAV("LastFlattered", fReduceFeverValue) - _00E_AlchAmbrosia_sArcaneFeverDecreased.Show(fReduceFeverValue, -1.0 * PlayerRef.GetAV("LastFlattered")) + PlayerRef.ModActorValue("LastFlattered", fReduceFeverValue) + _00E_AlchAmbrosia_sArcaneFeverDecreased.Show(fReduceFeverValue, -1.0 * PlayerRef.GetActorValue("LastFlattered")) EndIf EndIf diff --git a/source/scripts/_00e_phasmalist_newapparitionalias.psc b/source/scripts/_00e_phasmalist_newapparitionalias.psc index 00086278..efccb21f 100644 --- a/source/scripts/_00e_phasmalist_newapparitionalias.psc +++ b/source/scripts/_00e_phasmalist_newapparitionalias.psc @@ -182,23 +182,23 @@ Function Setup() ApplyClassBoost(akSelf, BOOST_CLASS_WARRIOR, _00E_Class_Phasmalist_P05_C_Violence_01, _00E_Class_Phasmalist_P05_C_Violence_02, _00E_Class_Phasmalist_P05_C_Violence_03) If PlayerREF.HasPerk(_00E_Class_Phasmalist_P08_A_EssenceSplit) - Float fMaxAttributeValue = PlayerREF.GetBaseAV("Health") - Float fPlayerMagicka = PlayerREF.GetBaseAV("Magicka") + Float fMaxAttributeValue = PlayerREF.GetBaseActorValue("Health") + Float fPlayerMagicka = PlayerREF.GetBaseActorValue("Magicka") If fPlayerMagicka > fMaxAttributeValue fMaxAttributeValue = fPlayerMagicka EndIf - Float fPlayerStamina = PlayerREF.GetBaseAV("Stamina") + Float fPlayerStamina = PlayerREF.GetBaseActorValue("Stamina") If fPlayerStamina > fMaxAttributeValue fMaxAttributeValue = fPlayerStamina EndIf - akSelf.ForceActorValue("Health", ((akSelf.GetBaseAV("Health") + fMaxAttributeValue * fPlayerStatsMult) * fAttributeMult) as int) - akSelf.ForceActorValue("Magicka", (((akSelf.GetBaseAV("Magicka") + fMaxAttributeValue * fPlayerStatsMult) * fAttributeMult) as int) + iCurrentBoostMagicka) - akSelf.ForceActorValue("Stamina", ((akSelf.GetBaseAV("Stamina") + fMaxAttributeValue * fPlayerStatsMult) * fAttributeMult) as int) + akSelf.ForceActorValue("Health", ((akSelf.GetBaseActorValue("Health") + fMaxAttributeValue * fPlayerStatsMult) * fAttributeMult) as int) + akSelf.ForceActorValue("Magicka", (((akSelf.GetBaseActorValue("Magicka") + fMaxAttributeValue * fPlayerStatsMult) * fAttributeMult) as int) + iCurrentBoostMagicka) + akSelf.ForceActorValue("Stamina", ((akSelf.GetBaseActorValue("Stamina") + fMaxAttributeValue * fPlayerStatsMult) * fAttributeMult) as int) Else - akSelf.ForceActorValue("Health", ((akSelf.GetBaseAV("Health") + PlayerREF.GetBaseAV("Health") * fPlayerStatsMult) * fAttributeMult) as int) - akSelf.ForceActorValue("Magicka", (((akSelf.GetBaseAV("Magicka") + PlayerREF.GetBaseAV("Magicka") * fPlayerStatsMult) * fAttributeMult) as int) + iCurrentBoostMagicka) - akSelf.ForceActorValue("Stamina", ((akSelf.GetBaseAV("Stamina") + PlayerREF.GetBaseAV("Stamina") * fPlayerStatsMult) * fAttributeMult) as int) + akSelf.ForceActorValue("Health", ((akSelf.GetBaseActorValue("Health") + PlayerREF.GetBaseActorValue("Health") * fPlayerStatsMult) * fAttributeMult) as int) + akSelf.ForceActorValue("Magicka", (((akSelf.GetBaseActorValue("Magicka") + PlayerREF.GetBaseActorValue("Magicka") * fPlayerStatsMult) * fAttributeMult) as int) + iCurrentBoostMagicka) + akSelf.ForceActorValue("Stamina", ((akSelf.GetBaseActorValue("Stamina") + PlayerREF.GetBaseActorValue("Stamina") * fPlayerStatsMult) * fAttributeMult) as int) EndIf EndFunction diff --git a/source/scripts/_00e_playerhousingmaster.psc b/source/scripts/_00e_playerhousingmaster.psc index 1fa3c3e4..2e3667d5 100644 --- a/source/scripts/_00e_playerhousingmaster.psc +++ b/source/scripts/_00e_playerhousingmaster.psc @@ -123,11 +123,11 @@ Function EnterPlacementMode() Game.SetInChargen(true, true, false) ; Forbid saving the game while placing stuff ; Make the player over encumbered to prevent them from the default running and in general to slow them down - fPlacementModeCarryWeightMod = Player.GetAV("CarryWeight") * 2.0 + fPlacementModeCarryWeightMod = Player.GetActorValue("CarryWeight") * 2.0 If fPlacementModeCarryWeightMod < 1000.0 fPlacementModeCarryWeightMod = 1000.0 EndIf - Player.ModAV("CarryWeight", -fPlacementModeCarryWeightMod) + Player.ModActorValue("CarryWeight", -fPlacementModeCarryWeightMod) bGamepadMode = Game.UsingGamepad() If bGamepadMode == False @@ -142,7 +142,7 @@ Function ExitPlacementMode() If bIsInPlacementMode bIsInPlacementMode = False If fPlacementModeCarryWeightMod != 0.0 - Player.ModAV("CarryWeight", fPlacementModeCarryWeightMod) + Player.ModActorValue("CarryWeight", fPlacementModeCarryWeightMod) fPlacementModeCarryWeightMod = 0.0 EndIf Game.SetInChargen(false, true, false) ; Re-allow saving diff --git a/source/scripts/_00e_questfunctions.psc b/source/scripts/_00e_questfunctions.psc index e07bd827..f31554f1 100644 --- a/source/scripts/_00e_questfunctions.psc +++ b/source/scripts/_00e_questfunctions.psc @@ -397,7 +397,7 @@ EndFunction Function PriestHeal() {Called in dialoges with priests} - PlayerREF.RestoreActorValue("Health", PlayerREF.GetAV("Health")) + PlayerREF.RestoreActorValue("Health", PlayerREF.GetActorValue("Health")) _00E_PriestCureDiseases.Cast(PlayerREF, PlayerREF) EndFunction @@ -660,7 +660,7 @@ EndFunction Function VisionEffectTimestopStop(bool bMovementHasBeenLocked = False) - float fSpeedMultBefore = PlayerREF.GetAV("speedMult") + float fSpeedMultBefore = PlayerREF.GetActorValue("speedMult") PlayerREF.SetGhost(False) Game.DisablePlayerControls() @@ -686,10 +686,10 @@ Function VisionEffectTimestopStop(bool bMovementHasBeenLocked = False) _00E_VisionShaderParticles.Remove(0.5) _00E_VisionEndImod.ApplyCrossFade(1) Wait(0.5) - PlayerREF.SetAV("speedMult", fPlayerSpeedBeforeVision) + PlayerREF.SetActorValue("speedMult", fPlayerSpeedBeforeVision) - If PlayerREF.GetAV("speedMult") < 50 - PlayerREF.SetAV("speedMult", 100) + If PlayerREF.GetActorValue("speedMult") < 50 + PlayerREF.SetActorValue("speedMult", 100) EndIf UpdateSpeed(PlayerREF) @@ -798,8 +798,8 @@ Function VisionEffectNoTimestopStop(Formlist RefsInvolved, Formlist ActorsToFree _00E_SilenceAbruptHighPriority.Remove() PlayerREF.RemovePerk(_00E_VisionPerk) - If PlayerREF.GetAV("speedMult") < 50 - PlayerREF.SetAV("speedMult", 100) + If PlayerREF.GetActorValue("speedMult") < 50 + PlayerREF.SetActorValue("speedMult", 100) EndIf UpdateSpeed(PlayerREF) diff --git a/source/scripts/_00e_restorecooldownselfsc.psc b/source/scripts/_00e_restorecooldownselfsc.psc index 10fbb8fc..8211797a 100644 --- a/source/scripts/_00e_restorecooldownselfsc.psc +++ b/source/scripts/_00e_restorecooldownselfsc.psc @@ -14,7 +14,7 @@ Event OnEffectStart(actor akTarget, Actor akCaster) ; Debug.MessageBox("Player cooldown is" + (PlayerREF.GetVoiceRecoveryTime() as Int) + ", quicken by " + iQuicken as Int) Float Manacost = Self.GetMagnitude() PlayerREF.SetVoiceRecoveryTime((PlayerRef.GetVoiceRecoveryTime() - iQuicken)) - PlayerREF.DamageAV("Magicka", ManaRequired) + PlayerREF.DamageActorValue("Magicka", ManaRequired) EndIf EndEvent diff --git a/source/scripts/_00e_test_damagefeedbacksc.psc b/source/scripts/_00e_test_damagefeedbacksc.psc index bf171c97..9ba9b594 100644 --- a/source/scripts/_00e_test_damagefeedbacksc.psc +++ b/source/scripts/_00e_test_damagefeedbacksc.psc @@ -12,7 +12,7 @@ EndEvent Event OnUpdate() - fHealth = Self.GetAV("Health") + fHealth = Self.GetActorValue("Health") EndEvent diff --git a/source/scripts/_00e_testquest_functions.psc b/source/scripts/_00e_testquest_functions.psc index 6e83819a..4e31272e 100644 --- a/source/scripts/_00e_testquest_functions.psc +++ b/source/scripts/_00e_testquest_functions.psc @@ -8,7 +8,7 @@ EndFunction Function StartYuslanWalkingScene() - Trailer_Yuslan_REF.SetAV("SpeedMult", 0.80) + Trailer_Yuslan_REF.SetActorValue("SpeedMult", 0.80) Trailer_Yuslan_REF.MoveTo(Trailer_Yuslan_WalkStartREF) Trailer_Yuslan_MirrorSC.ForceStart() diff --git a/source/scripts/_00e_theriantrophist_playeraswerewolf.psc b/source/scripts/_00e_theriantrophist_playeraswerewolf.psc index b0728c13..739f4657 100644 --- a/source/scripts/_00e_theriantrophist_playeraswerewolf.psc +++ b/source/scripts/_00e_theriantrophist_playeraswerewolf.psc @@ -90,7 +90,7 @@ Function Transform(int duration) bool bWasParalyzed Actor player = self.getActorReference() - while player.GetAV("Paralysis") == 1 + while player.GetActorValue("Paralysis") == 1 bWasParalyzed = true Utility.Wait(1) endwhile @@ -101,7 +101,7 @@ Function Transform(int duration) fPlayerScale = player.GetScale() EquipementStorage.saveEquippedItems() - float preTransformDmgResist = player.GetAV("damageResist") + float preTransformDmgResist = player.GetActorValue("damageResist") _00E_Theriantrophist_WolfFormSP.setNthEffectDuration(0, duration) _00E_Theriantrophist_WolfFormSP.Cast(player) WolfAttributes.SetInWolfForm(true) @@ -250,23 +250,23 @@ Endfunction Function _InitStats(float preTransformDmgResist) Actor player = self.getActorReference() - Float boostAttribute = player.getAV("stamina") - 90 - if player.hasPerk(_00E_Class_Theriantrophist_P09c_AetherBlood) && player.getAV("magicka") - 88 > boostAttribute - boostAttribute = player.getAV("magicka") - 88 + Float boostAttribute = player.GetActorValue("stamina") - 90 + if player.hasPerk(_00E_Class_Theriantrophist_P09c_AetherBlood) && player.GetActorValue("magicka") - 88 > boostAttribute + boostAttribute = player.GetActorValue("magicka") - 88 EndIf ; damage, health and stamina in werewolf form are boosted by this factor - Float boostFactor = 1 + player.getAV("alchemy") * AlchemyPercentage + boostAttribute * StaminaPercentage - Float boostFactorLifeStamina = 1 + player.getAV("alchemy") * AlchemyPercentage + Float boostFactor = 1 + player.GetActorValue("alchemy") * AlchemyPercentage + boostAttribute * StaminaPercentage + Float boostFactorLifeStamina = 1 + player.GetActorValue("alchemy") * AlchemyPercentage - float fHealthMod = player.getBaseAV("health") * boostFactorLifeStamina * (1 - BalancingHealthMalusPercent / 100.0) - float fStaminaMod = player.getBaseAV("stamina") * boostFactorLifeStamina * (1 - BalancingStaminaMalusPercent / 100.0) + float fHealthMod = player.GetBaseActorValue("health") * boostFactorLifeStamina * (1 - BalancingHealthMalusPercent / 100.0) + float fStaminaMod = player.GetBaseActorValue("stamina") * boostFactorLifeStamina * (1 - BalancingStaminaMalusPercent / 100.0) WolfAttributes.ModWolfHealth(fHealthMod) WolfAttributes.ModWolfStamina(fStaminaMod) float fClawDamage = boostFactor * _CalcWeaponSpellStrength(player) * (1 - BalancingDamageMalusPercent / 100.0) - float ClawDamageBonus = player.GetAV("LastBribedIntimidated") + float ClawDamageBonus = player.GetActorValue("LastBribedIntimidated") WolfAttributes.ForceWolfUnarmedDmg(fClawDamage + ClawDamageBonus) float fDamageResistBonus = BoostFactorInfluenceOnArmor * boostFactor @@ -295,7 +295,7 @@ EndFunction Float Function _GuessPlayerSkillInSpellSchool(Actor player, Spell s) String guessedSchool = s.getNthEffectMagicEffect(0).getAssociatedSkill() - return player.getAV(guessedSchool) + return player.GetActorValue(guessedSchool) EndFunction Int Function _CalcNumberOfPerksPlayerHas(Perk[] perks) diff --git a/source/scripts/_00e_theriantrophist_transformstorage.psc b/source/scripts/_00e_theriantrophist_transformstorage.psc index bf3a3b7a..08662246 100644 --- a/source/scripts/_00e_theriantrophist_transformstorage.psc +++ b/source/scripts/_00e_theriantrophist_transformstorage.psc @@ -71,7 +71,7 @@ int Function GetWeaponDamage(Weapon weapID) endif - iDamage = ((weapID.GetBaseDamage()*weapID.getSpeed())*(1+((akplayer.GetAV(scalingAV)*0.55)/100))*(1+(fPerkMod/100))) as Int + iDamage = ((weapID.GetBaseDamage()*weapID.getSpeed())*(1+((akplayer.GetActorValue(scalingAV)*0.55)/100))*(1+(fPerkMod/100))) as Int return iDamage EndFunction diff --git a/source/scripts/_00e_theriantrophist_werewolfpotion.psc b/source/scripts/_00e_theriantrophist_werewolfpotion.psc index ece09d5f..55124ab1 100644 --- a/source/scripts/_00e_theriantrophist_werewolfpotion.psc +++ b/source/scripts/_00e_theriantrophist_werewolfpotion.psc @@ -17,8 +17,8 @@ Actor Property PlayerREF Auto Function _AddArcaneFever() Float arcaneFever = _GetAdditionalArcaneFever() - PlayerREF.ModAV("LastFlattered", -arcaneFever) - _00E_Player_sArcaneFeverIncreased.Show(arcaneFever, -1*(PlayerREF.GetAV("LastFlattered"))) + PlayerREF.ModActorValue("LastFlattered", -arcaneFever) + _00E_Player_sArcaneFeverIncreased.Show(arcaneFever, -1*(PlayerREF.GetActorValue("LastFlattered"))) _00E_ArkanistenfieberIMOD.Apply() _00E_FS_IncreaseArcaneFeverM.Play(PlayerREF) diff --git a/source/scripts/_00e_theriantrophist_wolfattributes.psc b/source/scripts/_00e_theriantrophist_wolfattributes.psc index 6b36d61f..f190976e 100644 --- a/source/scripts/_00e_theriantrophist_wolfattributes.psc +++ b/source/scripts/_00e_theriantrophist_wolfattributes.psc @@ -47,13 +47,13 @@ Endfunction Function ModWolfHealth(Float mod) healthMod += mod - PlayerREF.modAV("health", mod) + PlayerREF.ModActorValue("health", mod) UpdateDisplaySpell(_00E_Theriantrophist_DisplayHealthSpell, healthMod) Endfunction Function ModWolfStamina(Float mod) staminaMod += mod - PlayerREF.modAV("stamina", mod) + PlayerREF.ModActorValue("stamina", mod) UpdateDisplaySpell(_00E_Theriantrophist_DisplayStaminaSpell, staminaMod) EndFunction @@ -89,7 +89,7 @@ EndFunction Function ForceWolfSpeedMult(Float value) speedMult = value - PlayerREF.setAV("speedMult", speedMult + temporarySpeedMultMod) + PlayerREF.SetActorValue("speedMult", speedMult + temporarySpeedMultMod) updateSpeedMult() UpdateDisplaySpell(_00E_Theriantrophist_DisplaySpeedMultSpell, speedMult - 100) EndFunction @@ -109,7 +109,7 @@ Function ModWolfAV(String attribute, Float mod) elseif (attribute == "damageResist") ModWolfDamageResist(mod) elseif (attribute == "speedMult") - ForceWolfSpeedMult(PlayerREF.getAV("speedMult") + mod) + ForceWolfSpeedMult(PlayerREF.GetActorValue("speedMult") + mod) EndIf EndFunction @@ -124,9 +124,9 @@ EndFunction Function updateAfterRaceSwitch(bool toWolf) ForceWolfSpeedMult(speedMult) if (toWolf) - PlayerREF.modAV("CarryWeight", carryCapacityMod) + PlayerREF.ModActorValue("CarryWeight", carryCapacityMod) else - PlayerREF.modAV("CarryWeight", -carryCapacityMod) + PlayerREF.ModActorValue("CarryWeight", -carryCapacityMod) Endif EndFunction @@ -138,9 +138,9 @@ State WolfForm damageResist = 0 healthMod = 0 staminaMod = 0 - carryCapacityMod = PlayerREF.getAV("CarryWeight") - WerewolfBaseCarryCapacity + carryCapacityMod = PlayerREF.GetActorValue("CarryWeight") - WerewolfBaseCarryCapacity - humanSpeedMult = PlayerREF.getAV("speedMult") + humanSpeedMult = PlayerREF.GetActorValue("speedMult") ; If the player is under the influence of a slowdown magic effect, take the player's normal speedMult from Fame AV. See FrostSlowFix.psc Float fFame = PlayerREF.GetBaseActorValue("Fame") If fFame > humanSpeedMult @@ -153,12 +153,12 @@ State WolfForm Endevent Event OnEndState() - if (healthMod > PlayerREF.getAV("health")) - PlayerREF.restoreAV("health", healthMod - PlayerREF.getAV("health") + 1) + if (healthMod > PlayerREF.GetActorValue("health")) + PlayerREF.RestoreActorValue("health", healthMod - PlayerREF.GetActorValue("health") + 1) Endif - PlayerREF.modAV("health", -healthMod) - PlayerREF.modAV("stamina", -staminaMod) - PlayerREF.setAV("speedMult", humanSpeedMult) + PlayerREF.ModActorValue("health", -healthMod) + PlayerREF.ModActorValue("stamina", -staminaMod) + PlayerREF.SetActorValue("speedMult", humanSpeedMult) temporarySpeedMultMod = 0 updateSpeedMult() @@ -171,7 +171,7 @@ State WolfForm Function renewNotPersistentStats() Utility.wait(0.5) - PlayerREF.setAV("speedMult", speedMult + temporarySpeedMultMod) + PlayerREF.SetActorValue("speedMult", speedMult + temporarySpeedMultMod) updateSpeedMult() ForceWolfDamageResist(damageResist) ForceWolfUnarmedDmg(unarmedDamage) diff --git a/source/scripts/_00e_theriantrophist_wolfformsc.psc b/source/scripts/_00e_theriantrophist_wolfformsc.psc index 3be7a136..e13b907d 100644 --- a/source/scripts/_00e_theriantrophist_wolfformsc.psc +++ b/source/scripts/_00e_theriantrophist_wolfformsc.psc @@ -143,7 +143,7 @@ Function Transform() if PlayerREF.HasPerk(_00E_Class_Theriantrophist_P10_BlackAlchemist) - PlayerREF.RestoreAV("Health", PlayerREF.GetBaseAV("Health")*BlackAlchemistHealpercentage) + PlayerREF.RestoreActorValue("Health", PlayerREF.GetBaseActorValue("Health")*BlackAlchemistHealpercentage) _00E_FS_Theriantrophist_WolfHealFXS.Cast(PlayerREF, PlayerREF) MAGRestorationFFFire.Play(PlayerREF) diff --git a/source/scripts/_00e_waterblade_tome_onslaughtbooksc.psc b/source/scripts/_00e_waterblade_tome_onslaughtbooksc.psc index fdb2d66a..269eeb30 100644 --- a/source/scripts/_00e_waterblade_tome_onslaughtbooksc.psc +++ b/source/scripts/_00e_waterblade_tome_onslaughtbooksc.psc @@ -8,7 +8,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster) if TalentPoints.GetValueInt() > 0 TalentPoints.SetValueInt(TalentPoints.GetValueInt() - 1) - PlayerREF.SetAV("dragonsouls", TalentPoints.GetValueInt()) + PlayerREF.SetActorValue("dragonsouls", TalentPoints.GetValueInt()) int iPlayerTalentLevel = GetPlayerTalentLevel(_00E_Class_WarriorPerk_Talent_Onslaught, _00E_Class_WarriorPerk_Talent_Onslaught2, _00E_Class_WarriorPerk_Talent_Onslaught3) diff --git a/source/scripts/_fs_phasmalist_controlquest.psc b/source/scripts/_fs_phasmalist_controlquest.psc index c19eb819..990b48f9 100644 --- a/source/scripts/_fs_phasmalist_controlquest.psc +++ b/source/scripts/_fs_phasmalist_controlquest.psc @@ -129,7 +129,7 @@ Function ForceInventoryContainerLoad(ObjectReference cont) EndFunction Function AddEnchantmentItem() - PlayerREF.AddItem(_00E_Phasmalist_Invis_EnchantmentRequirement, PlayerREF.GetAV("Enchanting") as int, True) + PlayerREF.AddItem(_00E_Phasmalist_Invis_EnchantmentRequirement, PlayerREF.GetActorValue("Enchanting") as int, True) EndFunction Function RemoveEnchantmentItem(Int _iDefault = 0) diff --git a/source/scripts/atronachfrostscript.psc b/source/scripts/atronachfrostscript.psc index 08c89a34..ead1fdcf 100644 --- a/source/scripts/atronachfrostscript.psc +++ b/source/scripts/atronachfrostscript.psc @@ -28,7 +28,7 @@ int atronachHealth ENDEVENT EVENT onDying(actor myKiller) - atronachHealth = selfRef.GetAV("Health") as int + atronachHealth = selfRef.GetActorValue("Health") as int if atronachHealth > 0 ; debug.trace("frost health > 0") AtronachFrostFXS.Stop(selfRef) diff --git a/source/scripts/defaultsetlinkavvar.psc b/source/scripts/defaultsetlinkavvar.psc index 754efb72..3be852d4 100644 --- a/source/scripts/defaultsetlinkavvar.psc +++ b/source/scripts/defaultsetlinkavvar.psc @@ -19,7 +19,7 @@ bool property doOnce auto function ActivateNow(objectReference triggerRef) ObjectReference myLink = getLinkedRef() Actor myActor = myLink as actor - myActor.SetAV(sActorVariable, fActorVariable) + myActor.SetActorValue(sActorVariable, fActorVariable) myActor.EvaluatePackage() if doOnce == true gotoState("allDone") diff --git a/source/scripts/defaultsetmultiavtriggerscript.psc b/source/scripts/defaultsetmultiavtriggerscript.psc index 4bdbd358..35cfc933 100644 --- a/source/scripts/defaultsetmultiavtriggerscript.psc +++ b/source/scripts/defaultsetmultiavtriggerscript.psc @@ -21,19 +21,19 @@ auto State Waiting Event onTriggerEnter(ObjectReference obj) if (!onlyPlayer || obj == GetPlayer()) if (Actor1 != None) - (Actor1 as Actor).SetAV(ActorValueName, ActorValueValue) + (Actor1 as Actor).SetActorValue(ActorValueName, ActorValueValue) EndIf if (Actor2 != None) - (Actor2 as Actor).SetAV(ActorValueName, ActorValueValue) + (Actor2 as Actor).SetActorValue(ActorValueName, ActorValueValue) EndIf if (Actor3 != None) - (Actor3 as Actor).SetAV(ActorValueName, ActorValueValue) + (Actor3 as Actor).SetActorValue(ActorValueName, ActorValueValue) EndIf if (Actor4 != None) - (Actor4 as Actor).SetAV(ActorValueName, ActorValueValue) + (Actor4 as Actor).SetActorValue(ActorValueName, ActorValueValue) EndIf if (Actor5 != None) - (Actor5 as Actor).SetAV(ActorValueName, ActorValueValue) + (Actor5 as Actor).SetActorValue(ActorValueName, ActorValueValue) EndIf if (evalPackageAfterwards) diff --git a/source/scripts/dialoguefollowerscript.psc b/source/scripts/dialoguefollowerscript.psc index 1788277e..14178755 100644 --- a/source/scripts/dialoguefollowerscript.psc +++ b/source/scripts/dialoguefollowerscript.psc @@ -31,7 +31,7 @@ Function SetFollower(ObjectReference FollowerRef) FollowerActor.SetRelationshipRank(Game.GetPlayer(), 3) EndIf FollowerActor.SetPlayerTeammate() - ;FollowerActor.SetAV("Morality", 0) + ;FollowerActor.SetActorValue("Morality", 0) pFollowerAlias.ForceRefTo(FollowerActor) pPlayerFollowerCount.SetValue(1) @@ -41,7 +41,7 @@ Function SetAnimal(ObjectReference AnimalRef) actor AnimalActor= AnimalRef as Actor ;don't allow lockpicking - AnimalActor.SetAV("Lockpicking", 0) + AnimalActor.SetActorValue("Lockpicking", 0) AnimalActor.SetRelationshipRank(Game.GetPlayer(), 3) AnimalActor.SetPlayerTeammate(abCanDoFavor = false) pAnimalAlias.ForceRefTo(AnimalActor) @@ -53,7 +53,7 @@ EndFunction Function FollowerWait() actor FollowerActor = pFollowerAlias.GetActorRef() as Actor - FollowerActor.SetAv("WaitingForPlayer", 1) + FollowerActor.SetActorValue("WaitingForPlayer", 1) ;SetObjectiveDisplayed(10, abforce = true) ;follower will wait 3 days pFollowerAlias.RegisterForUpdateGameTime(72) @@ -63,7 +63,7 @@ EndFunction Function AnimalWait() actor AnimalActor = pAnimalAlias.GetActorRef() as Actor - AnimalActor.SetAv("WaitingForPlayer", 1) + AnimalActor.SetActorValue("WaitingForPlayer", 1) ;SetObjectiveDisplayed(20, abforce = true) ;follower will wait 3 days pAnimalAlias.RegisterForUpdateGameTime(72) @@ -73,7 +73,7 @@ EndFunction Function FollowerFollow() actor FollowerActor = pFollowerAlias.GetActorRef() as Actor - FollowerActor.SetAv("WaitingForPlayer", 0) + FollowerActor.SetActorValue("WaitingForPlayer", 0) SetObjectiveDisplayed(10, abdisplayed = false) EndFunction @@ -81,7 +81,7 @@ EndFunction Function AnimalFollow() actor AnimalActor = pAnimalAlias.GetActorRef() as Actor - AnimalActor.SetAv("WaitingForPlayer", 0) + AnimalActor.SetActorValue("WaitingForPlayer", 0) SetObjectiveDisplayed(20, abdisplayed = false) EndFunction @@ -110,7 +110,7 @@ Function DismissFollower(Int iMessage = 0, Int iSayLine = 1) DismissedFollowerActor.AddToFaction(pDismissedFollower) DismissedFollowerActor.SetPlayerTeammate(false) DismissedFollowerActor.RemoveFromFaction(pCurrentHireling) - DismissedFollowerActor.SetAV("WaitingForPlayer", 0) + DismissedFollowerActor.SetActorValue("WaitingForPlayer", 0) ; PATCH 1.9: 77615: remove unplayable hunting bow when follower is dismissed DismissedFollowerActor.RemoveItem(FollowerHuntingBow, 999, true) diff --git a/source/scripts/dunhalldirghostambushscript.psc b/source/scripts/dunhalldirghostambushscript.psc index a6570940..a5999bb4 100644 --- a/source/scripts/dunhalldirghostambushscript.psc +++ b/source/scripts/dunhalldirghostambushscript.psc @@ -10,9 +10,9 @@ auto State waiting Utility.Wait(2) self.SetAlpha(0) GhostShader.Stop(self) - self.setAV("Aggression", 0) + self.SetActorValue("Aggression", 0) If helpAlliesOnTrigger - self.setAV("Assistance", 0) ; Help nobody + self.SetActorValue("Assistance", 0) ; Help nobody EndIf EndEvent @@ -25,7 +25,7 @@ auto State waiting EndIf ;set actor variables - self.setAV(ACTOR_VARIABLE, ACTOR_VARIABLE_ON_TRIGGER) + self.SetActorValue(ACTOR_VARIABLE, ACTOR_VARIABLE_ON_TRIGGER) _RaiseAggression() ;NEW for this variant. Ghost fades in and solidifies when activated. diff --git a/source/scripts/favordialoguescript.psc b/source/scripts/favordialoguescript.psc index 11a87ae3..f2858e05 100644 --- a/source/scripts/favordialoguescript.psc +++ b/source/scripts/favordialoguescript.psc @@ -48,7 +48,7 @@ Function Persuade(Actor pTarget) ;trace("Persuade: " + pTarget) ; give player skill uses SkillUseMultiplier = SpeechSkillMult.value - SkillUsePersuade = SkillUseMultiplier * Game.GetPlayer().GetAv("Speechcraft") + SkillUsePersuade = SkillUseMultiplier * Game.GetPlayer().GetActorValue("Speechcraft") ;trace(self + "Current Skill uses given: " + SkillUsePersuade + " times the Skill Use Multiplier") AdvanceSkill("Speechcraft", SkillUsePersuade) Game.IncrementStat( "Persuasions" ) @@ -61,7 +61,7 @@ Function ArrestPersuade(Actor pTarget) ;trace("Persuade: " + pTarget) ; give player skill uses SkillUseMultiplier = SpeechSkillMult.value - SkillUsePersuade = SkillUseMultiplier * Game.GetPlayer().GetAv("Speechcraft") + SkillUsePersuade = SkillUseMultiplier * Game.GetPlayer().GetActorValue("Speechcraft") AdvanceSkill("Speechcraft", SkillUsePersuade) Game.IncrementStat( "Persuasions" ) if ( Game.QueryStat( "Bribes" ) && Game.QueryStat( "Intimidations" ) ) @@ -76,7 +76,7 @@ endFunction Function Bribe(Actor pTarget) ;trace("Bribe: " + pTarget) SkillUseMultiplier = SpeechSkillMult.value - SkillUseBribe = SkillUseMultiplier * Game.GetPlayer().GetAv("Speechcraft") + SkillUseBribe = SkillUseMultiplier * Game.GetPlayer().GetActorValue("Speechcraft") ;trace(self + "Current Skill uses given: " + SkillUseBribe + " times the Skill Use Multiplier") if pTarget.GetBribeAmount() <= GetPlayer().GetGoldAmount() ; remove gold @@ -99,7 +99,7 @@ endFunction Function Intimidate(Actor pTarget) ;trace("Intimidate: " + pTarget) SkillUseMultiplier = SpeechSkillMult.value - SkillUseIntimidate = SkillUseMultiplier * Game.GetPlayer().GetAv("Speechcraft") + SkillUseIntimidate = SkillUseMultiplier * Game.GetPlayer().GetActorValue("Speechcraft") ;trace(self + "Current Skill uses given: " + SkillUseIntimidate + " times the Skill Use Multiplier") ; intimidate actor pTarget.SetIntimidated() diff --git a/source/scripts/flameatronacheffectscript.psc b/source/scripts/flameatronacheffectscript.psc index d8058ea1..1a064b29 100644 --- a/source/scripts/flameatronacheffectscript.psc +++ b/source/scripts/flameatronacheffectscript.psc @@ -35,7 +35,7 @@ int atronachHealth ENDEVENT EVENT onDying(actor myKiller) - atronachHealth = selfRef.GetAV("Health") as int + atronachHealth = selfRef.GetActorValue("Health") as int if atronachHealth > 0 ; debug.trace("flame health > 0") AtronachFlameTrail.Stop(selfRef) diff --git a/source/scripts/fs_nqr05_bossfightabnormalitysc.psc b/source/scripts/fs_nqr05_bossfightabnormalitysc.psc index 0516dee8..57bf3f24 100644 --- a/source/scripts/fs_nqr05_bossfightabnormalitysc.psc +++ b/source/scripts/fs_nqr05_bossfightabnormalitysc.psc @@ -93,10 +93,10 @@ State Invulnerability ;SoulTrapPVFX02.Play(self, -1, heart) Utility.wait(1.0) FS_NQR05_TharaelREF.Say(FS_NQR05_Warnings_Invulnerability) - oldAttackDmgMult = Self.getAV("attackdamagemult") + oldAttackDmgMult = Self.GetActorValue("attackdamagemult") Utility.wait(3.0) self.setghost(True) - Self.setAV("attackdamagemult", attackDamageMultDuringInvulnerability) + Self.SetActorValue("attackdamagemult", attackDamageMultDuringInvulnerability) self.addspell(_FS_NQR05_BossfightFireCloakSP) placeatme(_00E_FS_NQR05_PerversionExp) Self.RegisterForSingleUpdate(invulnerabilityLength) @@ -111,7 +111,7 @@ State Invulnerability Event OnUpdate() MAGFireBoltEXCastImod.Apply() self.setghost(False) - Self.setAV("attackdamagemult", oldAttackDmgMult) + Self.SetActorValue("attackdamagemult", oldAttackDmgMult) self.removespell(_FS_NQR05_BossfightFireCloakSP) MAGCloakOut.Play(Self) SoulTrapPVFX02.stop(self) diff --git a/source/scripts/fxatronachstormscript.psc b/source/scripts/fxatronachstormscript.psc index 9f6226ec..df1929ad 100644 --- a/source/scripts/fxatronachstormscript.psc +++ b/source/scripts/fxatronachstormscript.psc @@ -47,7 +47,7 @@ actor selfRef endEvent EVENT onDying(actor myKiller) - atronachHealth = selfRef.GetAV("Health") as int + atronachHealth = selfRef.GetActorValue("Health") as int if atronachHealth > 0 ; debug.trace("health > 0") ;USKP 2.0.3 - Sanity checks added in case properties are not assigned. Ash Guardians in Dragonborn for example. diff --git a/source/scripts/masterambushscript.psc b/source/scripts/masterambushscript.psc index b81a74db..4592c30e 100644 --- a/source/scripts/masterambushscript.psc +++ b/source/scripts/masterambushscript.psc @@ -39,12 +39,12 @@ Bool Property dontResetAggression = false auto Event onReset() ;messagebox ("in reset") - self.setAV(ACTOR_VARIABLE, ACTOR_VARIABLE_ON_RESET) + self.SetActorValue(ACTOR_VARIABLE, ACTOR_VARIABLE_ON_RESET) If dontResetAggression == False - self.setAv("Aggression", AGGRESSION_ON_RESET) + self.SetActorValue("Aggression", AGGRESSION_ON_RESET) EndIf If helpAlliesOnTrigger - self.setAV("Assistance", 0) ; Help nobody + self.SetActorValue("Assistance", 0) ; Help nobody EndIf self.evaluatePackage() endEvent @@ -102,7 +102,7 @@ auto State waiting EndIf ;set actor variables - self.setAV(ACTOR_VARIABLE, ACTOR_VARIABLE_ON_TRIGGER) + self.SetActorValue(ACTOR_VARIABLE, ACTOR_VARIABLE_ON_TRIGGER) _RaiseAggression() ;check to see if actor has a linkedRef with this keyword, if so, then activate it @@ -123,10 +123,10 @@ EndFunction Function _RaiseAggression() If dontResetAggression == False - self.setAV("Aggression", AGGRESSION_ON_TRIGGER) + self.SetActorValue("Aggression", AGGRESSION_ON_TRIGGER) EndIf If helpAlliesOnTrigger - self.setAV("Assistance", 1) ; Help allies + self.SetActorValue("Assistance", 1) ; Help allies EndIf self.EvaluatePackage() EndFunction diff --git a/source/scripts/pf__00e_fs_ambushtest_0102edd3.psc b/source/scripts/pf__00e_fs_ambushtest_0102edd3.psc index 4d8941bf..412c94e2 100644 --- a/source/scripts/pf__00e_fs_ambushtest_0102edd3.psc +++ b/source/scripts/pf__00e_fs_ambushtest_0102edd3.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_FS_AMbushTest_0102EDD3 Extends Package Hidden ;BEGIN FRAGMENT Fragment_5 Function Fragment_5(Actor akActor) ;BEGIN CODE -akActor.setAV("Aggression", 2) +akActor.SetActorValue("Aggression", 2) ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2(Actor akActor) ;BEGIN CODE -akActor.setAV("Aggression", 2) +akActor.SetActorValue("Aggression", 2) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf__00e_mq17_sc07_ambushslee_00149715.psc b/source/scripts/pf__00e_mq17_sc07_ambushslee_00149715.psc index 53af3b34..96297d51 100644 --- a/source/scripts/pf__00e_mq17_sc07_ambushslee_00149715.psc +++ b/source/scripts/pf__00e_mq17_sc07_ambushslee_00149715.psc @@ -5,7 +5,7 @@ Scriptname PF__00E_MQ17_SC07_AmbushSlee_00149715 Extends Package Hidden ;BEGIN FRAGMENT Fragment_2 Function Fragment_2(Actor akActor) ;BEGIN CODE -akActor.setAV("Aggression", 2) +akActor.SetActorValue("Aggression", 2) ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_5 Function Fragment_5(Actor akActor) ;BEGIN CODE -akActor.setAV("Aggression", 2) +akActor.SetActorValue("Aggression", 2) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_ambushsleeplinkedref_00048abc.psc b/source/scripts/pf_ambushsleeplinkedref_00048abc.psc index 65905a15..2fcc7d8b 100644 --- a/source/scripts/pf_ambushsleeplinkedref_00048abc.psc +++ b/source/scripts/pf_ambushsleeplinkedref_00048abc.psc @@ -5,7 +5,7 @@ Scriptname PF_ambushSleepLinkedRef_00048ABC Extends Package Hidden ;BEGIN FRAGMENT Fragment_2 Function Fragment_2(Actor akActor) ;BEGIN CODE -akActor.setAV("Aggression", 2) +akActor.SetActorValue("Aggression", 2) ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_5 Function Fragment_5(Actor akActor) ;BEGIN CODE -akActor.setAV("Aggression", 2) +akActor.SetActorValue("Aggression", 2) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_ambushsleeplinkedrefspide_000812be.psc b/source/scripts/pf_ambushsleeplinkedrefspide_000812be.psc index 052230c1..90728be3 100644 --- a/source/scripts/pf_ambushsleeplinkedrefspide_000812be.psc +++ b/source/scripts/pf_ambushsleeplinkedrefspide_000812be.psc @@ -5,7 +5,7 @@ Scriptname PF_ambushSleepLinkedRefSpide_000812BE Extends Package Hidden ;BEGIN FRAGMENT Fragment_5 Function Fragment_5(Actor akActor) ;BEGIN CODE -akActor.setAV("Aggression", 2) +akActor.SetActorValue("Aggression", 2) ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2(Actor akActor) ;BEGIN CODE -akActor.setAV("Aggression", 2) +akActor.SetActorValue("Aggression", 2) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/pf_ambushsleeplinkedrefspide_0102edd1.psc b/source/scripts/pf_ambushsleeplinkedrefspide_0102edd1.psc index cd0f3005..fb979037 100644 --- a/source/scripts/pf_ambushsleeplinkedrefspide_0102edd1.psc +++ b/source/scripts/pf_ambushsleeplinkedrefspide_0102edd1.psc @@ -5,7 +5,7 @@ Scriptname PF_ambushSleepLinkedRefSpide_0102EDD1 Extends Package Hidden ;BEGIN FRAGMENT Fragment_5 Function Fragment_5(Actor akActor) ;BEGIN CODE -akActor.setAV("Aggression", 2) +akActor.SetActorValue("Aggression", 2) ;END CODE EndFunction ;END FRAGMENT @@ -13,7 +13,7 @@ EndFunction ;BEGIN FRAGMENT Fragment_2 Function Fragment_2(Actor akActor) ;BEGIN CODE -akActor.setAV("Aggression", 2) +akActor.SetActorValue("Aggression", 2) ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/qf_dgintimidatequest_0011a493.psc b/source/scripts/qf_dgintimidatequest_0011a493.psc index dad89c7e..72c6b2bb 100644 --- a/source/scripts/qf_dgintimidatequest_0011a493.psc +++ b/source/scripts/qf_dgintimidatequest_0011a493.psc @@ -62,8 +62,8 @@ Actor FriendREF = Alias_OpponentFriend.GetActorRef() (Alias_Player as _00E_DGIntimidatePlayerScript).Setup() ;make sure the opponent doesn't run -kmyquest.OpponentCon = OpponentREF.GetAV("Confidence") as int -OpponentREF.SetAv("Confidence", 4) +kmyquest.OpponentCon = OpponentREF.GetActorValue("Confidence") as int +OpponentREF.SetActorValue("Confidence", 4) ;remove player's weapons _FS_TheriantrophistControlQuest theriantrophistQuest = _FS_TheriantrophistControlQuest.getControlQuest() @@ -115,7 +115,7 @@ Actor OpponentFriendREF = Alias_OpponentFriend.GetActorRef() Actor PlayerREF = Game.GetPlayer() OpponentREF.AllowBleedoutDialogue(False) -OpponentREF.SetAv("Confidence", kmyquest.OpponentCon) +OpponentREF.SetActorValue("Confidence", kmyquest.OpponentCon) Alias_Opponent.UnregisterForUpdate() if OpponentFriendREF diff --git a/source/scripts/sf_mq08_intothedeep_scenetem_000c673e.psc b/source/scripts/sf_mq08_intothedeep_scenetem_000c673e.psc index 064f1054..8428c088 100644 --- a/source/scripts/sf_mq08_intothedeep_scenetem_000c673e.psc +++ b/source/scripts/sf_mq08_intothedeep_scenetem_000c673e.psc @@ -19,8 +19,8 @@ _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_JesparREF, True, 450, 500, 100) _00E_QuestFunctions.SetNPCAsCompanion(_00E_MC_KonstantinREF, True, 400, 100, 540) ; Set Konstantin to help allies _00E_MC_KonstantinREF.AddToFaction(PlayerAlliesFaction) -fOldKonstantinAssistance = _00E_MC_KonstantinREF.GetAV("Assistance") -_00E_MC_KonstantinREF.SetAV("Assistance", 1) +fOldKonstantinAssistance = _00E_MC_KonstantinREF.GetActorValue("Assistance") +_00E_MC_KonstantinREF.SetActorValue("Assistance", 1) _00E_MC_KonstantinREF.EvaluatePackage() ;END CODE EndFunction @@ -32,7 +32,7 @@ Function Fragment_18() Levelsystem.ResumeRandomHeadTracking() _00E_MC_KonstantinREF.RemoveFromFaction(PlayerAlliesFaction) If fOldKonstantinAssistance >= 0.0 - _00E_MC_KonstantinREF.SetAV("Assistance", fOldKonstantinAssistance) + _00E_MC_KonstantinREF.SetActorValue("Assistance", fOldKonstantinAssistance) EndIf ;END CODE EndFunction diff --git a/source/scripts/spiderwebanimationsscript.psc b/source/scripts/spiderwebanimationsscript.psc index 0b606e0d..a5bb7712 100644 --- a/source/scripts/spiderwebanimationsscript.psc +++ b/source/scripts/spiderwebanimationsscript.psc @@ -84,7 +84,7 @@ Event onUpdate() ;stopCondition is set to true by the WebDestructibleScript on the webFX reference int rand = RandomInt(1,2) Actor myActor = webActor as Actor - myActor.setav("Variable03", rand) + myActor.SetActorValue("Variable03", rand) playWebAnimations(rand) wait(5) endWhile diff --git a/source/scripts/tif__0008126f.psc b/source/scripts/tif__0008126f.psc index e55c3a25..5739a30e 100644 --- a/source/scripts/tif__0008126f.psc +++ b/source/scripts/tif__0008126f.psc @@ -7,7 +7,7 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE TalentPoints.SetValue(TalentPoints.GetValueInt() + 1) -Game.GetPlayer().SetAV("dragonsouls", TalentPoints.GetValueInt()) +Game.GetPlayer().SetActorValue("dragonsouls", TalentPoints.GetValueInt()) _00E_WishingWell_KnowledgeMessage_MemoryPoint.Show() Game.GetPlayer().SetGhost(False) _00E_WishWell_Done_Frostcliff.SetValue(2) diff --git a/source/scripts/tif__00081271.psc b/source/scripts/tif__00081271.psc index 3525f749..c78dfbf5 100644 --- a/source/scripts/tif__00081271.psc +++ b/source/scripts/tif__00081271.psc @@ -7,7 +7,7 @@ Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE TalentPoints.SetValue(TalentPoints.GetValueInt() + 1) -Game.GetPlayer().SetAV("dragonsouls", TalentPoints.GetValueInt()) +Game.GetPlayer().SetActorValue("dragonsouls", TalentPoints.GetValueInt()) _00E_WishingWell_KnowledgeMessage_MemoryPoint.Show() Game.GetPlayer().SetGhost(False) _00E_WishWell_Done_PowderDesert.SetValue(2) diff --git a/source/scripts/tif__000a838f.psc b/source/scripts/tif__000a838f.psc index 6b531db4..e971ce41 100644 --- a/source/scripts/tif__000a838f.psc +++ b/source/scripts/tif__000a838f.psc @@ -6,7 +6,7 @@ Scriptname TIF__000A838F Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE -akSpeaker.setAV("Aggression", 1.0) ; Make the bandit aggressive +akSpeaker.SetActorValue("Aggression", 1.0) ; Make the bandit aggressive ;END CODE EndFunction ;END FRAGMENT diff --git a/source/scripts/tif__00119b74.psc b/source/scripts/tif__00119b74.psc index 6dbcc782..408415ef 100644 --- a/source/scripts/tif__00119b74.psc +++ b/source/scripts/tif__00119b74.psc @@ -8,7 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE GetOwningQuest().SetStage(60) Utility.Wait(4) -Game.GetPlayer().SetActorValue("Lockpicking", Game.GetPlayer().GetBaseAV("Lockpicking")+3) +Game.GetPlayer().SetActorValue("Lockpicking", Game.GetPlayer().GetBaseActorValue("Lockpicking")+3) _00E_NQ15_sLockpickingIncreased.Show() ;END CODE EndFunction diff --git a/source/scripts/tif__00119b7e.psc b/source/scripts/tif__00119b7e.psc index e3a7c9af..623d75be 100644 --- a/source/scripts/tif__00119b7e.psc +++ b/source/scripts/tif__00119b7e.psc @@ -8,7 +8,7 @@ Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE GetOwningQuest().SetStage(60) Utility.Wait(4) -Game.GetPlayer().SetActorValue("Smithing", Game.GetPlayer().GetBaseAV("Smithing")+3) +Game.GetPlayer().SetActorValue("Smithing", Game.GetPlayer().GetBaseActorValue("Smithing")+3) _00E_NQ15_sCraftsmanshipIncreased.Show() ;END CODE EndFunction diff --git a/source/scripts/trapfallingoillampcollayer.psc b/source/scripts/trapfallingoillampcollayer.psc index 8ffb94cc..9712f188 100644 --- a/source/scripts/trapfallingoillampcollayer.psc +++ b/source/scripts/trapfallingoillampcollayer.psc @@ -26,7 +26,7 @@ auto state waiting event onHit(objectReference akAggressor, form akWeapon, projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) ; debug.Trace(self + " has been hit by " + akAggressor) - ;if self.getAV("Health") > 10 + ;if self.GetActorValue("Health") > 10 ;goToState("Triggered") switchToFalling(akAggressor) @@ -34,7 +34,7 @@ auto state waiting endEvent Event OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect) - ;if self.getAV("Health") > 10 + ;if self.GetActorValue("Health") > 10 ;goToState("Triggered") switchToFalling(akCaster) ;endif @@ -85,7 +85,7 @@ state Triggered self.setActorCause(akAggressor as actor) ;endif - ;if self.getAV("Health") > 10 + ;if self.GetActorValue("Health") > 10 ;goToState("Triggered") ;fireTrap() ;self.DamageObject(10.0) @@ -94,7 +94,7 @@ state Triggered event onTriggerEnter(objectReference triggerRef) ; debug.trace(self + " has been triggered while falling, should explode") - ;if self.getAV("Health") > 10 + ;if self.GetActorValue("Health") > 10 ;goToState("Triggered") ;fireTrap() self.DamageObject(90.0) diff --git a/source/scripts/webdestructiblescript.psc b/source/scripts/webdestructiblescript.psc index 5c3bb484..7cd2253a 100644 --- a/source/scripts/webdestructiblescript.psc +++ b/source/scripts/webdestructiblescript.psc @@ -52,7 +52,7 @@ Event OnDestructionStageChanged(int aiOldStage, int aiCurrentStage) ;if there's an actor in the web, set his variable and get him out if(webActor) Actor myActor = webActor as Actor - myActor.setav("Variable03", 5) + myActor.SetActorValue("Variable03", 5) myActor.evaluatePackage() endif diff --git a/source/scripts/wispactorscript.psc b/source/scripts/wispactorscript.psc index 8b69367e..61e9f90a 100644 --- a/source/scripts/wispactorscript.psc +++ b/source/scripts/wispactorscript.psc @@ -154,10 +154,10 @@ bool bFX = FALSE EndIf ;Set AV06 to 1 as a flag for being in this state (used in Frostmere Crypt) - selfRef.SetAV("Variable06", 1) + selfRef.SetActorValue("Variable06", 1) ;/ selfRef.setActorValue("Variable07",1) selfRef.damageActorValue("Magicka", -(selfRef.getActorValue("Magicka"))) - selfRef.setAV("Magicka", 0.0) + selfRef.SetActorValue("Magicka", 0.0) Debug.Notification("Set variables!") /; ; Dump the orbs.