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.

Seeking help on the conditional statement of fight-class

Featured Replies

  • Author
On 2/7/2025 at 8:08 PM, Droidz said:

Hello, you can use 

if (wManager.Wow.ObjectManager.ObjectManager.Target.CreatureTypeTarget == "Humanoid")
{
  // cast your spell here
}

 

Thanks for your help! Mr. Droidz

  • Author
On 2/7/2025 at 8:08 PM, Droidz said:

Hello, you can use 

if (wManager.Wow.ObjectManager.ObjectManager.Target.CreatureTypeTarget == "Humanoid")
{
  // cast your spell here
}

 

HI Mr.Droidz  !Write here as per the code you gave, get a bunch of errors. It seems that I didn't express it clearly, and I should have asked how to write it in C Sharp Code         image.thumb.png.7f45b2ec76e478c50074786875bf86bd.png

1.bmp

  • Author
11 hours ago, Droidz said:

您是否使用机器人的更新版本?您能分享完整的日志文件吗?您如何以及在何处运行此代码?

image.thumb.png.2f118f22f722964a69764aa44eddf057.pngYes, the bot version has been updated to 2.8.2 I added this code to the FC skill item.  I know it may not be correct to add it this way. So I'd like to ask how to fill in the code I need if it's FC CShrapCode here. Thanks again!

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.