Warrior

From F.R. Wiki
Jump to navigation Jump to search

Warrior Class - Complete Guide

Warriors are masters of physical combat, excelling in melee warfare through superior strength and weapon mastery. They deal devastating physical damage and possess exceptional defensive capabilities, but struggle significantly with magic-related activities.

Overview

Warriors represent the pinnacle of martial prowess in ZuluHotel. Through rigorous training in combat skills, they gain multiplicative bonuses to their physical abilities while accepting significant magical penalties as a trade-off.

⚠️ WARNING: Warriors take 2.5x damage from spells at maximum level and have severely reduced magic resistance!

Quick Stats (Level 6)

Maximum Level Bonuses & Penalties
Category Bonus/Penalty Value
Physical Damage (vs Monsters) ✅ Bonus +150% (×2.5)
Physical Defense (vs Monsters) ✅ Bonus -60% damage taken
Healing Received ✅ Bonus +150% (×2.5)
STR Gain Rate ✅ Bonus +150% (×2.5)
Magic Damage Taken ⚠️ PENALTY +150% (×2.5)
Resist Spell Effectiveness ⚠️ PENALTY -60% efficiency
INT Gain Rate ⚠️ PENALTY -60% slower
Spell Circle Limit ⚠️ RESTRICTION 4th Circle Maximum

Class Mechanics

Bonus Formula

Warriors gain bonuses based on their class level (1-6):

ClasseBonus=1.0+(0.25×level)

ClasseSmallBonus=1.0+(0.15×level)

Example Calculations:

  • Level 1: ClasseBonus = 1.25 (25% bonus)
  • Level 3: ClasseBonus = 1.75 (75% bonus)
  • Level 6: ClasseBonus = 2.50 (150% bonus)

📝 Code Reference: File: scripts/include/classes.inc (Line 94)

Level Progression

Warrior Level Progression Table
Level Skill Points Required ClasseBonus ClasseSmallBonus Physical Damage (vs NPC) Magic Damage Taken
1 720 1.25 1.15 +25% +25%
2 840 1.50 1.30 +50% +50%
3 960 1.75 1.45 +75% +75%
4 1080 2.00 1.60 +100% +100%
5 1200 2.25 1.75 +125% +125%
6 1320 2.50 1.90 +150% +150%

Class Skills

Warriors train significantly faster (×2.5 at Level 6) in the following 8 combat skills:

Skill Name Skill ID Description
⚔️ Anatomy SKILLID_ANATOMY Increases damage and healing effectiveness
🗡️ Fencing SKILLID_FENCING Mastery of piercing weapons
🩹 Healing SKILLID_HEALING Bandage healing proficiency
🔨 Mace Fighting SKILLID_MACEFIGHTING Mastery of blunt weapons
🛡️ Parrying SKILLID_PARRYING Shield defense mastery (gets ×2.5 effectiveness!)
⚔️ Swordsmanship SKILLID_SWORDSMANSHIP Mastery of bladed weapons
🎯 Tactics SKILLID_TACTICS Increases combat damage
👊 Wrestling SKILLID_WRESTLING Unarmed combat mastery

📝 Code Reference: File: scripts/include/classes.inc (Line 165)

Combat Bonuses

Physical Damage Output

Warriors deal devastating melee damage with different multipliers for PvM (Player vs Monster) and PvP (Player vs Player):

Damage Formula:

if (attacker is Warrior) {
    if (defender is NPC) {
        basedamage *= ClasseBonus;  // Full bonus (×2.5 at Level 6)
    } else {
        basedamage *= ClasseSmallBonus;  // Reduced bonus (×1.9 at Level 6)
    }
}
📝 Code Reference - File: scripts/include/hitscriptinc.inc (Lines 104-109)

Practical Examples:

Scenario Base Damage Level 6 Warrior Damage Increase
Katana hit on Dragon 30 75 +150%
Katana hit on Player 30 57 +90%
Wrestling on Balron 15 37 +150%

Physical Damage Reduction

Warriors take significantly less physical damage from attacks:

Defense Formula:

