Jump to content
  • 0

Question

Posted

Hi, im using acis 399. I want to block the lethal chance on a attackable npc(not monster) is there any condition to make ?

i want that the skill hit the npc but not to do lethal and total kill or half kill on the npc. 

 

thanks !!

4 answers to this question

Recommended Posts

  • 0
Posted

All npcs have templates, you can parse a value like isLethalable. Then go to formulas -> calcLethalRate and return false if target is not lethalable.

  • Upvote 1
  • 0
Posted (edited)

isLethalable was added recently (rev 404), for previous revisions simply edit the formula calcLethalRate, values were hardcoded here (instances types and npcId types).

Edited by Tryskell
  • 0
Posted
6 hours ago, Tryskell said:

isLethalable was added recently (rev 404), for previous revisions simply edit the formula calcLethalRate, values were hardcoded here (instances types and npcId types).

thanks tryskell !

10 hours ago, Zake said:

All npcs have templates, you can parse a value like isLethalable. Then go to formulas -> calcLethalRate and return false if target is not lethalable.

thanks zake !

Guest
This topic is now closed to further replies.


×
×
  • Create New...