Jump to content

About This File

Purpose

This prompt generates complete WRobot fight classes for WoW - change your wow version in promts !!  tank specializations with advanced movement AI. It creates production-ready code from scratch - no existing code needed.


How To Use

Basic Usage

Step 1: Fill in the template

 
 
Generate a complete WRobot fight class for [CLASS/SPEC] tank in WoW 3.3.5 (WotLK) with advanced movement AI.

CLASS/SPEC INFORMATION:
- Class: Protection Paladin
- Primary Resource: Mana
- Key Tanking Mechanics: Holy Shield, Avenger's Shield, Blessing of Sanctuary
- Threat Generation: Shield of Righteousness > Hammer of Righteousness > Judgement

Step 2: Submit to Claude

Paste the entire prompt with your filled-in information.

Step 3: Receive complete code

Claude will generate 1500-2000 lines of compilable C# code.


Supported Classes

WotLK Tank Specs:

  • Protection Warrior - Rage, Shield Block
  • Protection Paladin - Mana, Holy Shield
  • Blood Death Knight - Runes/Runic Power, Bone Shield
  • Feral Druid (Bear) - Rage, Savage Defense
  • (Guardian Druid for later expansions)

What You Need To Provide

Required Information:

1. Class/Spec Name

 
 
Class: Protection Paladin

2. Primary Resource

 
 
Primary Resource: Mana

Options: Mana, Rage, Energy, Runes, Runic Power, Holy Power (Cata+)

3. Key Tanking Mechanics

 
 
Key Tanking Mechanics: Holy Shield (damage reduction buff), 
Avenger's Shield (ranged pull), Blessing of Sanctuary

List 2-4 core defensive abilities that define the tank playstyle.

4. Threat Generation Priority

 
 
Threat Generation: Shield of Righteousness > Hammer of Righteousness > 
Judgement > Consecration (AoE)

List abilities in order of TPS (threat per second) priority.

Optional (Advanced):

5. Cooldown Priority

 
 
Emergency Cooldowns:
- ≤20% HP: Divine Protection, Lay on Hands
- ≤40% HP: Guardian of Ancient Kings, Ardent Defender  
- ≤60% HP: Holy Shield refresh

6. Special Mechanics

 
 
Special Mechanics:
- Maintain Seal of Vengeance at all times
- Judge on cooldown for mana return
- Divine Plea when mana < 50%

What Gets Generated

Complete Package Includes:

1. Main Class (ICustomClass implementation)

  • Thread initialization
  • Proper disposal
  • WRobot integration

2. Rotation Class (Core logic)

  • Resource management
  • Spell priority system
  • Buff/debuff tracking
  • Emergency handlers

3. Movement AI System (3 classes, ~800 lines)

  • TankMovementAI: Positioning logic
  • TurnCommandArbiter: Turn control with hysteresis
  • WRobotCoordinator: Thread coordination

4. Helper Classes

  • Timer: For ability cooldown tracking
  • ThreatInfo: For threat management
  • EnemyData: For enemy tracking

5. Systems

  • Auto-targeting (switches to dangerous enemies)
  • Threat management (taunts off-target)
  • Fear detection & breaking
  • Auto-looting
  • Party buff management
  • Emergency cooldown usage

Understanding The Output

Code Structure:

 
 
Main                          // Entry point
└── [Class]TankRotation       // Core rotation logic
    ├── TankMovementAI        // Positioning system
    ├── TurnCommandArbiter    // Turn control
    ├── WRobotCoordinator     // Thread coordination
    ├── PulseRotation()       // Main 50ms loop
    ├── ExecuteMainRotation() // Spell casting
    └── Helper methods        // Utilities

Thread Model:

  • Rotation Thread: 50ms pulse - handles spell casting
  • Movement Thread: 30ms pulse - handles positioning/turning

Both threads are synchronized via thread-safe coordinators.


Key Features Explained

1. Manual Control Detection

  • Detects WASD+QE keypresses
  • A/D keys get 300ms priority over AI turning
  • Seamless handoff between player and AI

2. Dual-Threshold Hysteresis

  • START turning: When off-angle > 17° (0.30 rad)
  • STOP turning: When off-angle < 7° (0.12 rad)
  • Prevents oscillation/jittering

3. Approach With Defense

  • Uses WRobot pathfinding to reach target
  • During approach, AI handles enemies attacking from behind
  • Auto-releases control when in melee range

4. Threat Management

  • Scans party members every 250ms
  • Prioritizes: Casting enemies > Healers > DPS
  • Auto-taunts threats off allies

5. Emergency System

  • HP-based thresholds: 20%, 40%, 60%, 80%
  • Cooldown priority (major → minor)
  • Special handling for multiple enemies

Customization Points

After Generation, You Can Modify:

