kralhakan2009 1
kralhakan2009
Bodyguardd 1
Bodyguardd
Vahsi Uzman 1
Vahsi Uzman
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Bvural41 1
Bvural41
Reklam vermek için turkmmo@gmail.com

Fix APPLY_MALL_DEFBONUS

  • Konuyu başlatan Konuyu başlatan Ciofoaia Andrei
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 4
  • Görüntüleme Görüntüleme 732
Hi guys!

In game source in char.cpp search for

C++:
Armor += GetPoint(POINT_PARTY_DEFENDER_BONUS);

and after that add

C++:
iArmor += (iArmor * GetPoint(POINT_MALL_DEFBONUS)) / 100;
 
it is the bonus you can use it at pendant system [Defend +3%]
it adds a bonus to your defense, in percentages of the defense you already have
NDDjnAC.png
 
@Ciofoaia Andrei You are noob? because very bad solution :D

Bu kod saçma.
Bunu gidip kullanmayın.

bunu nasıl önerdi ?

POINT_MALL_DEFBONUS saldıran kişinin vurduğu hasardan azaltılır. ve en fazla %20 olabilir. Açık Kaynak kodlarına göre.
Bunu Ayrıca Zırha eklerseniz. Bonus üstüne bonus vermiş olursunuz. Yani 1 bonusu 2 kere kullanmış olursunuz.
Büyük ihtimal arkadaş en fazla %20 geldiği için bonusun çalışmadığını düşünmüş olabilir. Bu yüzden zırha eklemeye kalktı galiba.
char.cpp'de bonusun ismini aratarak bulduğunuz limit değerini 20 den 30-40 değerlerine artırırsanız, %20 den daha fazla bonus alabilirsiniz.
Gidip zırhın değerine gereksiz bir kodu eklemeye kalkamayın. :D
 
Moderatör tarafında düzenlendi:
@Ciofoaia Andrei You are noob? because very bad solution:D

This code is nonsense.
Don't go and use it like a fool.

How did he propose this?

POINT_MALL_DEFBONUS is reduced from damage dealt by the attacker. and it can be up to 20%. Based on Open Source codes.
If you also add this to Armor. You give bonus on bonus. So you use 1 bonus 2 times.
Most likely, the friend may have thought that the bonus was not working because it was 20% at the most. That's why he tried to add it to the armor, I guess.
If you increase the limit value from 20 to 30-40 by searching the name of the bonus in char.cpp, you can get more than 20% bonus.
Don't be an idiot and try to add an unnecessary code to the armor's value.:D
Ya it wasn't working , i know that it is used like 2 bonuses one time, but i thought by the officials, that they use it like this, dont get me wrong, yea it reduced the damage but it wasnt showed anywhere XDD
 

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

Geri
Üst