Jump to content
  • 0

[Acis] Buffer V2


Protein

Question

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!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Cast on npc and effect to player.

Already I gave you this..

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

 

15i47cm.jpg

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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, >

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...