A browser-based game that simulates the Mutated Construct mechanics from the Amber-Shaper Un'sok boss fight in World of Warcraft: Mists of Pandaria. Built with Phaser 3, PHP, and modern web technologies.
You play as a Mutated Construct, a transformed player character with unique abilities and a critical willpower management system. Your goal is to help defeat Amber-Shaper Un'sok while managing your willpower to avoid going berserk.
You can play the game directly in your browser by visiting: https://ambershaper.raidassignments.com/
No installation or setup required - just open the link and start playing!
- A modern web browser (Chrome, Firefox, Safari, Edge)
- One of the following server options (recommended) or just open the file directly
Since this project uses PHP for version control and caching, the PHP development server is the best option:
# Navigate to the project directory
cd "F:\Amber-Shaper Un'sok"
# Start PHP development server
php -S localhost:8000
# Open your browser and go to:
# http://localhost:8000Why PHP? This project uses PHP to add version parameters to JavaScript files for cache busting, ensuring you always get the latest version of the game files.
# Python 3
python -m http.server 8000
# Python 2 (if you have it)
python -m SimpleHTTPServer 8000
# Then visit: http://localhost:8000# Install http-server globally (one-time setup)
npm install -g http-server
# Or use npx to run without installing
npx http-server
# Then visit: http://localhost:8080You can open index.php directly in your browser by double-clicking it, but some features may not work properly due to browser security restrictions.
If you have a local web server stack installed:
- Copy the project files to your web server's document root
- Access via
http://localhost/your-project-folder
- PHP: 7.0 or higher (for PHP development server)
- Web Server: Any modern web server (Apache, Nginx, etc.) or development server
- Browser: Modern browser with JavaScript enabled
- Movement: Arrow keys or WASD
- Abilities:
1or click button: Amber Strike2or click button: Struggle For Control3or click button: Consume Amber4or click button: Break Free
- Targeting: Click on enemies to target them
- Visual Feedback: Your character glows red when within melee range (50 pixels) of your target
- Your willpower drains over time (2 points/second)
- If willpower reaches 0, you go berserk and the raid wipes
- Use Consume Amber to restore willpower from nearby globules
- Manage your abilities carefully - they cost willpower!
-
Amber Strike (1)
- Cost: 0 Willpower
- Cooldown: 6 seconds
- Effect: Interrupts enemies and applies damage debuff
- Priority: Use on enemy constructs to prevent them from going berserk
-
Struggle For Control (2)
- Cost: 8 Willpower
- Cooldown: 6 seconds
- Effect: CRITICAL: Use this to interrupt your own Amber Explosion cast!
- Strategy: Don't let yourself finish the Amber Explosion cast
-
Consume Amber (3)
- Cost: 0 Willpower
- Cooldown: 5 seconds
- Effect: Consume Amber
- Strategy: Use to create fuel for Consume Amber
-
Smash (4)
- Cost: 0 Willpower
- Cooldown: 0 seconds
- Effect: Available at 20% health - regain your natural form.
- Strategy: Use this to "win the game", but only if you are unable to kill Amber Shaper Un'sok
- Basic mechanics introduction
- Focus on learning willpower management
- Use Amber Strike to stack debuff on boss
- Boss is vulnerable to damage
- Amber Monstrosity spawns
- Boss gains 99% damage reduction while Amber Monstrosity is alive
- All WoW class enemies target the Amber Monstrosity
- Focus on defeating the Amber Monstrosity to remove boss damage reduction
- Use Amber Strike on Amber Monstrosity to build stacks
- Boss damage reduction is removed
- All WoW class enemies target the boss again
- Boss becomes vulnerable to full damage
- Critical willpower management required for final push
- Use Amber Strike on boss to build stacks for maximum damage
- Primary Goal: Defeat Amber-Shaper Un'sok
- Critical Rule: Never let your willpower reach 0
- Secondary Goals:
- Prevent enemy constructs from going berserk
- Manage amber globules strategically
- Deal maximum damage while maintaining control
- Willpower reaches 0: You go berserk and wipe the raid
- Amber Explosion casted: If you cast Amber Explosion, the raid fails
- Boss defeats you: If you die, the raid fails
Your score is calculated using a sophisticated system that rewards both speed and skill:
- Time survived: 10 points per second
- Damage dealt: 5 points per damage point
The main way to earn points is through managing stacks on the boss and Amber Monstrosity:
- 0โ1 stacks: 100 points
- 1โ2 stacks: 200 points
- 2โ3 stacks: 400 points
- 3โ4 stacks: 800 points
- And so on (doubling each time)
- Losing stacks: -50% of the points you would have gained for that stack
- Stack timeout: Stacks reset after 15 seconds of inactivity
When you defeat the boss, your total score is multiplied based on kill time. The multiplier decreases continuously, rewarding every second saved:
- โค30 seconds: 4.0x - 5.5x multiplier (bonus for very fast kills)
- 30-60 seconds: 4.0x โ 3.0x multiplier (smooth transition)
- 60-90 seconds: 3.0x โ 2.0x multiplier (smooth transition)
- 90-120 seconds: 2.0x โ 1.5x multiplier (smooth transition)
- 120-180 seconds: 1.5x โ 1.2x multiplier (smooth transition)
- 180-240 seconds: 1.2x โ 1.0x multiplier (smooth transition)
- >240 seconds: 1.0x multiplier (no bonus)
Examples:
- 60 seconds = 3.0x multiplier
- 62 seconds = 2.93x multiplier
- 65 seconds = 2.83x multiplier
- 90 seconds = 2.0x multiplier
Final Score = (Base Score + Stack Points) ร Time Multiplier
- Focus on maintaining high stacks - this is your primary source of points
- Kill the boss quickly for maximum time multiplier
- Avoid losing stacks - penalties are significant
- Balance damage dealing with stack management
- Real-time willpower management
- Dynamic phase progression
- Particle effects and visual feedback
- Responsive design for different screen sizes
- Keyboard and mouse controls
- Tooltips and UI feedback
- Animated transitions and effects
- Engine: Phaser 3.60.0
- Frontend: JavaScript (ES6+), HTML5, CSS3
- Backend: PHP 7.0+ (for version control and cache busting)
- Graphics: Canvas-based with particle systems
- Physics: Arcade physics for collision detection
- UI: Modern CSS with animations and responsive design
- Version Control: PHP-based cache busting system with version parameters
Amber-Shaper Un'sok/
โโโ index.php # Main entry point with PHP version control
โโโ styles.css # Game styling and UI
โโโ js/ # JavaScript game files
โ โโโ game.js # Main game configuration
โ โโโ main.js # Game initialization
โ โโโ entities/ # Game entity classes
โ โโโ scenes/ # Game scene management
โ โโโ ui/ # UI management
โโโ img/ # Game assets and sprites
The project uses PHP to add version parameters to JavaScript files, ensuring browsers always load the latest version:
- Version number is defined in
index.phpat the top - All script tags include
?v=<?php echo $version; ?>for cache busting - Update the
$versionvariable inindex.phpto force browser cache refresh
This simulator recreates the unique mechanics of the Amber-Shaper Un'sok fight, specifically the Mutated Construct transformation. The game emphasizes:
- Resource Management: Willpower as a critical resource
- Risk vs Reward: Powerful abilities with high costs
- Multi-tasking: Managing multiple objectives simultaneously
- Progressive Difficulty: Three distinct phases with increasing complexity
The game is designed to be easily modifiable:
- Ability costs and cooldowns can be adjusted in
Player.js - Enemy spawn rates can be modified in
GameScene.js - Visual effects can be customized in the respective entity classes
- Phase timings can be changed in the phase management system
- Original Boss Design: Blizzard Entertainment (World of Warcraft: Mists of Pandaria)
- Game Engine: Phaser (https://phaser.io/)
- Inspiration: Teron Gorefiend Construct Simulator by jconnop
- Particle effects may be intensive on older devices
- Some visual effects may not work in all browsers
- Mobile support is limited (desktop recommended)
- Sound effects and background music
- Additional enemy types
- More complex boss mechanics
- Multiplayer support
- Leaderboards and achievements
- Mobile optimization
Enjoy mastering the Mutated Construct mechanics! Remember: Willpower management is key to victory! ๐ฎโจ