-
Legendary
[V9.x] [RNN] TheFellowshipOfThePotion
These plugins were originally created for the S28 and have been adapted to the current seasons by removing unnecessary code after the potion was nerfed.
Installation: Place in "plugins\RNN\TheFellowshipOfThePotion.cs"
Custom code (in Plugins\User\PluginEnablerOrDisablerPlugin.cs , is Optional) :
Code:
Hud.GetPlugin<RNN.TheFellowshipOfThePotion>().Enabled = true;
Hud.RunOnPlugin<RNN.TheFellowshipOfThePotion>(plugin =>
{
plugin.OffsetX = 2.55f; // To set the x coordinate of the icon (OffsetYX * Portrait Width)
plugin.OffsetY = 0.50f; // To set the y coordinate of the icon (OffsetYX * Portrait Height)
plugin.Opacity = 0.75f; // 0f..1f Opacity for icon texture
plugin.SizeMultiplier = 0.65f; // Size multiplier for icons
plugin.swapTexturePotion = true; // Change the texture when you get a buff from the potion.
} );
--------------------------------------
If you only want the potion for yourself
Installation: Place in "plugins\RNN\MyPreciousPotion.cs"
Custom code (in Plugins\User\PluginEnablerOrDisablerPlugin.cs , is Optional) :
Code:
Hud.GetPlugin<RNN.MyPreciousPotion>().Enabled = true;
Hud.RunOnPlugin<RNN.MyPreciousPotion>(plugin =>
{
plugin.OffsetX_Me = 0.55f; // 0f..1f To set the x coordinate of the icon (OffsetX_Me * Hud.Window.Size.Width)
plugin.OffsetY_Me = 0.47f; // 0f..1f To set the y coordinate of the icon (OffsetY_Me * Hud.Window.Size.Height)
plugin.Opacity = 0.75f; // 0f..1f Opacity for icon texture
plugin.SizeMultiplier = 0.75f; // Size multiplier for icons
plugin.swapTexturePotion = true; // Change the texture when you get a buff from the potion.
} );
Last edited by RNN; 07-21-2024 at 10:22 AM.
Reason: reuploaded
-
Post Thanks / Like - 8 Thanks
-
Legendary
Update
added notification for power , added plugin variant
-
Legendary
Update
Added Counter for powers you've had in Rifts
-
Active Member
Excellent Plugin RNN - TYVM
I have noticed when I have the Power Potion buff active and then hit a channelling pylon, the "Potion Power" TTS announces again even when the power buff wasn't refreshed. Perhaps add a condition to only announce when Buff duration >15secs
-
Legendary
When you take a channeling, the cooldown of the potion is reset and if you have the pction on autocast it will be used again, and it can happen that you get power again, it happened to me too. Anyway, I'll look into it if it happens, even when you don't get another power.
Edit:
You're right, add an additional check to it: Hud.Game.Me.Powers.GetBuff(488072)?.TimeLeftSeconds[0] > 15
You noticed this bug because your autocast doesn't work as it should
Before using the potion it is convenient to check if you have power from a pylon, from the potion or from an echoing nightmare.
if (!Hud.Game.Me.Powers.BuffIsActive(262935,0) && !Hud.Game.Me.Powers.BuffIsActive(488072,0) && !Hud.Game.Me.Powers.BuffIsActive(486865,0) )
I'll upload the updated version in a moment
Last edited by RNN; 03-07-2023 at 08:58 AM.
-
Legendary
Update
Fixed Bug. (thanks to Jembo for reporting it)
-
Post Thanks / Like - 2 Thanks
Jembo,
731113 (2 members gave Thanks to RNN for this useful post)
-
Member
Can I trouble you to re-enable the links to both plugins? Thanks in advance
-
Legendary
Originally Posted by
BombasticBoo
Can I trouble you to re-enable the links to both plugins? Thanks in advance
These plugins are no longer as useful as in S28, but I uploaded a fixed and adapted update.
-
Post Thanks / Like - 1 Thanks
BombasticBoo (1 members gave Thanks to RNN for this useful post)
-
Legendary
Update
To find out the circle generated by each player will have to match the instant in which the potion was used, before there was a margin of 1 tick (1/60 seconds)
Update 2
Yesterday they didn't update properly, reuploaded
Last edited by RNN; 07-21-2024 at 10:21 AM.