Karan2offical 1
Karan2offical
mavzermete 1
mavzermete
M 1
m2referencee
Fethi Polat 1
Fethi Polat
InfernoShade 1
InfernoShade
farkmt2official 1
farkmt2official
romegames 1
romegames
bikral 1
bikral
PrimeAC 1
PrimeAC
Hikaye Ekle

Rank Points Adjustment with Alignment Limit

  • Konuyu başlatan Konuyu başlatan muchomor1337
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 4
  • Görüntüleme Görüntüleme 769

muchomor1337

Level 2
Üye
Katılım
24 May 2018
Konular
35
Mesajlar
64
Online süresi
16d 13h
Reaksiyon Skoru
89
Altın Konu
0
TM Yaşı
8 Yıl 24 Gün
Başarım Puanı
97
Yaş
34
MmoLira
8,563
DevLira
75
Ticaret - 0%
0   0   0

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!



Ranks point with automat Limit

Char_item.cpp code (When value0 in item_proto > eg. 1000)

Kod:
    case 71107:
    case 39032:
        {
            int MuchomorTuByl = item->GetValue(0);

            if (GetAlignment() >= 200000)
            {
                ChatPacket(CHAT_TYPE_INFO, ("You Have Limit!"));
                return false;
            }

            if (GetAlignment() + MuchomorTuByl * 10 > 200000)
            {
                MuchomorTuByl = (200000 - GetAlignment()) / 10;
                if ((200000 - GetAlignment()) % 10 > 0)
                {
                    MuchomorTuByl += 1;
                }
            }

            UpdateAlignment(MuchomorTuByl * 10);
            item->SetCount(item->GetCount() - 1);

            ChatPacket(CHAT_TYPE_INFO, ("Added - %d ranks points."), MuchomorTuByl);
        }
        break;
 
Forum Kurallarına Göre Form Dışı Link Paylasmak Yasakır.@Göktuğ U.
 
int MuchomorTuByl

Very Good bro.
 


Rangsorolja a pontot automata Limittel

Char_item.cpp kód (Amikor value0 az item_proto > pl. 1000)

Kod:
 71107-es eset:
    39032 eset:
        {
            int MuchomorTuByl = item->GetValue(0);

            if (GetAlignment() >= 200000)
            {
                ChatPacket(CHAT_TYPE_INFO, ("Van határod!"));
                return false;
            }

            if (GetAlignment() + MuchomorTuByl * 10 > 200000)
            {
                MuchomorTuByl = (200000 - GetAlignment()) / 10;
                if ((200000 - GetAlignment()) % 10 > 0)
                {
                    MuchomorTuByl += 1;
                }
            }

            UpdateAlignment (MuchomorTuByl * 10);
            item->SetCount(elem->GetCount() - 1);

            ChatPacket(CHAT_TYPE_INFO, ("Hozzáadva - %d pontot rangsorol."), MuchomorTuByl);
        }
        szünet;
[/KÓD]
[/QUOTE]
t
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst