HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
Selamlar. Sizlere paylaşılanlardan farklı bir hızlı statü sistemi paylaşmak istiyorum.
İyi forumlar dilerim.
Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
İyi forumlar dilerim.
Son düzenleme:
farklı bir hızlı statü sistemi paylaşmak istiyorum.
görselide görebilirsek seviniriz teşekkürlerSelamlar. Sizlere paylaşılanlardan farklı bir hızlı statü sistemi paylaşmak istiyorum.
[CODE lang="cpp" title="common\service.h"]//müsait bir yere ekleyin;
#define ENABLE_STATUS_UP_RENEWAL[/CODE]
[CODE lang="cpp" title="game\src\cmd_general.cpp"]//aratın;
ACMD(do_stat)
{
char arg1[256];
one_argument(argument, arg1, sizeof(arg1));
if (!*arg1)
return;
//değiştirin;
ACMD(do_stat)
{
char arg1[256];
#ifdef ENABLE_STATUS_UP_RENEWAL
char arg2[256];
two_arguments(argument, arg1, sizeof(arg1), arg2, sizeof(arg2));
#else
one_argument(argument, arg1, sizeof(arg1));
#endif
if (!*arg1)
return;
#ifdef ENABLE_STATUS_UP_RENEWAL
int iStatUp = 1;
if (*arg2)
iStatUp = atoi(arg2);
#endif
//tekrar aratın;
if (ch->GetPoint(POINT_STAT) <= 0)
return;
//değiştirin;
#ifdef ENABLE_STATUS_UP_RENEWAL
if (ch->GetPoint(POINT_STAT) < iStatUp)
iStatUp = ch->GetPoint(POINT_STAT);
#else
if (ch->GetPoint(POINT_STAT) <= 0)
return;
#endif
//tekrar aratın;
if (ch->GetRealPoint(idx) >= MAX_STAT)
return;
ch->SetRealPoint(idx, ch->GetRealPoint(idx) + 1);
ch->SetPoint(idx, ch->GetPoint(idx) + 1);
//değiştirin;
#ifdef ENABLE_STATUS_UP_RENEWAL
if ((ch->GetRealPoint(idx) + iStatUp) > MAX_STAT)
iStatUp = MAX_STAT - ch->GetRealPoint(idx);
if (iStatUp < 1)
#else
if (ch->GetRealPoint(idx) >= MAX_STAT)
#endif
return;
#ifdef ENABLE_STATUS_UP_RENEWAL
ch->SetRealPoint(idx, ch->GetRealPoint(idx) + iStatUp);
ch->SetPoint(idx, ch->GetPoint(idx) + iStatUp);
#else
ch->SetRealPoint(idx, ch->GetRealPoint(idx) + 1);
ch->SetPoint(idx, ch->GetPoint(idx) + 1);
#endif
//tekrar aratın;
ch->PointChange(POINT_STAT, -1);
//değiştirin;
#ifdef ENABLE_STATUS_UP_RENEWAL
ch->PointChange(POINT_STAT, -iStatUp);
#else
ch->PointChange(POINT_STAT, -1);
#endif[/CODE]
[CODE lang="cpp" title="UserInterface\Locale_inc.h"]//müsait bir yere ekleyin;
#define ENABLE_STATUS_UP_RENEWAL[/CODE]
[CODE lang="cpp" title="UserInterface\PythonApplicationModule.cpp"]//aratın;
#ifdef ENABLE_COSTUME_SYSTEM
PyModule_AddIntConstant(poModule, "ENABLE_COSTUME_SYSTEM", 1);
#else
PyModule_AddIntConstant(poModule, "ENABLE_COSTUME_SYSTEM", 0);
#endif
//altına ekleyin;
#ifdef ENABLE_STATUS_UP_RENEWAL
PyModule_AddIntConstant(poModule, "ENABLE_STATUS_UP_RENEWAL", 1);
#else
PyModule_AddIntConstant(poModule, "ENABLE_STATUS_UP_RENEWAL", 0);
#endif[/CODE]
[CODE lang="python" title="root\uicharacter.py"]#aratın;
self.statusPlusCommandDict={
"HTH" : "/stat ht",
"INT" : "/stat iq",
"STR" : "/stat st",
"DEX" : "/stat dx",
}
#altına ekleyin;
if app.ENABLE_STATUS_UP_RENEWAL:
self.faststatusPlusCommandDict={
"HTH" : "/stat ht 10",
"INT" : "/stat iq 10",
"STR" : "/stat st 10",
"DEX" : "/stat dx 10",
}
#tekrar aratın;
statusPlusCommand=self.statusPlusCommandDict[statusKey]
#değiştirin;
if app.ENABLE_STATUS_UP_RENEWAL and app.IsPressed(app.DIK_LCONTROL):
statusPlusCommand=self.faststatusPlusCommandDict[statusKey]
else:
statusPlusCommand=self.statusPlusCommandDict[statusKey]
#tekrar aratın;
self.__ShowStatToolTip(self.STAT_DESCRIPTION[stat])
#değiştirin;
if app.ENABLE_STATUS_UP_RENEWAL:
self.__ShowStatToolTip(localeInfo.FAST_STATUS_UP)
else:
self.__ShowStatToolTip(self.STAT_DESCRIPTION[stat])[/CODE]
[CODE title="locale_game.txt"]FAST_STATUS_UP |Eemoji/key_ctrl|e + |Eemoji/key_lclick|e +10 Statü Ver[/CODE]
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 45
- Görüntüleme
- 2K
- Cevaplar
- 3
- Görüntüleme
- 296
- Cevaplar
- 8
- Görüntüleme
- 539
