Spaces:
Running
Running
File size: 44,122 Bytes
afe401e d2e1985 afe401e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mobile Legends Hero Showcase</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.hero-card {
transition: all 0.3s ease;
transform-style: preserve-3d;
}
.hero-card:hover {
transform: translateY(-5px) scale(1.02);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.role-tag {
position: absolute;
top: 10px;
right: 10px;
padding: 2px 8px;
border-radius: 12px;
font-size: 12px;
font-weight: bold;
}
.hero-image {
height: 200px;
object-fit: cover;
object-position: top;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
animation: fadeIn 0.5s;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.skill-icon {
width: 50px;
height: 50px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
margin-right: 10px;
}
.counter-badge {
display: inline-block;
padding: 2px 8px;
border-radius: 12px;
font-size: 12px;
margin-right: 5px;
margin-bottom: 5px;
}
</style>
</head>
<body class="bg-gray-900 text-gray-100">
<!-- Header -->
<header class="bg-gradient-to-r from-blue-900 to-purple-900 py-6 shadow-lg">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center">
<div class="flex items-center">
<img src="https://upload.wikimedia.org/wikipedia/en/7/72/New_Mobile_Legends_Bang_Bang_2020_Logo.png" alt="MLBB Logo" class="h-12 mr-4">
<h1 class="text-3xl font-bold">Hero Showcase</h1>
</div>
<div class="hidden md:flex space-x-6">
<a href="#" class="hover:text-yellow-300 transition">Home</a>
<a href="#" class="hover:text-yellow-300 transition">Heroes</a>
<a href="#" class="hover:text-yellow-300 transition">Tier List</a>
<a href="#" class="hover:text-yellow-300 transition">Guides</a>
</div>
<button class="md:hidden text-2xl">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</header>
<!-- Hero Search -->
<section class="py-8 bg-gray-800">
<div class="container mx-auto px-4">
<div class="max-w-2xl mx-auto">
<div class="relative">
<input type="text" placeholder="Search for heroes..." class="w-full py-3 px-6 rounded-full bg-gray-700 text-white focus:outline-none focus:ring-2 focus:ring-yellow-500">
<button class="absolute right-3 top-3 text-gray-400 hover:text-white">
<i class="fas fa-search"></i>
</button>
</div>
</div>
</div>
</section>
<!-- Hero Filter -->
<section class="py-4 bg-gray-800 border-t border-gray-700">
<div class="container mx-auto px-4">
<div class="flex flex-wrap justify-center gap-2">
<button class="px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600 transition">All</button>
<button class="px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600 transition flex items-center">
<i class="fas fa-swords mr-2 text-red-500"></i> Fighter
</button>
<button class="px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600 transition flex items-center">
<i class="fas fa-shield mr-2 text-blue-400"></i> Tank
</button>
<button class="px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600 transition flex items-center">
<i class="fas fa-bolt mr-2 text-yellow-400"></i> Assassin
</button>
<button class="px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600 transition flex items-center">
<i class="fas fa-hat-wizard mr-2 text-purple-400"></i> Mage
</button>
<button class="px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600 transition flex items-center">
<i class="fas fa-bow-arrow mr-2 text-green-400"></i> Marksman
</button>
<button class="px-4 py-2 rounded-full bg-gray-700 hover:bg-gray-600 transition flex items-center">
<i class="fas fa-hands-heart mr-2 text-pink-400"></i> Support
</button>
</div>
</div>
</section>
<!-- Hero Showcase -->
<section class="py-12">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold mb-8 text-center">Popular Heroes</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-8">
<!-- Hero Card 1 - Alucard -->
<div class="hero-card bg-gray-800 rounded-lg overflow-hidden shadow-lg cursor-pointer" onclick="showHeroDetails('alucard')">
<div class="relative">
<img src="https://cdn.oneesports.gg/cdn-data/2024/07/MLBB_Alucard.jpg" alt="Alucard" class="w-full hero-image">
<span class="role-tag bg-red-600">Fighter</span>
</div>
<div class="p-4">
<h3 class="text-xl font-bold mb-2">Alucard</h3>
<p class="text-gray-400 text-sm">The Demon Hunter</p>
<div class="flex mt-4">
<div class="flex-1 text-center">
<div class="text-yellow-400"><i class="fas fa-fire"></i></div>
<div class="text-xs mt-1">Damage</div>
</div>
<div class="flex-1 text-center">
<div class="text-blue-400"><i class="fas fa-shield-alt"></i></div>
<div class="text-xs mt-1">Durability</div>
</div>
<div class="flex-1 text-center">
<div class="text-green-400"><i class="fas fa-running"></i></div>
<div class="text-xs mt-1">Mobility</div>
</div>
</div>
</div>
</div>
<!-- Hero Card 2 - Miya -->
<div class="hero-card bg-gray-800 rounded-lg overflow-hidden shadow-lg cursor-pointer" onclick="showHeroDetails('miya')">
<div class="relative">
<img src="https://i.ytimg.com/vi/Z-YPyahoSiw/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLDybtnTeWdbkIyyjO3kMsvLwtnzNw" alt="Miya" class="w-full hero-image">
<span class="role-tag bg-green-600">Marksman</span>
</div>
<div class="p-4">
<h3 class="text-xl font-bold mb-2">Miya</h3>
<p class="text-gray-400 text-sm">Moonlight Archer</p>
<div class="flex mt-4">
<div class="flex-1 text-center">
<div class="text-yellow-400"><i class="fas fa-fire"></i></div>
<div class="text-xs mt-1">Damage</div>
</div>
<div class="flex-1 text-center">
<div class="text-blue-400"><i class="fas fa-shield-alt"></i></div>
<div class="text-xs mt-1">Durability</div>
</div>
<div class="flex-1 text-center">
<div class="text-green-400"><i class="fas fa-running"></i></div>
<div class="text-xs mt-1">Mobility</div>
</div>
</div>
</div>
</div>
<!-- Hero Card 3 - Tigreal -->
<div class="hero-card bg-gray-800 rounded-lg overflow-hidden shadow-lg cursor-pointer" onclick="showHeroDetails('tigreal')">
<div class="relative">
<img src="https://staticg.sportskeeda.com/editor/2023/07/baf8e-16886704243329-1920.jpg" alt="Tigreal" class="w-full hero-image">
<span class="role-tag bg-blue-600">Tank</span>
</div>
<div class="p-4">
<h3 class="text-xl font-bold mb-2">Tigreal</h3>
<p class="text-gray-400 text-sm">Warrior of Dawn</p>
<div class="flex mt-4">
<div class="flex-1 text-center">
<div class="text-yellow-400"><i class="fas fa-fire"></i></div>
<div class="text-xs mt-1">Damage</div>
</div>
<div class="flex-1 text-center">
<div class="text-blue-400"><i class="fas fa-shield-alt"></i></div>
<div class="text-xs mt-1">Durability</div>
</div>
<div class="flex-1 text-center">
<div class="text-green-400"><i class="fas fa-running"></i></div>
<div class="text-xs mt-1">Mobility</div>
</div>
</div>
</div>
</div>
<!-- Hero Card 4 - Eudora -->
<div class="hero-card bg-gray-800 rounded-lg overflow-hidden shadow-lg cursor-pointer" onclick="showHeroDetails('eudora')">
<div class="relative">
<img src="https://cdn.oneesports.gg/cdn-data/2021/06/MLBB_revamped_Eudora.jpg" alt="Eudora" class="w-full hero-image">
<span class="role-tag bg-purple-600">Mage</span>
</div>
<div class="p-4">
<h3 class="text-xl font-bold mb-2">Eudora</h3>
<p class="text-gray-400 text-sm">Lightning Sorceress</p>
<div class="flex mt-4">
<div class="flex-1 text-center">
<div class="text-yellow-400"><i class="fas fa-fire"></i></div>
<div class="text-xs mt-1">Damage</div>
</div>
<div class="flex-1 text-center">
<div class="text-blue-400"><i class="fas fa-shield-alt"></i></div>
<div class="text-xs mt-1">Durability</div>
</div>
<div class="flex-1 text-center">
<div class="text-green-400"><i class="fas fa-running"></i></div>
<div class="text-xs mt-1">Mobility</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Hero Details Modal -->
<div id="heroModal" class="fixed inset-0 bg-black bg-opacity-80 z-50 hidden overflow-y-auto">
<div class="container mx-auto px-4 py-12">
<div class="max-w-6xl mx-auto bg-gray-800 rounded-lg overflow-hidden">
<!-- Modal Header -->
<div class="relative">
<img id="heroModalImage" src="" alt="" class="w-full h-64 object-cover object-top">
<button onclick="closeHeroModal()" class="absolute top-4 right-4 bg-gray-900 bg-opacity-50 rounded-full p-2 hover:bg-opacity-75 transition">
<i class="fas fa-times text-white text-xl"></i>
</button>
<div id="heroModalRole" class="absolute bottom-4 right-4 px-4 py-1 rounded-full text-sm font-bold"></div>
</div>
<!-- Modal Content -->
<div class="p-6">
<div class="flex flex-col md:flex-row gap-6">
<!-- Left Column -->
<div class="md:w-1/3">
<h2 id="heroModalName" class="text-3xl font-bold mb-2"></h2>
<p id="heroModalTitle" class="text-gray-400 text-lg mb-4"></p>
<div class="bg-gray-700 rounded-lg p-4 mb-6">
<h3 class="text-xl font-bold mb-3 border-b border-gray-600 pb-2">Attributes</h3>
<div class="grid grid-cols-2 gap-4">
<div>
<div class="flex items-center mb-1">
<span class="font-semibold mr-2">Damage:</span>
<div class="flex-1 bg-gray-600 rounded-full h-2">
<div id="heroDamage" class="bg-yellow-500 h-2 rounded-full"></div>
</div>
</div>
<div class="flex items-center mb-1">
<span class="font-semibold mr-2">Durability:</span>
<div class="flex-1 bg-gray-600 rounded-full h-2">
<div id="heroDurability" class="bg-blue-500 h-2 rounded-full"></div>
</div>
</div>
<div class="flex items-center">
<span class="font-semibold mr-2">Mobility:</span>
<div class="flex-1 bg-gray-600 rounded-full h-2">
<div id="heroMobility" class="bg-green-500 h-2 rounded-full"></div>
</div>
</div>
</div>
<div>
<div class="flex items-center mb-1">
<span class="font-semibold mr-2">Difficulty:</span>
<div class="flex-1 bg-gray-600 rounded-full h-2">
<div id="heroDifficulty" class="bg-purple-500 h-2 rounded-full"></div>
</div>
</div>
<div class="flex items-center mb-1">
<span class="font-semibold mr-2">Control:</span>
<div class="flex-1 bg-gray-600 rounded-full h-2">
<div id="heroControl" class="bg-red-500 h-2 rounded-full"></div>
</div>
</div>
<div class="flex items-center">
<span class="font-semibold mr-2">Utility:</span>
<div class="flex-1 bg-gray-600 rounded-full h-2">
<div id="heroUtility" class="bg-pink-500 h-2 rounded-full"></div>
</div>
</div>
</div>
</div>
</div>
<div class="bg-gray-700 rounded-lg p-4">
<h3 class="text-xl font-bold mb-3 border-b border-gray-600 pb-2">Counters</h3>
<div>
<h4 class="font-semibold text-yellow-400 mb-2">Strong Against</h4>
<div id="heroStrongAgainst" class="flex flex-wrap mb-4"></div>
<h4 class="font-semibold text-red-400 mb-2">Weak Against</h4>
<div id="heroWeakAgainst" class="flex flex-wrap"></div>
</div>
</div>
</div>
<!-- Right Column -->
<div class="md:w-2/3">
<!-- Tabs -->
<div class="flex border-b border-gray-700 mb-6">
<button onclick="changeTab('overview')" class="tab-button px-4 py-2 font-semibold border-b-2 border-yellow-500">Overview</button>
<button onclick="changeTab('skills')" class="tab-button px-4 py-2 font-semibold text-gray-400 hover:text-white">Skills</button>
<button onclick="changeTab('strategies')" class="tab-button px-4 py-2 font-semibold text-gray-400 hover:text-white">Strategies</button>
<button onclick="changeTab('builds')" class="tab-button px-4 py-2 font-semibold text-gray-400 hover:text-white">Builds</button>
</div>
<!-- Tab Contents -->
<div id="overview" class="tab-content active">
<h3 class="text-xl font-bold mb-3">Backstory</h3>
<p id="heroBackstory" class="text-gray-300 mb-6"></p>
<h3 class="text-xl font-bold mb-3">Playstyle</h3>
<p id="heroPlaystyle" class="text-gray-300"></p>
</div>
<div id="skills" class="tab-content">
<div id="heroSkills" class="space-y-6"></div>
</div>
<div id="strategies" class="tab-content">
<div class="space-y-6">
<div>
<h3 class="text-xl font-bold mb-2">Early Game</h3>
<p id="heroEarlyGame" class="text-gray-300"></p>
</div>
<div>
<h3 class="text-xl font-bold mb-2">Mid Game</h3>
<p id="heroMidGame" class="text-gray-300"></p>
</div>
<div>
<h3 class="text-xl font-bold mb-2">Late Game</h3>
<p id="heroLateGame" class="text-gray-300"></p>
</div>
<div>
<h3 class="text-xl font-bold mb-2">Team Fight</h3>
<p id="heroTeamFight" class="text-gray-300"></p>
</div>
</div>
</div>
<div id="builds" class="tab-content">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h3 class="text-xl font-bold mb-3">Recommended Build</h3>
<div id="heroBuild" class="bg-gray-700 rounded-lg p-4"></div>
</div>
<div>
<h3 class="text-xl font-bold mb-3">Emblem</h3>
<div id="heroEmblem" class="bg-gray-700 rounded-lg p-4"></div>
</div>
<div>
<h3 class="text-xl font-bold mb-3">Battle Spells</h3>
<div id="heroSpells" class="bg-gray-700 rounded-lg p-4"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
// Hero data
const heroes = {
alucard: {
name: "Alucard",
title: "The Demon Hunter",
role: "Fighter",
roleColor: "bg-red-600",
image: "https://www.lapakgaming.com/blog/en-ph/wp-content/uploads/2024/10/Alucard-Skins.jpg",
attributes: {
damage: 90,
durability: 70,
mobility: 80,
difficulty: 60,
control: 40,
utility: 30
},
backstory: "Alucard is a demon hunter who has dedicated his life to exterminating demons. He was once a noble knight until his family was slaughtered by demons. Now, he wanders the land, seeking vengeance against all demonkind. His cursed sword absorbs the life force of his enemies, making him stronger with each kill.",
playstyle: "Alucard is a high burst damage fighter with excellent sustain. He excels at diving into the backline to eliminate squishy targets. His passive allows him to heal based on damage dealt, making him deadly in prolonged fights. Proper timing of his ultimate is crucial to maximize his damage and survivability.",
strongAgainst: ["Layla", "Eudora", "Miya"],
weakAgainst: ["Khufra", "Akai", "Chou"],
skills: [
{
name: "Pursuit",
description: "Alucard dashes to an enemy, dealing physical damage. If the target is marked, the cooldown is reduced.",
type: "passive",
icon: "fas fa-running"
},
{
name: "Groundsplitter",
description: "Alucard smashes the ground, dealing physical damage to enemies in a fan-shaped area and slowing them.",
type: "skill1",
icon: "fas fa-mountain"
},
{
name: "Whirling Smash",
description: "Alucard spins his sword, dealing physical damage to nearby enemies. Hitting enemies reduces the cooldown of other skills.",
type: "skill2",
icon: "fas fa-sync-alt"
},
{
name: "Fission Wave",
description: "Alucard leaps and smashes the ground, dealing physical damage to enemies in the area. He gains increased lifesteal for a short duration.",
type: "ultimate",
icon: "fas fa-bolt"
}
],
strategies: {
earlyGame: "Focus on farming and avoid extended fights. Use Groundsplitter to poke enemies and Whirling Smash to clear waves quickly. Don't engage unless you have a clear advantage.",
midGame: "Start looking for opportunities to gank lanes. Use bushes to ambush enemies. Remember to mark enemies with your passive before engaging for maximum damage.",
lateGame: "Your role is to dive the backline and eliminate priority targets. Wait for the enemy team to use their crowd control before engaging. Use Fission Wave at the right moment to maximize your lifesteal.",
teamFight: "Flank the enemy team from the side or behind. Target the squishy damage dealers first. Use your mobility to reposition and avoid being focused down."
},
builds: [
"Warrior Boots",
"Bloodlust Axe",
"Endless Battle",
"Blade of Despair",
"Brute Force Breastplate",
"Immortality"
],
emblem: "Assassin Emblem (Agility, Invasion, Killing Spree)",
spells: "Flicker or Execute"
},
miya: {
name: "Miya",
title: "Moonlight Archer",
role: "Marksman",
roleColor: "bg-green-600",
image: "https://api.duniagames.co.id/api/content/upload/file/13147544081601110768.jpg",
attributes: {
damage: 95,
durability: 30,
mobility: 60,
difficulty: 40,
control: 20,
utility: 50
},
backstory: "Miya is the last descendant of the Moonlight Archers, an ancient elven clan that protected the sacred forest. When demons invaded her homeland, she was the only survivor. Now, she fights to preserve the memory of her people and reclaim her lost home.",
playstyle: "Miya is a classic marksman who relies on basic attacks to deal damage. Her strength grows exponentially as the match progresses. She has excellent attack speed and can melt enemies in late game, but is very vulnerable to assassins and crowd control.",
strongAgainst: ["Tigreal", "Balmond", "Hylos"],
weakAgainst: ["Lancelot", "Gusion", "Saber"],
skills: [
{
name: "Moon Blessing",
description: "Every 4 basic attacks, Miya's next attack will deal extra physical damage and slow the enemy.",
type: "passive",
icon: "fas fa-moon"
},
{
name: "Frost Shot",
description: "Miya fires a frost arrow that deals physical damage and slows the target. The arrow can bounce to nearby enemies.",
type: "skill1",
icon: "fas fa-snowflake"
},
{
name: "Arrow of Eclipse",
description: "Miya enters stealth for a short duration and increases her movement speed. Her next basic attack will deal extra physical damage.",
type: "skill2",
icon: "fas fa-eye-slash"
},
{
name: "Hidden Moonlight",
description: "Miya summons a rain of arrows in a designated area, dealing physical damage to enemies in the area multiple times.",
type: "ultimate",
icon: "fas fa-arrows-down-to-people"
}
],
strategies: {
earlyGame: "Focus on last-hitting minions to maximize gold income. Use Frost Shot to poke enemies and farm safely. Avoid overextending as you're very vulnerable early game.",
midGame: "Start rotating with your team for objectives. Use Arrow of Eclipse to reposition or escape dangerous situations. Stay behind your frontline during fights.",
lateGame: "You become the main damage dealer of your team. Position carefully in team fights and focus on dealing consistent damage. Use Hidden Moonlight to zone enemies or secure kills.",
teamFight: "Stay at maximum attack range and prioritize the most dangerous enemy. Use Arrow of Eclipse to reposition if enemies get too close. Communicate with your team to protect you from divers."
},
builds: [
"Swift Boots",
"Demon Shoes",
"Wind of Nature",
"Scarlet Phantom",
"Berserker's Fury",
"Blade of Despair"
],
emblem: "Marksman Emblem (Fatal, Doom, Weakness Finder)",
spells: "Flicker or Inspire"
},
tigreal: {
name: "Tigreal",
title: "Warrior of Dawn",
role: "Tank",
roleColor: "bg-blue-600",
image: "https://cdn.oneesports.gg/cdn-data/2023/03/MLBB_Lightborn_Tigreal.jpg",
attributes: {
damage: 40,
durability: 95,
mobility: 50,
difficulty: 50,
control: 90,
utility: 70
},
backstory: "Tigreal is the captain of the Moniyan Empire's royal guards. A veteran of countless battles, he is respected by allies and feared by enemies. His unwavering loyalty and indomitable spirit make him the shield that protects the empire.",
playstyle: "Tigreal is a frontline tank with excellent crowd control abilities. His role is to initiate team fights and protect his carries. He excels at disrupting enemy formations and setting up kills for his team.",
strongAgainst: ["Gusion", "Lancelot", "Harley"],
weakAgainst: ["Diggie", "Kaja", "Valir"],
skills: [
{
name: "Fearless",
description: "Tigreal gains a stack of Fearless each time he is hit by a basic attack (up to 10 stacks). Each stack increases his physical and magic defense.",
type: "passive",
icon: "fas fa-shield-alt"
},
{
name: "Attack Wave",
description: "Tigreal smashes the ground in a straight line, dealing magic damage and knocking enemies airborne.",
type: "skill1",
icon: "fas fa-wave-square"
},
{
name: "Sacred Hammer",
description: "Tigreal charges forward, dealing magic damage to enemies in his path and pushing them. At the end of the charge, he swings his hammer, dealing magic damage and stunning enemies.",
type: "skill2",
icon: "fas fa-hammer"
},
{
name: "Implosion",
description: "Tigreal gathers energy, then pulls nearby enemies toward him and stuns them, dealing magic damage.",
type: "ultimate",
icon: "fas fa-compress-arrows-alt"
}
],
strategies: {
earlyGame: "Roam between lanes to provide vision and support. Use Sacred Hammer to set up ganks or save allies. Prioritize protecting your damage dealers over chasing kills.",
midGame: "Start looking for team fight opportunities. Communicate with your team before engaging. Use bushes to hide and surprise enemies with your crowd control.",
lateGame: "Your role is crucial in team fights. Look for opportunities to catch multiple enemies with Implosion. Protect your carries from enemy assassins and divers.",
teamFight: "Initiate fights when you see a good opportunity. Use Attack Wave to disrupt enemy formations. Save Sacred Hammer to peel for your carries if needed. Position yourself between enemies and your damage dealers."
},
builds: [
"Tough Boots",
"Dominance Ice",
"Athena's Shield",
"Antique Cuirass",
"Immortality",
"Brute Force Breastplate"
],
emblem: "Tank Emblem (Firmness, Inspire, Tenacity)",
spells: "Flicker or Vengeance"
},
eudora: {
name: "Eudora",
title: "Lightning Sorceress",
role: "Mage",
roleColor: "bg-purple-600",
image: "https://cdn.oneesports.gg/cdn-data/2023/03/MLBB_Eudora_EmeraldEnchantress_skin.jpg",
attributes: {
damage: 90,
durability: 30,
mobility: 50,
difficulty: 60,
control: 70,
utility: 40
},
backstory: "Eudora was born with the rare ability to control lightning. After being ostracized by her village, she was taken in by a secret order of mages who taught her to harness her powers. Now, she wields her lightning magic to protect the innocent.",
playstyle: "Eudora is a burst mage who can eliminate squishy targets with her combo. She relies on positioning and timing to maximize her damage. While fragile, her crowd control abilities allow her to set up kills for her team.",
strongAgainst: ["Lesley", "Gusion", "Hanzo"],
weakAgainst: ["Kaja", "Lolita", "Diggie"],
skills: [
{
name: "Superconductor",
description: "Eudora's skills electrify enemies for 3 seconds. Electrified enemies take extra magic damage from her skills.",
type: "passive",
icon: "fas fa-bolt"
},
{
name: "Forked Lightning",
description: "Eudora summons lightning that strikes multiple enemies, dealing magic damage and slowing them.",
type: "skill1",
icon: "fas fa-bolt"
},
{
name: "Electric Arrow",
description: "Eudora fires an electric arrow that stuns the first enemy hit and deals magic damage to nearby enemies.",
type: "skill2",
icon: "fas fa-arrow-right"
},
{
name: "Thunder's Wrath",
description: "Eudora calls down a powerful lightning strike on an enemy hero, dealing massive magic damage.",
type: "ultimate",
icon: "fas fa-cloud-bolt"
}
],
strategies: {
earlyGame: "Focus on clearing minion waves and poking enemies with Forked Lightning. Use Electric Arrow to set up ganks with your jungler. Be careful of ganks as you're very vulnerable.",
midGame: "Start rotating with your team. Look for opportunities to ambush enemies with your full combo. Stay behind your frontline during fights and focus on eliminating priority targets.",
lateGame: "Your burst damage becomes crucial in team fights. Wait for the right moment to unleash your combo on high-value targets. Position carefully to avoid being caught out.",
teamFight: "Use Electric Arrow to stun dangerous enemies. Follow up with Forked Lightning and Thunder's Wrath to burst them down. Stay at maximum range and use bushes to hide your position."
},
builds: [
"Arcane Boots",
"Lightning Truncheon",
"Genius Wand",
"Holy Crystal",
"Divine Glaive",
"Blood Wings"
],
emblem: "Mage Emblem (Flow, Observation, Impure Rage)",
spells: "Flicker or Flameshot"
}
};
// Show hero details modal
function showHeroDetails(heroId) {
const hero = heroes[heroId];
if (!hero) return;
// Set basic info
document.getElementById('heroModalImage').src = hero.image;
document.getElementById('heroModalName').textContent = hero.name;
document.getElementById('heroModalTitle').textContent = hero.title;
document.getElementById('heroModalRole').textContent = hero.role;
document.getElementById('heroModalRole').className = `absolute bottom-4 right-4 px-4 py-1 rounded-full text-sm font-bold ${hero.roleColor}`;
// Set attributes
document.getElementById('heroDamage').style.width = `${hero.attributes.damage}%`;
document.getElementById('heroDurability').style.width = `${hero.attributes.durability}%`;
document.getElementById('heroMobility').style.width = `${hero.attributes.mobility}%`;
document.getElementById('heroDifficulty').style.width = `${hero.attributes.difficulty}%`;
document.getElementById('heroControl').style.width = `${hero.attributes.control}%`;
document.getElementById('heroUtility').style.width = `${hero.attributes.utility}%`;
// Set backstory and playstyle
document.getElementById('heroBackstory').textContent = hero.backstory;
document.getElementById('heroPlaystyle').textContent = hero.playstyle;
// Set counters
const strongAgainst = document.getElementById('heroStrongAgainst');
const weakAgainst = document.getElementById('heroWeakAgainst');
strongAgainst.innerHTML = '';
weakAgainst.innerHTML = '';
hero.strongAgainst.forEach(heroName => {
const badge = document.createElement('span');
badge.className = 'counter-badge bg-green-900 text-green-300';
badge.textContent = heroName;
strongAgainst.appendChild(badge);
});
hero.weakAgainst.forEach(heroName => {
const badge = document.createElement('span');
badge.className = 'counter-badge bg-red-900 text-red-300';
badge.textContent = heroName;
weakAgainst.appendChild(badge);
});
// Set skills
const skillsContainer = document.getElementById('heroSkills');
skillsContainer.innerHTML = '';
hero.skills.forEach(skill => {
const skillElement = document.createElement('div');
skillElement.className = 'bg-gray-700 rounded-lg p-4';
const skillHeader = document.createElement('div');
skillHeader.className = 'flex items-center mb-3';
const skillIcon = document.createElement('div');
skillIcon.className = 'skill-icon';
skillIcon.innerHTML = `<i class="${skill.icon} text-yellow-400"></i>`;
const skillName = document.createElement('h4');
skillName.className = 'text-lg font-bold';
skillName.textContent = skill.name;
skillHeader.appendChild(skillIcon);
skillHeader.appendChild(skillName);
const skillDesc = document.createElement('p');
skillDesc.className = 'text-gray-300';
skillDesc.textContent = skill.description;
skillElement.appendChild(skillHeader);
skillElement.appendChild(skillDesc);
skillsContainer.appendChild(skillElement);
});
// Set strategies
document.getElementById('heroEarlyGame').textContent = hero.strategies.earlyGame;
document.getElementById('heroMidGame').textContent = hero.strategies.midGame;
document.getElementById('heroLateGame').textContent = hero.strategies.lateGame;
document.getElementById('heroTeamFight').textContent = hero.strategies.teamFight;
// Set builds
const buildContainer = document.getElementById('heroBuild');
buildContainer.innerHTML = '<ul class="list-disc pl-5 text-gray-300">' +
hero.builds.map(item => `<li>${item}</li>`).join('') + '</ul>';
document.getElementById('heroEmblem').textContent = hero.emblem;
document.getElementById('heroSpells').textContent = hero.spells;
// Show modal
document.getElementById('heroModal').classList.remove('hidden');
document.body.style.overflow = 'hidden';
}
// Close hero details modal
function closeHeroModal() {
document.getElementById('heroModal').classList.add('hidden');
document.body.style.overflow = 'auto';
}
// Change tab
function changeTab(tabId) {
// Hide all tab contents
document.querySelectorAll('.tab-content').forEach(tab => {
tab.classList.remove('active');
});
// Remove active class from all tab buttons
document.querySelectorAll('.tab-button').forEach(button => {
button.classList.remove('border-yellow-500');
button.classList.add('text-gray-400');
});
// Show selected tab content
document.getElementById(tabId).classList.add('active');
// Add active class to clicked button
event.target.classList.add('border-yellow-500');
event.target.classList.remove('text-gray-400');
}
// Close modal when clicking outside
document.getElementById('heroModal').addEventListener('click', function(e) {
if (e.target === this) {
closeHeroModal();
}
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=dipankar53/mlbb" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |