-
Member
how to check MissileDampening and BloodClanSorcerer's shield ?
hello, how to check if:
1) monster has shield, applied by A Shaman of the Blood Clan ?
2) elite has currently active MissileDampening Affix ?
thank you in advance
-
Legendary
" IMonster monster "
1)
Code:
if (monster.GetAttributeValue(Hud.Sno.Attributes.Power_Buff_0_Visual_Effect_None, 168554) == 1)
2)
Code:
if (monster.AffixSnoList.Any(a => a.Affix == MonsterAffix.MissileDampening))
If you want to add it to the Gigi plugin it would be something like this:
Code:
plugin.DisplayAffix.Add(MonsterAffix.MissileDampening, "MissileDampening");
I have created a simple plugin for you to test:
plugins\User\Testing.cs
Shows ""⛨"" o """ above the monster
Last edited by RNN; 06-28-2020 at 01:09 PM.
Reason: testing.cs
-
Post Thanks / Like - 1 Thanks
JohnWick (1 members gave Thanks to RNN for this useful post)
-
Member
Originally Posted by
RNN
" IMonster monster "
1)
Code:
if (monster.GetAttributeValue(Hud.Sno.Attributes.Power_Buff_0_Visual_Effect_None, 168554) == 1)
2)
Code:
if (monster.AffixSnoList.Any(a => a.Affix == MonsterAffix.MissileDampening))
If you want to add it to the Gigi plugin it would be something like this:
Code:
plugin.DisplayAffix.Add(MonsterAffix.MissileDampening, "MissileDampening");
thank you, RNN
(MissileDampening) - works,
(Hud.Sno.Attributes.Power_Buff_0_Visual_Effect_None, 168554) - doesn't work
is there any chance that different monster types apply different Power_Buff_0_Visual_Effect ?
i interested specifically in this two:
Blood Clan Sorcerer, ActorSnoEnum 4303
Blood Clan Occultist, ActorSnoEnum 4304
-
Legendary
Yes, surely, I only tried it with the Sorcerer
-
Member
Originally Posted by
RNN
Yes, surely, I only tried it with the Sorcerer
can i check it myself some how ?
-
Member
Originally Posted by
RNN
Yes, surely, I only tried it with the Sorcerer
i'm sorry, i made a mistake in my code.
its working, thank you for help again.
-
Legendary
Occultist
I will check the other
Just press control + alt + d when you see an affected monster and inspect the file.. logs\dump_actors_on_screen.txt
Originally Posted by
JohnWick
i'm sorry, i made a mistake in my code.
its working, thank you for help again.
ok!
Last edited by RNN; 06-28-2020 at 01:31 PM.
-
Post Thanks / Like - 1 Thanks
JohnWick (1 members gave Thanks to RNN for this useful post)