Для понимания о чем речь
Agit_GetDecoFee(int, int)
как минимум,это в АИ
if( myself::Agit_GetDecoLevel( decotype_xprestore ) == 0 )
{
myself::FHTML_SetStr( fhtml0, "XP" + "Depth",
myself::MakeFString( 4, "", "", "", "", "" ) );
myself::FHTML_SetStr( fhtml0, "XP" + "Expire",
myself::MakeFString( 4, "", "", "", "", "" ) );
myself::FHTML_SetStr( fhtml0, "XP" + "Reset", "" );
}
else
{
myself::FHTML_SetStr( fhtml0, "XP" + "Depth",
myself::IntToStr( myself::Agit_GetDecoLevel( decotype_xprestore ) * 5 ) + "%" );
myself::FHTML_SetStr( fhtml0, "XP" + "Cost",
"(" + myself::MakeFString( 6, myself::IntToStr( myself::Agit_GetDecoFee( decotype_xprestore, myself::Agit_GetDecoLevel( decotype_xprestore ) ) ), myself::IntToStr( myself::Agit_GetDecoDay( decotype_xprestore, myself::Agit_GetDecoLevel( decotype_xprestore ) ) ), "", "", "" ) + ")" );
myself::FHTML_SetStr( fhtml0, "XP" + "Expire",
myself::MakeFString( 5,
myself::IntToStr( gg::GetDateTime( myself::Agit_GetDecoExpire( decotype_xprestore ),
1 ) ),
myself::IntToStr( gg::GetDateTime( myself::Agit_GetDecoExpire( decotype_xprestore ),
2 ) ),
myself::IntToStr( gg::GetDateTime( myself::Agit_GetDecoExpire( decotype_xprestore ),
3 ) ),
"", "" ) );
myself::FHTML_SetStr( fhtml0, "XP" + "Reset",
myself::MakeFString( 7, fnBracketL, myself::IntToStr( decotype_xprestore ),
fnBracketR, "", "" ) );
}
Походу криво декомпилится, сижу разбираю AI, вроде бы есть похожие значения по суммам, завтра буду разбираться.