Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Check Mammoth spell

Featured Replies

  • 5 months later...

For me it doesn't seem to be working. I want to check if the character has learned the mount yet. My code looks like this and it isnt working:

if(wManager.Wow.Helpers.SpellManager.ExistMount("White Kodo")) { wManager.wManagerSetting.CurrentSetting.GroundMountName = "White Kodo"; }

I`m using this complete condition for it:

return wManager.wManagerSetting.CurrentSetting.GroundMountName == "White Kodo" ;

Can you help me?

  • Author
1 minute ago, Wiceradon said:

For me it doesn't seem to be working. I want to check if the character has learned the mount yet. My code looks like this and it isnt working:


if(wManager.Wow.Helpers.SpellManager.ExistMount("White Kodo")) { wManager.wManagerSetting.CurrentSetting.GroundMountName = "White Kodo"; }

I`m using this complete condition for it:


return wManager.wManagerSetting.CurrentSetting.GroundMountName == "White Kodo" ;

Can you help me?

try

wManager.Wow.Helpers.SpellManager.ExistSpellBook("mount name");

 

2 minutes ago, pudge said:

try


wManager.Wow.Helpers.SpellManager.ExistSpellBook("mount name");

 

Thx for your answer pudge, I've already tried the solution you suggested with no success. Do you know another way?

  • Author
wManager.Wow.Helpers.SpellManager.UpdateSpellBook();
if(wManager.Wow.Helpers.SpellManager.ExistSpellBook("White Kodo")) 
{ 
Logging.Write("Exist");
wManager.wManagerSetting.CurrentSetting.GroundMountName = "White Kodo"; 
}

or use lua check


if (Lua.LuaDoString<bool>(@"for i=1,GetNumCompanions('MOUNT') do _,creatureName = GetCompanionInfo('MOUNT', i) if creatureName == 'White Kodo' then return true end end"))
{ 
Logging.Write("Exist");
wManager.wManagerSetting.CurrentSetting.GroundMountName = "White Kodo"; 
}

both should work

12 minutes ago, pudge said:

wManager.Wow.Helpers.SpellManager.UpdateSpellBook();
if(wManager.Wow.Helpers.SpellManager.ExistSpellBook("White Kodo")) 
{ 
Logging.Write("Exist");
wManager.wManagerSetting.CurrentSetting.GroundMountName = "White Kodo"; 
}

or use lua check



if (Lua.LuaDoString<bool>(@"for i=1,GetNumCompanions('MOUNT') do _,creatureName = GetCompanionInfo('MOUNT', i) if creatureName == 'White Kodo' then return true end end"))
{ 
Logging.Write("Exist");
wManager.wManagerSetting.CurrentSetting.GroundMountName = "White Kodo"; 
}

both should work

It works! Thank you!

  • 4 months later...

@Harvest Golem you can use something like this,

local MountsNames = { }
for i = 1, GetNumCompanions('MOUNT') do 
    local _, Name = GetCompanionInfo('MOUNT', i);
    table.insert(MountsNames, Name);
end


for B = 1 , 25 do
    local BuffName = UnitBuff("player", B);
        for Y = 1, #MountsNames do
        if string.match(BuffName, MountsNames[Y]) then
            return true;
        else
            return false;
        end
    end
end

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.