• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

L2J How to make a NPC cast spells ?

Initiate Mage
Joined
Mar 21, 2016
Messages
1
Reaction score
0
Hello Guys !

Me and my friend we have developed a pretty nice Buffer NPC for our L2J Server with Navicat (mysql).
It not only gives you Buffs but also cast the Dance and Song Spells on you (animations).

Now we have the problem with the heal (HP/CP restore). We want it to cast the Battle Heal on you and heal your HP. For now it does the battleheal Animation but you wont get healed.
It seems to handle the heal like a buff ("...flew through you").

Question: Is there a command to make a NPC cast a spell right ? For now it is "action="bypass -h makebuffs...". Ist there an other command maybe for "makebuffs" ? Maybe "castspell", "useskill" or something ?

Thank you =) :junglejane:
 
Back
Top