> cat /wizhelp/wizadvanced2
> _
======================================================================== Advanced: Combat Mechanics ======================================================================== Understanding damage calculations and combat systems. DAMAGE CALCULATION: Base Formula: - Weapon Damage + (Level × 2) + Random(-5 to +5) - Bare hands: 5 + (Level × 2) + Random(-5 to +5) - Wands: Use wand's damage value (ignores weapon) DAMAGE MODIFIERS: - Gerkin race: 1.5x damage multiplier - Fighter class: 1.2x damage multiplier - Kamikaze class: 3x damage multiplier WEAPON TIER SYSTEM: ```python from lib.plugins.tier_plugins.weapon_tier_plugin import TIER1, TIER2, TIER3, TIER4, TIER5 from lib.plugins.tier_plugins.weapon_tier_plugin import apply_weapon_tier weapon = Weapon( name="epic_sword", damage=0, # Set by tier system weight=15, value=5000 ) # Apply tier (sets damage to 75-95 range) apply_weapon_tier(weapon, TIER5) ``` TIER DAMAGE RANGES: - TIER1: 15-35 (basic weapons) - TIER2: 30-50 (standard weapons) - TIER3: 45-65 (good weapons) - TIER4: 60-80 (superior weapons) - TIER5: 75-95 (legendary weapons) ARMOR TIER SYSTEM: ```python from lib.plugins.tier_plugins.armor_tier_plugin import TIER1, TIER2, TIER3, TIER4, TIER5 from lib.plugins.tier_plugins.armor_tier_plugin import apply_armor_tier armor = Armor( name="dragon_plate", armor_class=0, # Set by tier slot=ArmorSlot.BODY, weight=40, value=10000 ) # Apply tier (sets AC to 18) apply_armor_tier(armor, TIER5) ``` ARMOR CLASS VALUES: - TIER1: 2 AC (leather, cloth) - TIER2: 5 AC (studded leather) - TIER3: 8 AC (scale mail) - TIER4: 12 AC (plate mail) - TIER5: 18 AC (magical armor) ARMOR SLOTS: - body: Main armor (highest AC) - head: Helmets - finger1/finger2: Rings - neck: Amulets - feet: Boots - hands: Gloves DAMAGE MESSAGES: Based on damage amount: - 0: "missed" - 1-5: "tickled in the stomach" - 5-15: "grazed" - 15-25: "hit" - 25-35: "hit hard" - 35-45: "hit very hard" - 45-55: "struck a mighty blow" - 55-65: "smashed with a bone crushing sound" - 65-75: "pulverized with a powerful attack" - 75-100: "trounced up and down" - 100-125: "pummeled into small fragments" - 125-150: "massacred into tiny fragments" - 150-175: "utterly annihilated" - 175-200: "completely devastated with awesome force" - 200+: "destroyed" COMBAT PLUGINS: The aoe_disarm_plugin adds special weapon effects: - Area damage: Hits multiple targets - Disarm chance: Can knock weapons away ========================================================================
> _