Bug report moved to the new portal: Mmore.club
Detailed info: L2-scripts.com
Skype: Urchika

Our portfolio of solved reports: High Five
Our portfolio of solved reports: GOD
Our portfolio of solved reports: Classic

This forum is closed and open for viewing our work on bug reports for a long time. Thank you all !
Старый 07.08.2014, 03:57   #1
Core
Модератор
 
Аватар для Core
 
Регистрация: 03.06.2012
Сообщений: 4,624
По умолчанию

Цитата:
Сообщение от lineage2media Посмотреть сообщение
solution:
instead of this
Код:
else
    {
      info.damage *= (1.0D + (Rnd.get() * attacker.getRandomDamage() * 2.0D - attacker.getRandomDamage()) / 100.0D);
      if (dual) {
        info.damage /= 2.0D;
      }
      if (info.crit)
      {
        double tempDamage = info.damage;
        tempDamage *= 0.01D * attacker.calcStat(Stats.P_CRITICAL_DAMAGE, target, null);
        tempDamage = 2.0D * target.calcStat(Stats.CRIT_DAMAGE_RECEPTIVE, tempDamage, attacker, null);
        tempDamage += info.crit_static;
        info.damage = Math.max(tempDamage, info.damage);

      }
    }
[1:24:19 AM] Rivelia: reverse this
[1:24:20 AM] Rivelia: to this
[1:24:24 AM] Rivelia:

Код:
 else
    {
      info.damage *= (1.0D + (Rnd.get() * attacker.getRandomDamage() * 2.0D - attacker.getRandomDamage()) / 100.0D);
      if (dual) {
        info.damage /= 2.0D;
      }
      if (info.crit)
      {

        info.damage *= 0.01D * attacker.calcStat(Stats.P_CRITICAL_DAMAGE, target, null);
        info.damage = (2.0D * target.calcStat(Stats.CRIT_DAMAGE_RECEPTIVE, info.damage, attacker, null));
        info.crit_static = attacker.calcStat(Stats.P_CRITICAL_DAMAGE_STATIC, target, null);

        info.damage += info.crit_static;
      }
    }
[1:24:37 AM] Rivelia: and this
[1:24:38 AM] Rivelia:

Код:
if (info.crit) {
        if ((skill.isChargeBoost()) || (skill.getSkillType() == Skill.SkillType.CHARGE)) {
          info.damage *= 2.0D;
        } else {
          info.damage = Math.max(info.damage, 2.0D * target.calcStat(Stats.CRIT_DAMAGE_RECEPTIVE, info.damage, attacker, skill));
        }
      }
[1:24:39 AM] Rivelia: to this
[1:24:51 AM] Rivelia:

Код:
if (info.crit) {
          info.damage *= 2.0D;
      }
From where did you find this information?
__________________
Техническая поддержка L2-Scripts
Внимание: с 1 мая 2015 г. скайп технической поддержки будет: L2-scripts
старый скайп тех поддержки обслуживаться не будет !
Core вне форума  
Старый 07.08.2014, 10:10   #2
boulanger
L2-scripts клиент Classic 1.5 + ГЕО до 1 июля
 
Аватар для boulanger
 
Регистрация: 23.09.2013
Сообщений: 437
По умолчанию

i modified it , it s from our core.
boulanger вне форума  
Старый 10.08.2014, 02:31   #3
iqman
Главный программист
 
Регистрация: 18.01.2011
Сообщений: 4,429
По умолчанию

send me again in skype. closed.
__________________
Внимание: с 1 мая 2015 г. скайп технической поддержки будет: L2-scripts
старый скайп тех поддержки обслуживаться не будет !
iqman вне форума  
Закрытая тема

Опции темы
Опции просмотра
Комбинированный вид Комбинированный вид

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Часовой пояс GMT +4, время: 20:10.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. Перевод: zCarot