Untargetable summons

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Post Reply
oli25
Posts: 84
Joined: Sun Sep 18, 2011 9:38 pm

Untargetable summons

Post by oli25 » Tue Jun 27, 2023 9:23 pm

Hello,

I would like to make spirits and vines untargetable like the ravens are. I have tried with setting spirit of oak baseid to that of raven but it didn't work. It still had hp bar and was attacked. Does anyone have an idea how to achieve it?

OrderOfTheScribble
Posts: 38
Joined: Wed Apr 05, 2023 7:35 pm
United States of America

Re: Untargetable summons

Post by OrderOfTheScribble » Tue Jun 27, 2023 9:35 pm

Looking at the guide to non-missile functions, it looks like the untargetable function of ravens is controlled by the skill function. Here's the entry for Raven's skill function:
Cypress wrote:
Tue May 18, 2021 8:16 pm
[Raven] Summons a pet at the selected location. The pet cannot be harmed and will not be targeted by enemies. Number of hits until death is not controlled by this skill function.
(srvdofunc=114)
(aurastat1-6; applied to the summon)
(passivestat1-5; applied to the summon)
(summon=,pettype=,petmax=,summode=,sumsk1-5=)
(clc1=multiplier to base life; multiplicative with other sources of life%)
(clc2=level of the pet; doesn't seem to change the result from ulvl clcs on the summon for things like aura/passivestats, but it definitely changes the actual level of the monster as far as hit chance is concerned)
(tohit,levtohit,tohitcalc)
(srcdam=,mindam/maxdam; srcdam is the percentage of its base damage from monstats, mindam/maxdam is added damage, but these only apply if the monstats.txt entry is linked via the "SkillDamage" column)

oli25
Posts: 84
Joined: Sun Sep 18, 2011 9:38 pm

Re: Untargetable summons

Post by oli25 » Tue Jun 27, 2023 9:40 pm

Thanks, damn 1.09 doesn't have this srvdofunc column softcoded in skills.txt. looks like I'm screwed.

Post Reply

Return to “General Mod Making”