Jump to content
  • 0

[Acis] Buffer V2


Question

Posted

Hi mxc and sorry for my secound question to the Buffer effect.

I had open already a Topic about this, Baggos help me but I not looked well... I get effect but only on the npc.

Is it possible to get effect also on player which is buffing?

 

Here is my old Topic: http://www.maxcheaters.com/topic/213046-acis-buffer/?do=findComment&comment=2623442

 

Hope you can help me. Thanks!

7 answers to this question

Recommended Posts

  • 0
Posted

Already I gave you this..

Maybe you want to make buffs like prophet does in himself?

 

15i47cm.jpg

 

you are right !

I Change my npc back to NPC Template and work.

But when I Change NPC to Fake NPC it dosent effect...

 

is this possible to add effects to the fake npc ?

 

Code of the fake NPC: http://pastebin.com/hdwgkuuQ

  • 0
Posted

is this possible to add effects to the fake npc ?

Yep.. Replace this pastebin.

 

Changes (hitTime):

- player.broadcastPacket(new MagicSkillUse(this, player, 1218, 1, 5, 0));
+ player.broadcastPacket(new MagicSkillUse(this, player, 1218, 1, 700, 0));
+ player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT).addSkillName(1218));


- player.broadcastPacket(new MagicSkillUse(this, player, buffid, buff.getLevel(), 0, 0));
+ player.broadcastPacket(new MagicSkillUse(player, player, buffid, 1, 700, 0));
+ player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT).addSkillName(buffid));


- player.broadcastPacket(new MagicSkillUse(this, player, id, buff.getLevel(), 0, 0));
+ player.broadcastPacket(new MagicSkillUse(player, player, id, 1, 700, 0));
+ player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT).addSkillName(id));

If you want a player to get buffs like prophet does in himself (I mean the player will use/cast the skill), you should change < this, > to < player, >

  • 0
Posted

Yep.. Replace this pastebin.

 

Changes (hitTime):

- player.broadcastPacket(new MagicSkillUse(this, player, 1218, 1, 5, 0));
+ player.broadcastPacket(new MagicSkillUse(this, player, 1218, 1, 700, 0));
+ player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT).addSkillName(1218));


- player.broadcastPacket(new MagicSkillUse(this, player, buffid, buff.getLevel(), 0, 0));
+ player.broadcastPacket(new MagicSkillUse(player, player, buffid, 1, 700, 0));
+ player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT).addSkillName(buffid));


- player.broadcastPacket(new MagicSkillUse(this, player, id, buff.getLevel(), 0, 0));
+ player.broadcastPacket(new MagicSkillUse(player, player, id, 1, 700, 0));
+ player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT).addSkillName(id));
If you want a player to get buffs like prophet does in himself (I mean the player will use/cast the skill), you should change < this, > to < player, >
Thanks man!

You can lock it.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..