if (defender is Warrior) {
    if (attacker is NPC) {
        rawdamage /= ClasseBonus;  // ÷2.5 at Level 6 = 60% reduction
    } else {
        rawdamage /= ClasseSmallBonus;  // ÷1.9 at Level 6 = 47% reduction
    }
}
📝 Code Reference - File: scripts/include/hitscriptinc.inc (Lines 278-291)
Damage Reduction Examples
Attacker Normal Damage Level 6 Warrior Takes Reduction
Dragon Breath 100 40 -60%
Balron Hit 80 32 -60%
Player Attack 50 26 -47%

Parry Enhancement

Warriors wielding shields gain extraordinary parry effectiveness:

parry_skill *= ClasseBonus;  // ×2.5 at Level 6
⚡ A Level 6 Warrior with 100 Parry skill has 250 effective parry for blocking calculations!
📝 Code Reference - File: scripts/include/hitscriptinc.inc (Line 219)

Healing Bonuses

Warriors possess exceptional regenerative capabilities:

Healing Multiplier

All healing sources are multiplied by ClasseBonus:

healamount *= ClasseBonus;  // ×2.5 at Level 6
📝 Code Reference - File: pkg/opt/healing/healing.src (Lines 280-283)

Applies To:

  • ✅ Bandage healing (×2.5)
  • ✅ Greater Heal spell received (×2.5)
  • ✅ Natural HP regeneration (×2.5)
  • ✅ Cure spell healing component (×2.5)
  • ✅ Resurrection HP restoration (×2.5)
Healing Examples
Healing Source Normal Healing Level 6 Warrior Healing Bonus
Bandage 25 HP 62 HP +150%
Greater Heal 40 HP 100 HP +150%
HP Regeneration (per tick) 2 HP 5 HP +150%

Magical Penalties

⚠️ Warriors suffer severe magical weaknesses that cannot be mitigated!

Increased Spell Damage Taken

Warriors take SIGNIFICANTLY MORE damage from spells:

function Resisted(caster, cast_on, circle, dmg) {
    if (cast_on is Warrior) {
        dmg *= ClasseBonus;  // ×2.5 at Level 6
    }
    return dmg;
}
📝 Code Reference - File: scripts/include/spelldata.inc (Lines 1260-1262)
Magic Damage Examples
Spell Normal Damage Level 6 Warrior Takes Increase
Flamestrike 40 100 +150%
Energy Bolt 30 75 +150%
Lightning 25 62 +150%
Chain Lightning 35 87 +150%

Reduced Magic Resistance

Warriors have dramatically reduced ability to resist spells:

if (cast_on is Warrior) {
    var bonus = ClasseBonus;
    resist_chance /= (bonus / 2);  // ÷1.25 at Level 6
    resist_skill /= bonus;         // ÷2.5 at Level 6
}
📝 Code Reference - File: scripts/include/spelldata.inc (Lines 1221-1225)

Practical Impact:

Resist Skill Normal Resist Chance Level 6 Warrior Chance Penalty
100 ~16% ~9% -43%
100 (effective) 100 40 -60%
⚡ A Level 6 Warrior with GM Resist (100) has only 40 effective resist against spells!

Reduced Magic Efficiency

Warriors are inefficient spellcasters:

function ModifyWithMagicEfficiency(who, value) {
    if (who is Warrior) {
        value /= ClasseBonus;  // ÷2.5 at Level 6 = 60% penalty
    }
    return value;
}
📝 Code Reference - File: scripts/include/spelldata.inc (Lines 956-959)

Affects:

  • ❌ Spell duration (60% shorter)
  • ❌ Buff effectiveness (60% weaker)
  • ❌ Debuff effectiveness on enemies (60% weaker)
  • ❌ Mana efficiency (60% less effective)

Self-Inflicted Spell Damage

When Warriors cast harmful spells on themselves (accidentally or intentionally):

if (caster is Warrior) {
    self_damage *= ClasseBonus;  // ×2.5 at Level 6
}
📝 Code Reference - File: scripts/include/spelldata.inc (Lines 214-215)
⚠️ Level 6 Warriors take 2.5x damage from their own offensive spells!

Stat Affinities

