What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Need some help with this plugin please

itsleet

New Member
Joined
Feb 16, 2012
Messages
50
Reaction score
0
Hi there! I'm modifying Baxterboy's plugin for Noggenfogger Elixir's, and it IS working, however, there is a small issue. He hasnt replied to his thread since december so i brought my issue here. It should be a simple fix for people who know what commands to use.

The Noggenfogger Elixir has 3 different possible effects, which cause 3 different possible buffs.
I am looking to use it for the particular buff which makes you smaller. I want to use noggenfogger elixir's untill i have obtained this buff.
Unfortunately, the buff's all have the same name , so this..
Code:
if (!intMe.ActiveAuras.ContainsKey(buff))
Will be satisfied with any of the 3 buffs called "Noggenfogger Elixir" and continue on with it's day.

Fortunately, after that it'll try to mount, and that will cancel the other 2 aura's i don't want, but doesnt affect the small buff, so it will just keep doing this untill i get the little buff :) But it's really jumpy and I don't like that, I'd rather the bot didn't continue untill it has the buff I want!!

I found the spellID for the buff i want, it is 16595. Is there any way you can change ..
Code:
if (!intMe.ActiveAuras.ContainsKey(buff))
To something like...
Code:
if (!intMe.ActiveAuras.ContainsKey(16595))
(I tried this, it didn't work)

That would fix my issues! I don't know a command for this though. Help please! lol

/////Edit
I found one more thing that I need help with....
Code:
 !intMe.Mounted
This doesnt seem to register with druid's flight form. Can you give me something that can? thanks!!

I've attatched my version of the plugin as well if anyone needs.
 

Attachments

Last edited:
try this
PHP:
if (!intMe.HasAura(16595))
and for druid flight form
PHP:
 !intMe.Mounted && !intMe.Shapeshift == ShapeshiftForm.FlightForm && !intMe.Shapeshift == ShapeshiftForm.EpicFlightForm
 
Was this completed? From searching I haven't found anything for Noggenfogger Elixir.
 
Back
Top