ActorValueInfo * GetActorValueInfoByID(StaticFunctionTag * base, UInt32 actorValue) { ActorValueList * avList = ActorValueList::GetSingleton(); if(!avList) return NULL; return avList->GetActorValue(actorValue); }
ActorValueInfo * GetActorValueInfoByName(StaticFunctionTag * base, BSFixedString avName) { UInt32 actorValue = LookupActorValueByName(avName.data); ActorValueList * avList = ActorValueList::GetSingleton(); if(!avList) return NULL; return avList->GetActorValue(actorValue); }
BSFixedString GetResistance(EffectSetting* thisEffect) { if(!thisEffect) return ""; ActorValueList * avList = ActorValueList::GetSingleton(); if(!avList) return ""; ActorValueInfo * info = avList->GetActorValue(thisEffect->properties.resistance); if(!info) return ""; return info->name; }