Strength (STR) - AFFINITY

✅ Warriors gain Strength significantly faster:

if (HaveStatAffinity(chr, "str")) {
    stat_gain *= ClasseBonus;  // ×2.5 at Level 6
}
Level STR Gain Multiplier
1 1.25x (+25%)
3 1.75x (+75%)
6 2.50x (+150%)
📝 Code Reference - File: scripts/include/classes.inc (Lines 559-563, 612-619)

Intelligence (INT) - PENALTY

❌ Warriors gain Intelligence significantly slower:

if (HaveStatDifficulty(chr, "int")) {
    stat_gain /= ClasseBonus;  // ÷2.5 at Level 6
}
Level INT Gain Multiplier Penalty
1 ÷1.25 (0.80x) -20%
3 ÷1.75 (0.57x) -43%
6 ÷2.50 (0.40x) -60%
📝 Code Reference - File: scripts/include/classes.inc (Lines 576-580, 638-645)

Dexterity (DEX) - NEUTRAL

Warriors have no modifiers to Dexterity gain (standard rate).

Equipment Restrictions

Armor

✅ Warriors have NO armor restrictions and can equip:

  • ✅ Leather Armor
  • ✅ Studded Leather
  • ✅ Ringmail
  • ✅ Chainmail
  • ✅ Platemail / Heavy Armor
📝 Code Reference - File: scripts/include/classes.inc (Lines 362-385)

Blocked Item Properties

❌ Warriors CANNOT equip items with the following magical properties:

Property Reason
Magic Immunity Prevents compensation for magic weakness
Magic Reflect Prevents compensation for magic weakness
+Intelligence Prevents compensation for INT penalty
📝 Code Reference - File: scripts/include/classes.inc (Lines 460-477)

Spell Restrictions

Circle Limit

⚠️ Warriors can ONLY cast up to 4th Circle spells!
if (spell.circle >= 5) {
    SendSysMessage(chr, "You can't cast spells beyond the 4th circle!");
    return BLOCKED;
}
Circle Status Example Spells
1st ✅ Allowed Magic Arrow, Heal, Clumsy
2nd ✅ Allowed Harm, Cure, Protection
3rd ✅ Allowed Fireball, Poison, Teleport
4th ✅ Allowed Lightning, Greater Heal, Recall
5th BLOCKED Blade Spirits, Paralyze Field, Summon
6th BLOCKED Energy Bolt, Flamestrike, Invisibility
7th BLOCKED Chain Lightning, Energy Vortex, Gate Travel
8th BLOCKED Earthquake, Energy Field, Resurrection
📝 Code Reference - File: scripts/include/classes.inc (Lines 411-426)

Strategy Guide

Strengths

Strength Description Impact
Melee Domination Highest physical damage output in game Fastest monster kills, excellent PvM
Exceptional Defense 60% physical damage reduction vs NPCs Unmatched survivability in dungeons
Self-Sustaining 2.5x healing from all sources Minimal downtime, reduced need for healers
Fast STR Progression 2.5x faster STR gain Quickly reaches 100+ STR for maximum efficiency
Enhanced Parry 2.5x parry effectiveness with shields Superior blocking chance, defensive playstyle

Weaknesses

Weakness Description Impact
Magic Vulnerability Takes 2.5x damage from spells Extremely dangerous against mage opponents
Poor Resist 60% reduced resist effectiveness Very difficult to resist debuffs/damage spells
Limited Spellcasting Cannot cast 5th+ circle spells No access to Resurrection, Flamestrike, Gate
Slow INT Growth 60% slower INT gain Difficult to raise mana pool and spell power
Magic Inefficiency 60% reduced spell effectiveness Buffs/debuffs last much shorter

PvP Tactics

Best Matchups

  • vs Warriors - Equal ground, superior skill wins
  • vs Rangers - Melee advantage, close gap quickly
  • vs Thieves - High HP pool counters backstabs

