Jump to content

About This File

set line 221 according to how NPCs behave on your server.
etc.:
// Ideal melee position (2-4 yards)
bool inMeleeRange = distanceToTarget >= 5f && distanceToTarget <= 6f;


Advanced Feral Tank – FightClass Documentation

Overview

The Advanced Feral Tank FightClass is designed for Feral Druids in Bear Form to tank effectively in WoW 3.3.5 using WRobot. It automates:

  • Buff management (self and party)

  • Threat generation and taunting

  • Single-target and AoE tanking rotations

  • Emergency defensive cooldowns

  • Rage management

The class runs in a dedicated background thread, executing the rotation every 150 ms when in-game, alive, and not mounted.

 

Main Components

1. Main Class

Implements ICustomClass:

  • Initialize() – Creates the rotation handler, starts the rotation thread, logs initialization.

  • RunRotation() – Loop that calls PulseRotation() if conditions are met.

  • Dispose() – Stops the rotation thread and cleans up.

  • Range – Fixed at 5 yards (melee range).

  • ShowConfiguration() – Currently empty.

 

2. FeralDruidTankRotation

Handles all combat and out-of-combat logic.

Key Spell Constants

  • Forms: Bear Form, Dire Bear Form

  • Threat/Damage: Mangle (Bear), Lacerate, Swipe (Bear), Faerie Fire (Feral)

  • Debuffs: Demoralizing Roar

  • Taunt: Growl

  • Defensive CDs: Survival Instincts, Frenzied Regeneration, Barkskin

  • Utility: Enrage

  • Buffs: Mark of the Wild, Gift of the Wild, Thorns

 

Rotation Logic

Out of Combat

  • BuffPartyMembers():

    • Applies Gift of the Wild or Mark of the Wild to unbuffed party members.

    • Applies Thorns to tanking players.

    • Buff checks occur every 5 seconds.

In Combat

  1. EnsureBearForm() – Shifts into Dire Bear Form or Bear Form if not already active.

  2. HandleEmergency() – Uses defensive cooldowns based on health thresholds:

    • ≤ 30% HP → Survival Instincts

    • ≤ 50% HP → Frenzied Regeneration

    • ≤ 60% HP → Barkskin

    • Low rage & high HP → Enrage

  3. HandleThreatManagement() – Every 1 s:

    • Scans for hostile mobs attacking party members.

    • Uses Growl to taunt.

    • Applies Faerie Fire (Feral) if missing.

  4. ExecuteMainRotation():

    • Counts nearby enemies (≤ 8 yards).

    • AoE Rotation (≥ 3 enemies):

      • Demoralizing Roar if missing

      • Mangle (Bear)

      • Swipe (Bear)

      • Lacerate

    • Single Target Rotation (< 3 enemies):

      • Faerie Fire (Feral) if missing

      • Demoralizing Roar if missing

      • Mangle (Bear)

      • Maintain 5 stacks of Lacerate (refresh if < 5 stacks or < 3 s remaining)

      • Swipe (Bear) as filler

      • Auto-attack if idle

 

Utility Functions

  • HasBuff() / HasBuffOnUnit() – Checks buffs on player or unit.

  • HasDebuffOnTarget() – Checks debuffs on target.

  • GetDebuffStacks() / GetDebuffTimeLeft() – Tracks Lacerate stacks and duration.

  • GetPartyMembers() – Retrieves player and party members.

  • IsPlayerTank() – Detects if a party member is a tank (class/form check).

  • GetUnitId() – Resolves WoW unit IDs for Lua API calls.

 

Timers

Custom Timer class prevents excessive checks:

  • threatCheckTimer – 1 s interval

  • buffCheckTimer – 5 s interval

  • emergencyTimer – 0.5 s interval

 

Key Features

  • Automatic form shifting into Bear/Dire Bear.

  • Party support with buffs and Thorns for tanks.

  • Smart threat control with taunts and debuffs.

  • Adaptive rotation for single-target and AoE.

  • Emergency survival logic with cooldown prioritization.

  • Rage management via Enrage when safe.

 

Intended Use

  • Class: Druid (Feral Tank)

  • Game Version: WoW 3.3.5 (Wrath of the Lich King)

  • Bot Framework: WRobot

  • Role: Main tank in dungeons/raids or off-tank in groups.


What's New in Version 1.0.14   See changelog

Released

Advanced Feral Tank Rotation - Major Update v2.0

🚀 What's New:

FIXED: Movement Logic Issues

  • No more running around targets - Bot now properly positions and stays in melee range (2-4 yards)
  • Intelligent facing system - Automatically turns to face target with 45° tolerance
  • Smart positioning - Steps back if too close, stops movement when properly positioned
  • Stable melee combat - No more constant repositioning during fights

NEW: Auto-Targeting System

  • 🎯 Automatic threat detection - Instantly targets enemies attacking you
  • 🎯 Priority targeting - Always picks closest attacker first
  • 🎯 Smart target switching - Won't change targets during active combat unless necessary

NEW: Feral Charge Integration

  • Gap closer on distant enemies - Auto-uses Feral Charge on targets 8-25 yards away
  • Interrupt system - Feral Charge to interrupt enemy casts attacking party members
  • Fallback logic - Uses Growl if Feral Charge unavailable

IMPROVED: Pulling Logic

  • 🏹 Faerie Fire pulling - Works at any range without position restrictions
  • 🏹 Seamless transition - Pull → Run → Position → Melee rotation
  • 🏹 No position conflicts - Pulling spells bypass movement logic

ENHANCED: Party Protection

  • 🛡️ Better threat management - Improved detection of enemies attacking party
  • 🛡️ Instant Growl response - Quick taunt on party attackers
  • 🛡️ Cast interrupts - Feral Charge distant casters targeting allies

🔧 Technical Improvements:

Compatibility Fixed:

  • Older C# syntax - Compatible with older WRobot versions
  • No string interpolation - Uses traditional string concatenation
  • Legacy .NET support - Works with .NET Framework 3.5+

Performance Optimized:

  • Efficient timers - Movement (100ms), Auto-target (250ms), Threat (1.5s)
  • Smart checks - Only processes when needed
  • Memory efficient - Proper cleanup of dead targets

📋 How It Works:

1. OUT OF COMBAT: Buffs party (Mark of Wild, Thorns)
2. ENEMY SPOTTED: Auto-targets → Faerie Fire pull
3. ENEMY APPROACHES: Bot runs to target (Feral Charge if far)
4. IN MELEE: Stable positioning → Full rotation
5. PARTY IN DANGER: Instant Growl/Feral Charge response
 

⚙️ Key Features:

  • Bear Form management - Auto-maintains Dire Bear/Bear Form
  • Emergency cooldowns - Survival Instincts (30% HP), Frenzied Regen (50% HP), Barkskin (60% HP)
  • AoE detection - Switches to Swipe rotation with 3+ enemies
  • Buff maintenance - Gift/Mark of the Wild, Thorns on tanks
  • Debuff tracking - Maintains Lacerate stacks, Demoralizing Roar, Faerie Fire

🎯 Perfect For:

  • Dungeon tanking - Stable positioning, party protection
  • Solo grinding - Efficient pulling and combat
  • Leveling - Auto-buffing, smart target selection
  • Instance farming - Reliable AoE threat generation

💡 Usage Tips:

  • Works best in Bear/Dire Bear form
  • Automatically handles dead target cleanup
  • No manual configuration needed - just load and go!
  • Compatible with most WRobot versions

Tested on WoW 3.3.5 - Ready for immediate use!

Created by Cloude chat bot . 

 

User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

×
×
  • Create New...