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 for spell rank in 1.12

Featured Replies

Hello

I have been searching the forums but not been able to find a solution that works

I am trying to have a fight class select the appropriate spell based on the ranks that are known, a dream scenario would be:

public Spell Frostbolt = new Spell("Frostbolt");
public Spell Firebolt = new Spell("Firebolt");

if(Frostbolt.KnownRank > 4){
	Frostbolt.Launch();
} else {
	Firebolt.Launch();
}

Does any one know how this would be possible to do given the functionality that is available?

Thanks in advance!

would you not be best in just putting a level on it, assuming you train frostbolt rank 4 at lvl 20?  22?.. why not just:

 if (ObjectMager.Me.level > 20 && Frostbolt.Knownspell)

Frostbolt.launch;

 

 

... not exactly what your asking, but would work for the scenario you gave above.

Edited by eeny

  • Author

Hi Eeny!

Thanks for replying

Great suggestion, and actaully what I am doing atm. I was hoping there was a better solution though :)

Best regards

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.