generated from Jaysyn/ModuleTemplate
2025/07/21 Update
Added PEPS AI Full compile.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// Dependencies: ats_inc_common
|
||||
// Trade skill stats
|
||||
|
||||
#include "ats_inc_common"
|
||||
|
||||
int ATS_GetSuccessCount(object oPlayer, string sTradeskillName)
|
||||
{
|
||||
return ATS_GetPersistentInt(oPlayer, "ats_stat_success_count_" + sTradeskillName);
|
||||
@@ -33,5 +35,5 @@ float ATS_GetSuccessRate(object oPlayer, string sTradeskillName)
|
||||
return (IntToFloat(iSuccessCount) / IntToFloat(iTotalAttempts));
|
||||
}
|
||||
|
||||
|
||||
//::void main() {}
|
||||
|
||||
|
Reference in New Issue
Block a user