File tree Expand file tree Collapse file tree 5 files changed +4
-12
lines changed
Expand file tree Collapse file tree 5 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 44
55namespace ActorValueHelper
66{
7- auto GetActorValueIdFromName (const char * a_name) -> std::int32_t
8- {
9- using func_t = decltype (&ActorValueHelper::GetActorValueIdFromName);
10- REL::Relocation<func_t > func{ RELOCATION_ID (26570 , 27203 ) };
11- return func (a_name);
12- }
13-
147 auto ActorValueToString (const RE::ActorValue a_actorValue) -> RE::BSFixedString
158 {
169 switch (a_actorValue) {
Original file line number Diff line number Diff line change 44
55namespace ActorValueHelper
66{
7- auto GetActorValueIdFromName (const char * a_name) -> std::int32_t;
87 auto ActorValueToString (RE::ActorValue a_actorValue) -> RE::BSFixedString;
98}
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ namespace PapyrusObjectREFR
188188 }
189189
190190 if (const auto actor = a_ref->As <RE::Actor>(); actor) {
191- const auto actorValueId = ActorValueHelper::GetActorValueIdFromName (a_actorValue. c_str () );
191+ const auto actorValueId = RE::ActorValueList::GetSingleton ()-> LookupActorValueByName (a_actorValue );
192192 const auto actorValue = static_cast <RE::ActorValue>(actorValueId);
193193 return actor->GetPermanentActorValue (actorValue);
194194 }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ namespace PapyrusRace
1313 return -1 ;
1414 }
1515
16- const auto actorValueId = ActorValueHelper::GetActorValueIdFromName (a_actorValue. c_str () );
16+ const auto actorValueId = RE::ActorValueList::GetSingleton ()-> LookupActorValueByName (a_actorValue );
1717 const auto actorValue = static_cast <RE::ActorValue>(actorValueId);
1818
1919 for (const auto & [skill, bonus] : a_race->data .skillBoosts ) {
Original file line number Diff line number Diff line change 66
77#define FIRE_VERSION_MAJOR 1
88#define FIRE_VERSION_MINOR 0
9- #define FIRE_VERSION_PATCH 3
10- #define FIRE_VERSION_BETA 0
9+ #define FIRE_VERSION_PATCH 8
10+ #define FIRE_VERSION_BETA 1
1111#define FIRE_VERSION_VERSTRING \
1212 MAKE_STR(FIRE_VERSION_MAJOR) \
1313 "." MAKE_STR(FIRE_VERSION_MINOR) "." MAKE_STR(FIRE_VERSION_PATCH) "." MAKE_STR(FIRE_VERSION_BETA)
You can’t perform that action at this time.
0 commit comments