Easy Customizations:

  1. Spell Priority - Reorder in ExecuteMainRotation()
  2. HP Thresholds - Change in HandleEmergency()
  3. Timer Intervals - Adjust in constructor
  4. Buff List - Add/remove in BuffPartyMembersOutOfCombat()

Advanced Customizations:

  1. Movement Distances - MIN_DISTANCE, IDEAL_DISTANCE, MAX_DISTANCE
  2. Smoothing Parameters - TurnSmoothness, MoveSmoothness
  3. Threat Weights - Modify CalculateThreatWeight()

⚠️ DO NOT MODIFY:

  • START_TURN_THRESHOLD (0.30)
  • STOP_TURN_THRESHOLD (0.12)
  • Thread sleep intervals (30ms/50ms)
  • Lock objects or synchronization

Troubleshooting

Common Issues:

"Class doesn't cast spells"

  • Check spell names match WoW 3.3.5 exactly (case-sensitive)
  • Verify character knows the spells
  • Check resource availability (mana/rage/runes)

"Movement AI doesn't work"

  • Ensure not manually controlling (release WASD)
  • Check combat is active
  • Verify enemies are within 40 yards

"Character oscillates/jitters"

  • Don't modify hysteresis thresholds
  • Ensure thread sleep intervals are correct
  • Check for conflicting WRobot products

"Compilation errors"

  • Verify all using statements present
  • Check WRobot version compatibility
  • Ensure class names match throughout

Example Prompts

Minimal Example:

 
 
Generate fight class for Protection Paladin tank

CLASS/SPEC INFORMATION:
- Class: Protection Paladin
- Primary Resource: Mana
- Key Tanking Mechanics: Holy Shield, Avenger's Shield
- Threat Generation: Shield of Righteousness > Hammer of Righteousness > Judgement

Detailed Example:

 
 
Generate fight class for Blood Death Knight tank

CLASS/SPEC INFORMATION:
- Class: Blood Death Knight
- Primary Resource: Runes and Runic Power
- Key Tanking Mechanics: Bone Shield (damage reduction), 
  Vampiric Blood (healing), Rune Tap (self-heal), Dancing Rune Weapon (threat)
- Threat Generation: Heart Strike > Death Strike > Rune Strike (RP dump) > 
  Blood Boil (AoE) > Death and Decay (AoE sustained)

Special mechanics:
- Maintain Frost Fever and Blood Plague on all targets
- Use Pestilence to spread diseases in AoE
- Death Strike for healing when < 70% HP
- Empower Rune Weapon when all runes on CD
- Lichborne + Death Coil self-heal combo when < 60% HP

Technical Specifications

Performance:

  • CPU Usage: ~2-3% on modern hardware
  • Memory: ~50MB additional
  • Latency: <10ms decision time
  • Tick Rates:
    • Movement: 33 ticks/sec (30ms)
    • Rotation: 20 ticks/sec (50ms)

Thread Safety:

  • All enemy access through cacheLock
  • Turn control through arbiterLock
  • Coordinator requests through lockObj
  • No race conditions or deadlocks

Compatibility:

  • WoW Version: 3.3.5a (WotLK)
  • WRobot: 1.7.2+
  • .NET Framework: 4.0+
  • OS: Windows 7+

Best Practices

For Best Results:

  1. Be Specific: Provide exact spell names as they appear in WoW
  2. Priority Order: List abilities in actual TPS priority
  3. Test Incrementally: Test basic rotation → movement → advanced features
  4. Monitor Logs: Check WRobot log for errors
  5. Backup: Keep working versions before modifications

Common Mistakes:

Wrong spell names ("Shield Slam" vs "Slam") Modifying hysteresis constants Removing thread synchronization Incorrect resource type (Rage vs Mana) Forgetting class-specific buffs


FAQ

Q: Can I use this for DPS specs? A: No, this is specifically for tank specs. Movement AI is designed for defensive positioning, not DPS rotations.

Q: Does it work in raids? A: Yes, scales up to 40 players. Threat management handles raid-size parties.

Q: Can I disable movement AI? A: Just hold WASD - manual control has full priority.

Q: How does it compare to manual play? A: Positioning is near-optimal. Rotation depends on how well you specify spell priority.

Q: Can I combine with other WRobot products? A: Yes, but avoid conflicting movement/rotation products.

Q: Does it handle line of sight issues? A: Basic LoS through WRobot pathfinding. Complex terrain may require manual control.


Support & Updates

Getting Help:

  1. Check generated code for inline comments
  2. Review this manual for configuration
  3. Check WRobot forums for WRobot-specific issues
  4. Test with single enemy before dungeons/raids

Version Information:

  • Manual Version: 1.0
  • AI Version: Advanced Movement AI v2.0
  • Last Updated: 2025

Legal & Disclaimer

This generator creates automation tools for World of Warcraft. Usage may violate Blizzard's Terms of Service. Use at your own risk. The authors are not responsible for account actions.

User Feedback

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

There are no reviews to display.

×
×
  • Create New...