diff options
author | Alexei Kotov <alexdobrohotov@yandex.ru> | 2024-02-28 09:14:19 +0000 |
---|---|---|
committer | Alexei Kotov <alexdobrohotov@yandex.ru> | 2024-02-28 09:14:19 +0000 |
commit | 9d5ef103040f51aee85a51d63cb7aa8ed1e5d959 (patch) | |
tree | 850c65306004e239c5359c1519b3afac4d4ce20f | |
parent | b9fc9f0827ecd21e8ba6a8161eb3116c742e5f8e (diff) | |
parent | c82c111ee163d9a897b43764302ed29113403f99 (diff) |
Merge branch 'Swimming-in-the-90s' into 'master'
Use correct index for Athletics_SwimOneSecond
See merge request OpenMW/openmw!3913
-rw-r--r-- | components/esm3/loadskil.hpp | 2 | ||||
-rw-r--r-- | files/data/scripts/omw/skillhandlers.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/components/esm3/loadskil.hpp b/components/esm3/loadskil.hpp index 9cae87903c..d8e365aca1 100644 --- a/components/esm3/loadskil.hpp +++ b/components/esm3/loadskil.hpp @@ -75,7 +75,7 @@ namespace ESM Speechcraft_Fail = 1, Armorer_Repair = 0, Athletics_RunOneSecond = 0, - Athletics_SwimOneSecond = 0, + Athletics_SwimOneSecond = 1, }; diff --git a/files/data/scripts/omw/skillhandlers.lua b/files/data/scripts/omw/skillhandlers.lua index f6a8ec4248..57fc224cee 100644 --- a/files/data/scripts/omw/skillhandlers.lua +++ b/files/data/scripts/omw/skillhandlers.lua @@ -32,7 +32,7 @@ local Skill = core.stats.Skill -- @field #number Speechcraft_Fail 1 -- @field #number Armorer_Repair 0 -- @field #number Athletics_RunOneSecond 0 --- @field #number Athletics_SwimOneSecond 0 +-- @field #number Athletics_SwimOneSecond 1 --- -- Table of valid sources for skill increases @@ -240,7 +240,7 @@ return { Speechcraft_Fail = 1, Armorer_Repair = 0, Athletics_RunOneSecond = 0, - Athletics_SwimOneSecond = 0, + Athletics_SwimOneSecond = 1, }, --- Trigger a skill level up, activating relevant handlers |