Demon sanctuary possible?
Moderator: Nizari
Demon sanctuary possible?
Hi, tried to create a sanctuary aura that only works on demons. What would be the aurafilter? The aurastat can be easily filled in to make the additional melee dmg only applies to demons. but to make the aura damage and knockback only apply to demons, I assume there must be a specific code for aurafilter.
-
- Champion of the Light
- Posts: 452
- Joined: Fri Dec 01, 2017 2:08 am
Re: Demon sanctuary possible?
Hi kulasdq, unfortunately there isn't a whole lot you can do. There is no aurafilter for demons, only undead. The aurastat also isn't quite equivalent to Sanctuary's hardcoded ability to ignore undead resistances, notably the stat only ignores physical resistances when attacking, whereas Sanctuary ignores undead physical resistances even when using spells such as Tornado.
Also, make sure you add the stat skill_bypass_demons to passivestats, not aurastats. Auras with srvdofunc=66 only give their passivestats to the user, the aurastats are not given to the user. Technically, Sanctuary does not even give its skill_bypass_undead to the player at all, all of the undead resistance ignoring is from the hardcoded nature of the sanctuary state.
One thing you can do is make it your Demon Sanctuary kind of special is to use hitflag=512, which will make the radial magic damage ignore demon resistances/immunities (although if that is the case, you'd have to make it so the skill hits everything, since there is no aurafilter for demons specifically).
Thinking about it though, it might be possible to get close to what you want, but it probably wouldn't be possible to make an aura out of it (technically you could, but it would require a different setup and have a few drawbacks). Basically, you'd make an Armageddon clone, make it shoot out (probably invisible) holy bolt novas, set the holy bolts to only hit demons, give the holy bolts knockback. You can also tack on Blade Shield's srvstfunc so that you gain aurastats while the skill is active.
Also, make sure you add the stat skill_bypass_demons to passivestats, not aurastats. Auras with srvdofunc=66 only give their passivestats to the user, the aurastats are not given to the user. Technically, Sanctuary does not even give its skill_bypass_undead to the player at all, all of the undead resistance ignoring is from the hardcoded nature of the sanctuary state.
One thing you can do is make it your Demon Sanctuary kind of special is to use hitflag=512, which will make the radial magic damage ignore demon resistances/immunities (although if that is the case, you'd have to make it so the skill hits everything, since there is no aurafilter for demons specifically).
Thinking about it though, it might be possible to get close to what you want, but it probably wouldn't be possible to make an aura out of it (technically you could, but it would require a different setup and have a few drawbacks). Basically, you'd make an Armageddon clone, make it shoot out (probably invisible) holy bolt novas, set the holy bolts to only hit demons, give the holy bolts knockback. You can also tack on Blade Shield's srvstfunc so that you gain aurastats while the skill is active.