Dominate Monster ignores mind immunity

Moderators: Active Admins, Forum Moderators, Active DMs, Contributors, Area Developers, Artist/Animator

Post Reply
xanrael
Posts: 512
Joined: Sat Feb 23, 2019 5:13 pm

Dominate Monster ignores mind immunity

Post by xanrael »

Description of Bug Experienced:
Dominate works on mind immune things.

Steps to reproduce the Bug:
Cast Dominate Monster on a red dragon or undead on the PGCC.

Expected Result:
Fails due to immunity

Actual Result:
Successfully dominates it

Screenshot(s)


Additional Information/Notes
This looks to be using the EffectCutsceneDominated() which you need to add the following conditional statements to have it work like normal dominate with respect to mind immunity:

if (!GetIsImmune(oTarget, IMMUNITY_TYPE_DOMINATE))
if (!GetIsImmune(oTarget, IMMUNITY_TYPE_MIND_SPELLS))
Kalopsia
General Admin
General Admin
Posts: 1627
Joined: Thu Sep 28, 2017 10:34 am
Location: Concourse Capaneus
Contact:

Re: Dominate Monster ignores mind immunity

Post by Kalopsia »

Good catch, adding this to my list!
Kalopsia
General Admin
General Admin
Posts: 1627
Joined: Thu Sep 28, 2017 10:34 am
Location: Concourse Capaneus
Contact:

Re: Dominate Monster ignores mind immunity

Post by Kalopsia »

A fix should be live after the next reset.
Please let us know if you find any other issues :)
Post Reply