Worst Matchups

  • vs Mages - Extremely vulnerable to spell damage
  • vs Necromancers - Magic damage + debuffs devastating
  • vs Bards - Debuff weakness, stat penalties hurt badly
  1. Aggressive Engagement - Close distance immediately, don't let mages kite
  2. Use Bandages Liberally - Your 2.5x healing is your greatest asset
  3. Equip Best Armor - No restrictions means full plate + magic armor
  4. Avoid Mage Duels - Focus on physical opponents in PvP
  5. Resist Potions - Carry magic resist potions to offset weakness

PvM Strategy

Excellent Targets

  • Dragons - Physical attackers, your defense shines
  • Balrons - High melee damage, you take 60% less
  • Titans - Melee-focused, minimal spell usage
  • Dungeon Crawling - Sustained combat favors Warriors

Dangerous Targets

  • Liches - Heavy spell casters, your weakness
  • Demon Lords - Powerful magic attacks
  • Ancient Wyrms - Magic breath + spells
  • Evil Mages - Pure magic damage dealers

Optimal Playstyle

  1. Tank Role - Stand in front, absorb damage for party
  2. Aggro Management - Your defense lets you pull multiple enemies
  3. Frontline Fighter - Engage enemies first, protect squishier allies
  4. Physical DPS - Focus on high-damage weapons (katanas, halberds)
  5. Healing Support - Your 2.5x bandage healing can assist allies too!

Code Reference Summary

Complete Code Location Reference
File Lines Mechanic Description
scripts/include/classes.inc 94 Bonus Formula ClasseBonus and ClasseSmallBonus calculations
scripts/include/classes.inc 165 Class Skills GetClasseSkills(CLASSEID_WARRIOR) skill list
scripts/include/classes.inc 529 Skill Gain GetSkillPointsMultiplier function
scripts/include/classes.inc 559-563 Stat Affinity STR gain multiplier
scripts/include/classes.inc 576-580 Stat Penalty INT gain reduction
scripts/include/classes.inc 362-385 Armor Restrictions Enumeration of blocked armor types
scripts/include/classes.inc 411-426 Spell Restrictions Circle limit enforcement
scripts/include/classes.inc 460-477 Item Restrictions Blocked magical properties
scripts/include/hitscriptinc.inc 104-109 Physical Damage Melee damage multiplier
scripts/include/hitscriptinc.inc 278-291 Physical Defense Damage reduction formula
scripts/include/hitscriptinc.inc 219 Parry Bonus Parry skill enhancement
scripts/include/spelldata.inc 1260-1262 Magic Damage Spell damage multiplier
scripts/include/spelldata.inc 1221-1225 Resist Penalty Resist chance reduction
scripts/include/spelldata.inc 956-959 Magic Efficiency Spell effectiveness penalty
scripts/include/spelldata.inc 214-215 Self-Damage Self-inflicted spell damage
scripts/include/spelldata.inc 891 Magic Immunity Duration multiplier
pkg/opt/healing/healing.src 280-283 Healing Bonus Healing multiplier application

Frequently Asked Questions

? Can Warriors wear Plate Armor?
Yes! Warriors have NO armor restrictions and can wear any armor type, including full plate mail.

? Why do I take so much damage from spells?
Warriors take 2.5x spell damage at maximum level (150% extra damage). This is an intentional balance trade-off for their exceptional physical combat bonuses.

? Can I raise my Intelligence as a Warrior?
Yes, but it's 60% slower than other classes. Focus on STR instead, which you gain 2.5x faster!

? What's the best weapon for Warriors?
Any weapon works, but Katanas (high damage, fast speed) and Halberds (reach, high damage) are popular. Your damage bonus applies to ALL physical weapons!

? Should I train Magery as a Warrior?
Limited usefulness - you can only cast up to 4th circle (no Flamestrike, Resurrection, Gate). Focus on 40-60 Magery for utility spells (Recall, Greater Heal, Cure).

? How do I counter Mages as a Warrior?
Close the gap immediately! Use speed, aggression, and resist potions. Your melee damage will devastate them if you can reach them. Avoid prolonged spell exchanges.

? Is Parrying worth it for Warriors?
Absolutely! Your Parry skill gets 2.5x effectiveness (100 skill = 250 effective). Shields make you nearly unkillable in melee combat.

See Also

Template:Class Navigation