Kotegaeshi92 Posted December 14, 2021 Posted December 14, 2021 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 !!
0 Zake Posted December 14, 2021 Posted December 14, 2021 All npcs have templates, you can parse a value like isLethalable. Then go to formulas -> calcLethalRate and return false if target is not lethalable. 1
0 Tryskell Posted December 14, 2021 Posted December 14, 2021 (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 December 14, 2021 by Tryskell
0 Kotegaeshi92 Posted December 14, 2021 Author Posted December 14, 2021 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 !
0 Zake Posted December 14, 2021 Posted December 14, 2021 1 hour ago, Kotegaeshi92 said: thanks tryskell ! thanks zake ! Np, locked.
Question
Kotegaeshi92
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