Update help documentation with comprehensive pet healing system
- Update inventory section header to "Inventory & Healing System" - Add \!heal command documentation with 1-hour cooldown details - Enhance \!use command description to include revive functionality - Add comprehensive Pet Healing System info box covering: - Fainted pet mechanics and restrictions - Revive items (50% and 100% HP restoration) - Heal command with cooldown system - Auto-recovery after 30 minutes to 1 HP - Travel permissions with fainted pets - Add Pet Fainting System section to Battle System: - Battle defeat mechanics - Available healing options - Strategic impact and type advantages - Update item rarity categories to include Revive (rare) and Max Revive (epic) - Maintain consistent styling and navigation structure - Provide complete user guidance for pet health management 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
a333306ad3
commit
adcd5afd85
1 changed files with 350 additions and 16 deletions
366
help.html
366
help.html
|
|
@ -214,6 +214,112 @@
|
|||
.gym-card strong {
|
||||
color: var(--text-accent);
|
||||
}
|
||||
|
||||
/* Quick Navigation */
|
||||
.quick-nav {
|
||||
background: var(--bg-secondary);
|
||||
border-radius: 15px;
|
||||
padding: 20px;
|
||||
margin-bottom: 30px;
|
||||
box-shadow: var(--shadow-dark);
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.quick-nav h3 {
|
||||
color: var(--text-accent);
|
||||
margin: 0 0 15px 0;
|
||||
font-size: 1.2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.nav-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
background: var(--bg-tertiary);
|
||||
padding: 12px 16px;
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
transition: all 0.3s ease;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.nav-item:hover {
|
||||
background: var(--hover-color);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(102, 255, 102, 0.15);
|
||||
}
|
||||
|
||||
.nav-item a {
|
||||
color: var(--text-primary);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
font-size: 0.9em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.nav-item a:hover {
|
||||
color: var(--text-accent);
|
||||
}
|
||||
|
||||
/* Smooth scrolling for anchor links */
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
/* Section anchor targets */
|
||||
.section {
|
||||
scroll-margin-top: 20px;
|
||||
}
|
||||
|
||||
/* Back to top button */
|
||||
.back-to-top {
|
||||
position: fixed;
|
||||
bottom: 30px;
|
||||
right: 30px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: var(--gradient-primary);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: all 0.3s ease;
|
||||
z-index: 1000;
|
||||
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.back-to-top.show {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.back-to-top:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 6px 20px rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
/* Mobile responsiveness for navigation */
|
||||
@media (max-width: 768px) {
|
||||
.nav-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
.nav-item a {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
@ -224,7 +330,25 @@
|
|||
<p>Complete guide to Pokemon-style pet collecting in IRC</p>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<div class="quick-nav">
|
||||
<h3>🧭 Quick Navigation</h3>
|
||||
<div class="nav-grid">
|
||||
<div class="nav-item"><a href="#getting-started">🚀 Getting Started</a></div>
|
||||
<div class="nav-item"><a href="#exploration">🌍 Exploration</a></div>
|
||||
<div class="nav-item"><a href="#battle-system">⚔️ Battle System</a></div>
|
||||
<div class="nav-item"><a href="#gym-battles">🏛️ Gym Battles</a></div>
|
||||
<div class="nav-item"><a href="#pet-management">🐾 Pet Management</a></div>
|
||||
<div class="nav-item"><a href="#inventory">🎒 Inventory</a></div>
|
||||
<div class="nav-item"><a href="#community-events">🎯 Community Events</a></div>
|
||||
<div class="nav-item"><a href="#achievements">🏆 Achievements</a></div>
|
||||
<div class="nav-item"><a href="#web-interface">🌐 Web Interface</a></div>
|
||||
<div class="nav-item"><a href="#bot-status">🤖 Bot Status</a></div>
|
||||
<div class="nav-item"><a href="#rate-limiting">⚡ Rate Limiting</a></div>
|
||||
<div class="nav-item"><a href="#admin-commands">🛡️ Admin Commands</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section" id="getting-started">
|
||||
<div class="section-header">🚀 Getting Started</div>
|
||||
<div class="section-content">
|
||||
<div class="command-grid">
|
||||
|
|
@ -247,7 +371,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<div class="section" id="exploration">
|
||||
<div class="section-header">🌍 Exploration & Travel</div>
|
||||
<div class="section-content">
|
||||
<div class="command-grid">
|
||||
|
|
@ -271,6 +395,11 @@
|
|||
<div class="command-desc">See which location you're currently in and get information about the area.</div>
|
||||
<div class="command-example">Example: !where</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!wild [location]</div>
|
||||
<div class="command-desc">Show wild pets available in your current location or a specified location. Helps you see what pets you can encounter.</div>
|
||||
<div class="command-example">Example: !wild or !wild crystal caves</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info-box">
|
||||
|
|
@ -299,7 +428,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<div class="section" id="battle-system">
|
||||
<div class="section-header">⚔️ Battle System</div>
|
||||
<div class="section-content">
|
||||
<div class="command-grid">
|
||||
|
|
@ -329,10 +458,20 @@
|
|||
<div class="command-example">Example: !flee</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info-box">
|
||||
<h4>💀 Pet Fainting System</h4>
|
||||
<ul>
|
||||
<li><strong>Battle Defeat</strong> - Pets that lose battles will faint and cannot be used until healed</li>
|
||||
<li><strong>Healing Options</strong> - Use Revive items, !heal command, or wait 30 minutes for auto-recovery</li>
|
||||
<li><strong>Strategic Impact</strong> - Plan your battles carefully to avoid having all pets faint</li>
|
||||
<li><strong>Type Advantages</strong> - Use type matchups to win battles and avoid fainting</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<div class="section" id="gym-battles">
|
||||
<div class="section-header">🏛️ Gym Battles <span class="badge">NEW!</span></div>
|
||||
<div class="section-content">
|
||||
<div class="command-grid">
|
||||
|
|
@ -356,6 +495,11 @@
|
|||
<div class="command-desc">Get detailed information about a gym including leader, theme, team, and badge details.</div>
|
||||
<div class="command-example">Example: !gym info "Storm Master"</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!forfeit</div>
|
||||
<div class="command-desc">Forfeit your current gym battle if you're losing or want to try a different strategy.</div>
|
||||
<div class="command-example">Example: !forfeit</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tip">
|
||||
|
|
@ -406,7 +550,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<div class="section" id="pet-management">
|
||||
<div class="section-header">🐾 Pet Management</div>
|
||||
<div class="section-content">
|
||||
<div class="command-grid">
|
||||
|
|
@ -430,12 +574,17 @@
|
|||
<div class="command-desc">Remove a pet from your active team and put it in storage.</div>
|
||||
<div class="command-example">Example: !deactivate aqua</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!nickname <pet> <new_nickname></div>
|
||||
<div class="command-desc">Give a custom nickname to one of your pets. Use their current name or ID to reference them.</div>
|
||||
<div class="command-example">Example: !nickname flamey "Blazer"</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<div class="section-header">🎒 Inventory System <span class="badge">NEW!</span></div>
|
||||
<div class="section" id="inventory">
|
||||
<div class="section-header">🎒 Inventory & Healing System <span class="badge">UPDATED!</span></div>
|
||||
<div class="section-content">
|
||||
<div class="command-grid">
|
||||
<div class="command">
|
||||
|
|
@ -445,8 +594,13 @@
|
|||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!use <item name></div>
|
||||
<div class="command-desc">Use a consumable item from your inventory. Items can heal pets, boost stats, or provide other benefits.</div>
|
||||
<div class="command-example">Example: !use Small Potion</div>
|
||||
<div class="command-desc">Use a consumable item from your inventory. Items can heal pets, boost stats, revive fainted pets, or provide other benefits.</div>
|
||||
<div class="command-example">Example: !use Small Potion, !use Revive</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!heal</div>
|
||||
<div class="command-desc">Heal all your active pets to full health. Has a 1-hour cooldown to prevent abuse.</div>
|
||||
<div class="command-example">Example: !heal</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -455,8 +609,8 @@
|
|||
<ul>
|
||||
<li><strong>○ Common (15%)</strong> - Small Potions, basic healing items</li>
|
||||
<li><strong>◇ Uncommon (8-12%)</strong> - Large Potions, battle boosters, special berries</li>
|
||||
<li><strong>◆ Rare (3-6%)</strong> - Super Potions, speed elixirs, location treasures</li>
|
||||
<li><strong>★ Epic (2-3%)</strong> - Evolution stones, rare crystals, ancient artifacts</li>
|
||||
<li><strong>◆ Rare (3-6%)</strong> - Super Potions, Revive items, speed elixirs, location treasures</li>
|
||||
<li><strong>★ Epic (2-3%)</strong> - Max Revive, evolution stones, rare crystals, ancient artifacts</li>
|
||||
<li><strong>✦ Legendary (1%)</strong> - Lucky charms, ancient fossils, ultimate items</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -464,9 +618,74 @@
|
|||
<div class="tip">
|
||||
💡 <strong>Item Discovery:</strong> Find items while exploring! Each location has unique treasures. Items stack in your inventory and can be used anytime.
|
||||
</div>
|
||||
|
||||
<div class="info-box">
|
||||
<h4>🏥 Pet Healing System</h4>
|
||||
<ul>
|
||||
<li><strong>Fainted Pets</strong> - Pets that lose battles faint and cannot be used until healed</li>
|
||||
<li><strong>Revive Items</strong> - Use Revive (50% HP) or Max Revive (100% HP) to restore fainted pets</li>
|
||||
<li><strong>!heal Command</strong> - Heals all active pets to full health (1-hour cooldown)</li>
|
||||
<li><strong>Auto-Recovery</strong> - Fainted pets automatically recover to 1 HP after 30 minutes</li>
|
||||
<li><strong>Travel Allowed</strong> - You can still travel and explore with fainted pets</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<div class="section" id="community-events">
|
||||
<div class="section-header">🎯 Community Events <span class="badge">NEW!</span></div>
|
||||
<div class="section-content">
|
||||
<div class="command-grid">
|
||||
<div class="command">
|
||||
<div class="command-name">!events</div>
|
||||
<div class="command-desc">View all active community events that all players can participate in together.</div>
|
||||
<div class="command-example">Example: !events</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!event <id></div>
|
||||
<div class="command-desc">Get detailed information about a specific community event, including progress and leaderboard.</div>
|
||||
<div class="command-example">Example: !event 1</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!contribute <id></div>
|
||||
<div class="command-desc">Contribute to a community event. Everyone who participates gets rewards when the event completes!</div>
|
||||
<div class="command-example">Example: !contribute 1</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!eventhelp</div>
|
||||
<div class="command-desc">Get detailed help about the community events system and how it works.</div>
|
||||
<div class="command-example">Example: !eventhelp</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info-box">
|
||||
<h4>🤝 How Community Events Work</h4>
|
||||
<ul>
|
||||
<li><strong>Collaborative Goals</strong> - All players work together toward shared objectives</li>
|
||||
<li><strong>Progress Tracking</strong> - Events show progress bars and contribution leaderboards</li>
|
||||
<li><strong>Time Limited</strong> - Events have deadlines and expire if not completed</li>
|
||||
<li><strong>Difficulty Levels</strong> - ⭐ Easy, ⭐⭐ Medium, ⭐⭐⭐ Hard events with better rewards</li>
|
||||
<li><strong>Automatic Spawning</strong> - New events appear regularly for ongoing engagement</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="info-box">
|
||||
<h4>🎪 Event Types</h4>
|
||||
<ul>
|
||||
<li><strong>🏪 Resource Gathering</strong> - Help collect supplies for the community</li>
|
||||
<li><strong>🐾 Pet Rescue</strong> - Search for and rescue missing pets</li>
|
||||
<li><strong>🎪 Community Projects</strong> - Work together on town improvement projects</li>
|
||||
<li><strong>🚨 Emergency Response</strong> - Help during natural disasters or crises</li>
|
||||
<li><strong>🔬 Research</strong> - Assist scientists with important discoveries</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tip">
|
||||
💡 <strong>Event Strategy:</strong> Check !events regularly for new opportunities! Higher difficulty events give better rewards, and contributing more increases your reward multiplier when the event completes.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section" id="achievements">
|
||||
<div class="section-header">🏆 Achievements & Progress</div>
|
||||
<div class="section-content">
|
||||
<div class="command-grid">
|
||||
|
|
@ -489,7 +708,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<div class="section" id="web-interface">
|
||||
<div class="section-header">🌐 Web Interface</div>
|
||||
<div class="section-content">
|
||||
<div class="tip">
|
||||
|
|
@ -499,12 +718,47 @@
|
|||
<li><strong>Leaderboard</strong> - Top players by level and achievements</li>
|
||||
<li><strong>Locations Guide</strong> - All areas with spawn information</li>
|
||||
<li><strong>Gym Badges</strong> - Display your earned badges and progress</li>
|
||||
<li><strong>Interactive Map</strong> - See where all players are exploring</li>
|
||||
<li><strong>Team Builder</strong> - Drag-and-drop team management with PIN verification</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<div class="section" id="bot-status">
|
||||
<div class="section-header">🤖 Bot Status & Utilities</div>
|
||||
<div class="section-content">
|
||||
<div class="command-grid">
|
||||
<div class="command">
|
||||
<div class="command-name">!status</div>
|
||||
<div class="command-desc">Check the bot's current connection status and basic system information.</div>
|
||||
<div class="command-example">Example: !status</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!uptime</div>
|
||||
<div class="command-desc">See how long the bot has been running since last restart.</div>
|
||||
<div class="command-example">Example: !uptime</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!ping</div>
|
||||
<div class="command-desc">Test the bot's responsiveness with a simple ping-pong test.</div>
|
||||
<div class="command-example">Example: !ping</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info-box">
|
||||
<h4>🔧 System Status</h4>
|
||||
<ul>
|
||||
<li><strong>Connection Monitoring</strong> - Bot automatically monitors its IRC connection</li>
|
||||
<li><strong>Auto-Reconnect</strong> - Automatically reconnects if connection is lost</li>
|
||||
<li><strong>Background Tasks</strong> - Weather updates, event spawning, and data validation</li>
|
||||
<li><strong>Rate Limiting</strong> - Built-in protection against spam and abuse</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section" id="rate-limiting">
|
||||
<div class="section-header">⚡ Rate Limiting & Fair Play</div>
|
||||
<div class="section-content">
|
||||
<div class="info-box">
|
||||
|
|
@ -573,12 +827,92 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section" id="admin-commands">
|
||||
<div class="section-header">🛡️ Admin Commands</div>
|
||||
<div class="section-content">
|
||||
<div class="command-grid">
|
||||
<div class="command">
|
||||
<div class="command-name">!reload</div>
|
||||
<div class="command-desc">Reload all bot modules without restarting the bot (Admin only).</div>
|
||||
<div class="command-example">Example: !reload</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!setweather <location|all> <weather_type> [duration]</div>
|
||||
<div class="command-desc">Manually set weather for a location or all locations (Admin only).</div>
|
||||
<div class="command-example">Example: !setweather all sunny 120</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!spawnevent [difficulty]</div>
|
||||
<div class="command-desc">Force spawn a community event with optional difficulty 1-3 (Admin only).</div>
|
||||
<div class="command-example">Example: !spawnevent 2</div>
|
||||
</div>
|
||||
<div class="command">
|
||||
<div class="command-name">!startevent [type] [difficulty]</div>
|
||||
<div class="command-desc">Start a specific event type. Without args, shows available types (Admin only).</div>
|
||||
<div class="command-example">Example: !startevent resource_gathering 2</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info-box">
|
||||
<h4>🔑 Admin Access</h4>
|
||||
<ul>
|
||||
<li><strong>Single Admin User</strong> - Only one designated admin user can use these commands</li>
|
||||
<li><strong>Module Management</strong> - Reload modules without restarting the entire bot</li>
|
||||
<li><strong>Weather Control</strong> - Force weather changes for testing or events</li>
|
||||
<li><strong>Event Management</strong> - Spawn community events on demand</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tip">
|
||||
⚠️ <strong>Admin Note:</strong> These commands require admin privileges and can affect the entire bot system. Use with caution and always test changes in a development environment first.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p><strong>🎮 PetBot v0.2.0</strong> - Pokemon-style pet collecting for IRC</p>
|
||||
<p>Catch pets • Battle gyms • Collect items • Earn badges • Explore locations</p>
|
||||
<p>Catch pets • Battle gyms • Collect items • Earn badges • Explore locations • Join community events</p>
|
||||
<p style="margin-top: 15px; opacity: 0.7;">
|
||||
Need help? Ask in the channel or visit the web dashboard for detailed information!
|
||||
Need help? Ask in the channel or visit the web dashboard for detailed information!<br>
|
||||
<strong>New Features:</strong> Community Events • Interactive Map • Team Builder • Enhanced Admin Tools
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- Back to Top Button -->
|
||||
<button class="back-to-top" id="backToTop" onclick="scrollToTop()">↑</button>
|
||||
|
||||
<script>
|
||||
// Show/hide back to top button
|
||||
window.addEventListener('scroll', function() {
|
||||
const backToTopBtn = document.getElementById('backToTop');
|
||||
if (window.pageYOffset > 300) {
|
||||
backToTopBtn.classList.add('show');
|
||||
} else {
|
||||
backToTopBtn.classList.remove('show');
|
||||
}
|
||||
});
|
||||
|
||||
// Smooth scroll to top function
|
||||
function scrollToTop() {
|
||||
window.scrollTo({
|
||||
top: 0,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}
|
||||
|
||||
// Add smooth scrolling to all navigation links
|
||||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||
anchor.addEventListener('click', function (e) {
|
||||
e.preventDefault();
|
||||
const target = document.querySelector(this.getAttribute('href'));
|
||||
if (target) {
|
||||
target.scrollIntoView({
|
||||
behavior: 'smooth',
|
||||
block: 'start'
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue