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 !


Закрытая тема
 
Опции темы Опции просмотра
Старый 29.01.2014, 17:39   #1
boulanger
L2-scripts клиент Classic 1.5 + ГЕО до 1 июля
 
Аватар для boulanger
 
Регистрация: 23.09.2013
Сообщений: 437
По умолчанию [CORE] Effect UNAGGRO must work for PLAYER also!

hello, the effect unaggro does not work for Player character, but should, because of skills like dark rain

Цитата:
Dissolve - removes the aggression of nearby enemies toward you and increase speed by 100
it does increase our speed but didnt remove aggression

Quote
Mass Dark Viel - inflicts damage on the target and nearby enemies with 158 power and decreases aggression toward youself
it damages nearby enemies but didnt decrease/cancel aggression

Quote
Dark Rain - inflicts damage on the target and nearby enemies with 138 power and decreases aggression toward youself
here is effect template, as you can see is implemented only for npc, not for player also, please fix.

Код:
package l2s.gameserver.skills.effects;

import l2s.gameserver.model.Creature;
import l2s.gameserver.model.Effect;
import l2s.gameserver.model.instances.NpcInstance;
import l2s.gameserver.stats.Env;

public class EffectUnAggro extends Effect
{
  public EffectUnAggro(Env env, EffectTemplate template)
  {
    super(env, template);
  }

  public void onStart()
  {
    super.onStart();
    if (this._effected.isNpc())
      ((NpcInstance)this._effected).setUnAggred(true);
  }

  public void onExit()
  {
    super.onExit();
    if (this._effected.isNpc())
      ((NpcInstance)this._effected).setUnAggred(false);
  }

  public boolean onActionTime()
  {
    return false;
  }
}
boulanger вне форума  
Старый 16.02.2014, 23:26   #2
iqman
Главный программист
 
Регистрация: 18.01.2011
Сообщений: 4,429
По умолчанию

And how do you imagine yourself that this will work? What the player should do if unagrred?
__________________
Внимание: с 1 мая 2015 г. скайп технической поддержки будет: L2-scripts
старый скайп тех поддержки обслуживаться не будет !
iqman вне форума  
Старый 17.02.2014, 00:25   #3
boulanger
L2-scripts клиент Classic 1.5 + ГЕО до 1 июля
 
Аватар для boulanger
 
Регистрация: 23.09.2013
Сообщений: 437
По умолчанию

close topic not urgent, on retail 99% of time works only on npc.
boulanger вне форума  
Старый 17.02.2014, 03:23   #4
iqman
Главный программист
 
Регистрация: 18.01.2011
Сообщений: 4,429
По умолчанию

Ok, closed, I just don't get it
__________________
Внимание: с 1 мая 2015 г. скайп технической поддержки будет: L2-scripts
старый скайп тех поддержки обслуживаться не будет !
iqman вне форума  
Закрытая тема


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

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

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


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


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