Warrior
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.
Quick Stats (Level 6)
| Category | Bonus/Penalty | Value |
|---|---|---|
| Physical Damage (vs Monsters) | Template:Increase Bonus | +150% (×2.5) |
| Physical Defense (vs Monsters) | Template:Increase Bonus | -60% damage taken |
| Healing Received | Template:Increase Bonus | +150% (×2.5) |
| STR Gain Rate | Template:Increase Bonus | +150% (×2.5) |
| Magic Damage Taken | Template:Decrease PENALTY | +150% (×2.5) |
| Resist Spell Effectiveness | Template:Decrease PENALTY | -60% efficiency |
| INT Gain Rate | Template:Decrease PENALTY | -60% slower |
| Spell Circle Limit | Template:Decrease RESTRICTION | 4th Circle Maximum |
Class Mechanics
Bonus Formula
Warriors gain bonuses based on their class level (1-6):
Example Calculations:
- Level 1: ClasseBonus = 1.25 (25% bonus)
- Level 3: ClasseBonus = 1.75 (75% bonus)
- Level 6: ClasseBonus = 2.50 (150% bonus)
Level Progression
| 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 |
|---|---|---|
| Template:Icon Anatomy | SKILLID_ANATOMY | Increases damage and healing effectiveness |
| Template:Icon Fencing | SKILLID_FENCING | Mastery of piercing weapons |
| Template:Icon Healing | SKILLID_HEALING | Bandage healing proficiency |
| Template:Icon Mace Fighting | SKILLID_MACEFIGHTING | Mastery of blunt weapons |
| Template:Icon Parrying | SKILLID_PARRYING | Shield defense mastery (gets ×2.5 effectiveness!) |
| Template:Icon Swordsmanship | SKILLID_SWORDSMANSHIP | Mastery of bladed weapons |
| Template:Icon Tactics | SKILLID_TACTICS | Increases combat damage |
| Template:Icon Wrestling | SKILLID_WRESTLING | Unarmed combat mastery |
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: <source lang="cpp"> 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)
}
} </source>
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: <source lang="cpp"> 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
}
} </source>
| 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:
<source lang="cpp"> parry_skill *= ClasseBonus; // ×2.5 at Level 6 </source>
Healing Bonuses
Warriors possess exceptional regenerative capabilities:
Healing Multiplier
All healing sources are multiplied by ClasseBonus:
<source lang="cpp"> healamount *= ClasseBonus; // ×2.5 at Level 6 </source>
Applies To:
- Template:Yes Bandage healing (×2.5)
- Template:Yes Greater Heal spell received (×2.5)
- Template:Yes Natural HP regeneration (×2.5)
- Template:Yes Cure spell healing component (×2.5)
- Template:Yes Resurrection HP restoration (×2.5)
| 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
Increased Spell Damage Taken
Warriors take SIGNIFICANTLY MORE damage from spells:
<source lang="cpp"> function Resisted(caster, cast_on, circle, dmg) {
if (cast_on is Warrior) {
dmg *= ClasseBonus; // ×2.5 at Level 6
}
return dmg;
} </source>
| 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:
<source lang="cpp"> 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
} </source>
Practical Impact:
| Resist Skill | Normal Resist Chance | Level 6 Warrior Chance | Penalty |
|---|---|---|---|
| 100 | ~16% | ~9% | -43% |
| 100 (effective) | 100 | 40 | -60% |
Reduced Magic Efficiency
Warriors are inefficient spellcasters:
<source lang="cpp"> function ModifyWithMagicEfficiency(who, value) {
if (who is Warrior) {
value /= ClasseBonus; // ÷2.5 at Level 6 = 60% penalty
}
return value;
} </source>
Affects:
- Template:Decrease Spell duration (60% shorter)
- Template:Decrease Buff effectiveness (60% weaker)
- Template:Decrease Debuff effectiveness on enemies (60% weaker)
- Template:Decrease Mana efficiency (60% less effective)
Self-Inflicted Spell Damage
When Warriors cast harmful spells on themselves (accidentally or intentionally):
<source lang="cpp"> if (caster is Warrior) {
self_damage *= ClasseBonus; // ×2.5 at Level 6
} </source>
Stat Affinities
Strength (STR) - AFFINITY
Template:Yes Warriors gain Strength significantly faster:
<source lang="cpp"> if (HaveStatAffinity(chr, "str")) {
stat_gain *= ClasseBonus; // ×2.5 at Level 6
} </source>
| Level | STR Gain Multiplier |
|---|---|
| 1 | 1.25x (+25%) |
| 3 | 1.75x (+75%) |
| 6 | 2.50x (+150%) |
Intelligence (INT) - PENALTY
Template:No Warriors gain Intelligence significantly slower:
<source lang="cpp"> if (HaveStatDifficulty(chr, "int")) {
stat_gain /= ClasseBonus; // ÷2.5 at Level 6
} </source>
| Level | INT Gain Multiplier | Penalty |
|---|---|---|
| 1 | ÷1.25 (0.80x) | -20% |
| 3 | ÷1.75 (0.57x) | -43% |
| 6 | ÷2.50 (0.40x) | -60% |
Dexterity (DEX) - NEUTRAL
Warriors have no modifiers to Dexterity gain (standard rate).
Equipment Restrictions
Armor
Template:Yes Warriors have NO armor restrictions and can equip:
- Template:Yes Leather Armor
- Template:Yes Studded Leather
- Template:Yes Ringmail
- Template:Yes Chainmail
- Template:Yes Platemail / Heavy Armor
Blocked Item Properties
Template:No Warriors CANNOT equip items with the following magical properties:
| Property | Reason |
|---|---|
| Template:No Magic Immunity | Prevents compensation for magic weakness |
| Template:No Magic Reflect | Prevents compensation for magic weakness |
| Template:No +Intelligence | Prevents compensation for INT penalty |
Spell Restrictions
Circle Limit
<source lang="cpp"> if (spell.circle >= 5) {
SendSysMessage(chr, "You can't cast spells beyond the 4th circle!"); return BLOCKED;
} </source>
| Circle | Status | Example Spells |
|---|---|---|
| 1st | Template:Yes Allowed | Magic Arrow, Heal, Clumsy |
| 2nd | Template:Yes Allowed | Harm, Cure, Protection |
| 3rd | Template:Yes Allowed | Fireball, Poison, Teleport |
| 4th | Template:Yes Allowed | Lightning, Greater Heal, Recall |
| 5th | Template:No BLOCKED | Blade Spirits, Paralyze Field, Summon |
| 6th | Template:No BLOCKED | Energy Bolt, Flamestrike, Invisibility |
| 7th | Template:No BLOCKED | Chain Lightning, Energy Vortex, Gate Travel |
| 8th | Template:No BLOCKED | Earthquake, Energy Field, Resurrection |
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
- Template:Yes vs Warriors - Equal ground, superior skill wins
- Template:Yes vs Rangers - Melee advantage, close gap quickly
- Template:Yes vs Thieves - High HP pool counters backstabs
Worst Matchups
- Template:No vs Mages - Extremely vulnerable to spell damage
- Template:No vs Necromancers - Magic damage + debuffs devastating
- Template:No vs Bards - Debuff weakness, stat penalties hurt badly
Recommended Tactics
- Aggressive Engagement - Close distance immediately, don't let mages kite
- Use Bandages Liberally - Your 2.5x healing is your greatest asset
- Equip Best Armor - No restrictions means full plate + magic armor
- Avoid Mage Duels - Focus on physical opponents in PvP
- Resist Potions - Carry magic resist potions to offset weakness
PvM Strategy
Excellent Targets
- Template:Yes Dragons - Physical attackers, your defense shines
- Template:Yes Balrons - High melee damage, you take 60% less
- Template:Yes Titans - Melee-focused, minimal spell usage
- Template:Yes Dungeon Crawling - Sustained combat favors Warriors
Dangerous Targets
- Template:No Liches - Heavy spell casters, your weakness
- Template:No Demon Lords - Powerful magic attacks
- Template:No Ancient Wyrms - Magic breath + spells
- Template:No Evil Mages - Pure magic damage dealers
Optimal Playstyle
- Tank Role - Stand in front, absorb damage for party
- Aggro Management - Your defense lets you pull multiple enemies
- Frontline Fighter - Engage enemies first, protect squishier allies
- Physical DPS - Focus on high-damage weapons (katanas, halberds)
- Healing Support - Your 2.5x bandage healing can assist allies too!
Template Builds
Pure Melee Warrior
| Skill | Target Value | Priority |
|---|---|---|
| Swordsmanship | 100 | High |
| Tactics | 100 | High |
| Anatomy | 100 | High |
| Healing | 100 | High |
| Parrying | 100 | Medium |
| Resisting Spells | 80-100 | Critical |
| Magery | 40 | Low |
Stats: 100 STR / 80 DEX / 20 INT
Hybrid Warrior-Healer
| Skill | Target Value | Priority |
|---|---|---|
| Swordsmanship | 100 | High |
| Tactics | 100 | High |
| Anatomy | 100 | High |
| Healing | 100 | High |
| Magery | 60 | Medium |
| Meditation | 60 | Medium |
| Resisting Spells | 80 | High |
Stats: 90 STR / 70 DEX / 40 INT
Parry Tank
| Skill | Target Value | Priority |
|---|---|---|
| Swordsmanship | 100 | High |
| Tactics | 100 | High |
| Anatomy | 80 | Medium |
| Healing | 100 | High |
| Parrying | 100 | Critical |
| Resisting Spells | 100 | Critical |
| Magery | 20 | Low |
Stats: 100 STR / 90 DEX / 10 INT
Code Reference Summary
| 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 |