-
Active Member
A plugin for only one skill cooldown
Anybody can help me to make a plugin for only one skill cooldown?
I wanna hear a play_sound when the skill (ie. DH vengence) is cooldown.
I know there're already several cooldown-related plugins. But they have too many unnecessary funcitons for me.
I just wanna make it simple but I don't know how to.
I'm learing about C# but it's still not easy for me to handle.
Hope one of you guys help me to tackle it, please.
-
Savvy ? 🐒
Using the default one :
PHP Code:
Hud.RunOnPlugin<CooldownSoundPlayerPlugin>(plugin =>
{
plugin.AddRule(Hud.Sno.SnoPowers.DemonHunter_Vengeance, "notification_1.wav");
});
If you don't know where to paste this code, look at my sig ;p
-
Post Thanks / Like - 1 Thanks
jaeheung09 (1 members gave Thanks to JackCeparou for this useful post)
-
Active Member
Wow~~ Thanks.
I've never known that there is such a magnificient cooldown soundplay funciton as default.
It works perfectly.
Thanks again, Jack.
-
Active Member
Jack, btw, it works with DemonHunter_Vengeance and Monk_Epiphany but Barbarian_FuriousCharge.The last one is what I need most.
Anything that I don't know about this?
Last edited by jaeheung09; 01-20-2018 at 03:54 AM.
-
Savvy ? 🐒
mmh, I guess skills with charges works differently but I have no solution atm sorry :x
-
Contributor
Originally Posted by
JackCeparou
mmh, I guess skills with charges works differently but I have no solution atm sorry :x
Yeah, I looked into Barbarian_FuriousCharge but as it is not a skill with cooldown current code can not handle it at all AFAIK.
I guess the data is not copied to THUD at all?
I would like to move Barbarian_FuriousCharge icon higher and make a bit larger when I'm doing speedfarming as I don't want to run out of charges or keep them unused for max efficiency.