NPC abnormal effect

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
JDruidas
Posts: 9
Joined: Tue Mar 03, 2015 7:08 pm
Contact:

NPC abnormal effect

Post by JDruidas »

Hello,

how make on every spawn loading to add auto abnormal effect for NPC, I can't do it, because it requires target...

Thanks for any help,
JDruidas
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: NPC abnormal effect

Post by Zoey76 »

Show me how you do it.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
JDruidas
Posts: 9
Joined: Tue Mar 03, 2015 7:08 pm
Contact:

Re: NPC abnormal effect

Post by JDruidas »

Zoey76 wrote:Show me how you do it.
I stucked, I found about 3-4 places where I can put it, but I can't and I think of that 3-4 places 1 is good, so thats why I need L2JServer community help.

I don't ask whole code, just say best place where to change this on npc spawn/delete also after restart to have abnormal effect, maybe L2NpcTemplate or maybe L2Npc? And how to add :)

Thanks,
JDruidas
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: NPC abnormal effect

Post by Zoey76 »

Any DataPack script with onSpawn will work.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
JDruidas
Posts: 9
Joined: Tue Mar 03, 2015 7:08 pm
Contact:

Re: NPC abnormal effect

Post by JDruidas »

Zoey76 wrote:Any DataPack script with onSpawn will work.
Thanks, I will do it on L2Npc core side.
* Tested it works, thanks a lot again Zoey76, topic can be locked!
Post Reply