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?
Untargetable summons
Moderator: Nizari
-
- Posts: 38
- Joined: Wed Apr 05, 2023 7:35 pm
Re: Untargetable summons
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)
Re: Untargetable summons
Thanks, damn 1.09 doesn't have this srvdofunc column softcoded in skills.txt. looks like I'm screwed.