It’s possible to cast a skill though conversation, but we can’t choose the target or the level of the skill.
Is it there a lua function to do the same ?
For example if I use the conversation method, I will need the NPC to use Skill_buffradiustoggled in order to cast a skillbuff_Passive and affect the player.
However I want the skill casted by the NPC to affect only the player who is talking to him (there is a condition to cast the skill depending on the player).
The problem is in multiplayer the NPC will cast the skill and affect all players, so is there a way to prevent that ?
I know a workaround to cast the skill near the player through lua but it’s not pretty and might still affect other player at the same location.
Thank you , it’s working.
It’s records is : /skills/nonplayerskills/questskills/orderenchant_buff
The template is skill_buffother that cast a skill with the template skillbuff_passive.
Hi Murlocking, no worry you were great help, I don’t know if you read my previous answers but it works with an NPC Casting the skill throught conversation (skill_buffother).
I might use this but I am trying to know if the Quest function also works like the conversation function.