File

src/app/helpers/profBuildHelpers/professions/necromancer.ts

Description

Condition Reaper build

Extends

NecroBuild

Index

Properties
Methods

Constructor

constructor(id: , name: )

Create a Condition Reaper build

Parameters :
Name Optional Description
id no

Id of the build

name no

Name of the build

Properties

Protected armor
armor: Armor
Type : Armor
Inherited from NecroBuild
Defined in NecroBuild:251

Armor data

Protected consumable
consumable: Consumable
Type : Consumable
Inherited from NecroBuild
Defined in NecroBuild:255

Consumable data

Protected icon
icon: string
Type : string
Default value : 'assets/profIcons/'
Inherited from NecroBuild
Defined in NecroBuild:287

Icon path

id
id: string
Type : string
Inherited from NecroBuild
Defined in NecroBuild:243

Id of the build

name
name: string
Type : string
Inherited from NecroBuild
Defined in NecroBuild:247

Name of the build

Private overrides
overrides: Map<string | BuildOverride>
Type : Map<string | BuildOverride>
Inherited from NecroBuild
Defined in NecroBuild:291

Overrides

Public profession
profession: any
Type : any
Inherited from NecroBuild
Defined in NecroBuild:283

Profession

Protected profSkills
profSkills: ProfessionSkills
Type : ProfessionSkills
Inherited from NecroBuild
Defined in NecroBuild:275

Profession skills data, can be set to null

Protected skills
skills: Skills
Type : Skills
Inherited from NecroBuild
Defined in NecroBuild:279

Skills data

Protected specialization
specialization: Specialization
Type : Specialization
Inherited from NecroBuild
Defined in NecroBuild:271

Specialization data

Protected trinket
trinket: Trinket
Type : Trinket
Inherited from NecroBuild
Defined in NecroBuild:259

Trinket data

Protected wep1
wep1: Weapons
Type : Weapons
Inherited from NecroBuild
Defined in NecroBuild:267

Primary weapon set data

Protected wep2
wep2: Weapons
Type : Weapons
Inherited from NecroBuild
Defined in NecroBuild:263

Second weapon set data, can be set to null

Methods

addOverride
addOverride(name: string, open: boolean)
Inherited from NecroBuild
Defined in NecroBuild:445

Add an override to the build

Parameters :
Name Type Optional Default value Description
name string no

Name of the override

open boolean no true

Visible by default or not

Returns : BuildOverride
getArmor
getArmor(override: string)
Inherited from NecroBuild
Defined in NecroBuild:387

Get the armor div

Parameters :
Name Type Optional Default value Description
override string no null

Name of the override

Returns : literal type
getConsumable
getConsumable(override: string)
Inherited from NecroBuild
Defined in NecroBuild:426

Get the consumable div

Parameters :
Name Type Optional Default value Description
override string no null

Name of the override

Returns : string
getIcon
getIcon()
Inherited from NecroBuild
Defined in NecroBuild:436

Get the icon path

Returns : string
getOverrides
getOverrides()
Inherited from NecroBuild
Defined in NecroBuild:455

Get the overrides of the build

Returns : string[]

Array of the name of the overrides

getPets
getPets(override: string)
Inherited from NecroBuild
Defined in NecroBuild:334

Get the pets div

Parameters :
Name Type Optional Default value Description
override string no null

Name of the override

Returns : string
getProfessionSkills
getProfessionSkills(override: string)
Inherited from NecroBuild
Defined in NecroBuild:362

Get the profession skills div

Parameters :
Name Type Optional Default value Description
override string no null

Name of the override

Returns : string
getSkills
getSkills(override: string)
Inherited from NecroBuild
Defined in NecroBuild:348

Get the skills div

Parameters :
Name Type Optional Default value Description
override string no null

Name of the override

Returns : literal type
getSpecializations
getSpecializations(override: string)
Inherited from NecroBuild
Defined in NecroBuild:323

Get the specialization div

Parameters :
Name Type Optional Default value Description
override string no null

Name of the override

Returns : string
getTrinket
getTrinket(override: string)
Inherited from NecroBuild
Defined in NecroBuild:376

Get the trinket div

Parameters :
Name Type Optional Default value Description
override string no null

Name of the override

Returns : literal type
getWeapon1
getWeapon1(override: string)
Inherited from NecroBuild
Defined in NecroBuild:398

Get the primary weapon set div

Parameters :
Name Type Optional Default value Description
override string no null

Name of the override

Returns : literal type
getWeapon2
getWeapon2(override: string)
Inherited from NecroBuild
Defined in NecroBuild:412

Get the secondary weapon set div

Parameters :
Name Type Optional Default value Description
override string no null

Name of the override

Returns : literal type
hasSkills
hasSkills(override: string)
Inherited from NecroBuild
Defined in NecroBuild:469

Check if the build has skills

Parameters :
Name Type Optional Default value Description
override string no null

Override name

Returns : boolean
isSingleWeapon
isSingleWeapon(override: string)
Inherited from NecroBuild
Defined in NecroBuild:480

Check if the build has a secondary weapon set

Parameters :
Name Type Optional Default value Description
override string no null

Override name

Returns : boolean
import { ProfBuild } from '../../profBuild';
import { Professions } from '../professionUtilities/professions';

/**
 * Standard Necromancer build
 */
class NecroBuild extends ProfBuild {
    /**
     * Create a standard Necromancer build
     * @param id Id of the build
     * @param name Name of the build
     */
    constructor(id, name) {
        super(id, Professions.Necromancer, name);
    }
}

/**
 * Condition Scourge build
 */
class CondiScourgeBuild extends NecroBuild {
    /**
     * Create a Condition Scourge build
     * @param id Id of the build
     * @param name Name of the build
     */
    constructor(id, name) {
        super(id, 'Scourge - Condition' + name);
        this.icon += 'scourge.png';
        this.armor.setSingleStat('Viper\'s');
        this.armor.setSingleRune('Superior Rune of the Renegade');
        this.consumable.setConsumable('Rare Veggie Pizza', 'Furious Tuning Crystal');
        this.trinket.setSingleStat('Viper\'s');
        this.wep1.setMainHand('Scepter', 'Viper\'s', 'Superior Sigil of Geomancy');
        this.wep2.setOffHand('Torch', 'Viper\'s', 'Superior Sigil of Malice');
        this.specialization.setSpec('spec1', 'Curses', [
            'Plague Sending',
            'Master of Corruption',
            'Lingering Curse'
        ]);
        this.specialization.setSpec('spec2', 'Soul Reaping', ['Unyielding Blast', 'Vital Persistence', 'Dhuumfire']);
        this.specialization.setSpec('spec3', 'Scourge', ['Fell Beacon', 'Sadistic Searing', 'Demonic Lore']);
        this.skills.setHealSkill('Sand Flare');
        this.skills.setUtilitySkills(['Summon Shadow Fiend', 'Trail of Anguish', 'Blood Is Power']);
        this.skills.setEliteSkill('Plaguelands');
    }
}

/**
 * Condition Reaper build
 */
class CondiReaperBuild extends NecroBuild {
    /**
     * Create a Condition Reaper build
     * @param id Id of the build
     * @param name Name of the build
     */
    constructor(id, name) {
        super(id, 'Reaper - Condition' + name);
        this.icon += 'reaper.png';
        this.armor.setSingleStat('Viper\'s');
        this.armor.setSingleRune('Superior Rune of the Renegade');
        this.consumable.setConsumable('Rare Veggie Pizza', 'Toxic Focusing Crystal');
        this.trinket.setSingleStat('Viper\'s');
        this.wep1.setMainHand('Scepter', 'Viper\'s', 'Superior Sigil of Geomancy');
        this.wep1.setOffHand('Dagger', 'Viper\'s', 'Superior Sigil of Agony');
        this.wep2.setTwoHand('Greatsword', 'Viper\'s', 'Superior Sigil of Agony', 'Superior Sigil of Geomancy');
        this.specialization.setSpec('spec1', 'Curses', [
            'Chilling Darkness',
            'Master of Corruption',
            'Lingering Curse'
        ]);
        this.specialization.setSpec('spec2', 'Soul Reaping', ['Unyielding Blast', 'Vital Persistence', 'Dhuumfire']);
        this.specialization.setSpec('spec3', 'Reaper', ['Chilling Nova', 'Decimate Defenses', 'Deathly Chill']);
        this.skills.setHealSkill('Summon Blood Fiend');
        this.skills.setUtilitySkills(['Summon Shadow Fiend', '', 'Blood Is Power']);
        this.skills.setEliteSkill('Plaguelands');
    }
}

/**
 * Add necromancer builds to the database
 */
export function necroBuildMaker() {
    let build: ProfBuild = null;
    // Scourge - Condi
    {
        build = new CondiScourgeBuild('scourgeCondi', '');
        let variant = build.addOverride('Kite');
        variant.skills.setHealSkill('Summon Blood Fiend');
        variant.skills.setUtilitySkills(['Summon Shadow Fiend', 'Epidemic', 'Blood Is Power']);
        variant.skills.setEliteSkill('Plaguelands');
        variant.specialization.setSpec('spec1', 'Curses', [
            'Plague Sending',
            'Master of Corruption',
            'Parasitic Contagion'
        ]);
        variant.specialization.setSpec('spec2', 'Soul Reaping', ['Unyielding Blast', 'Vital Persistence', 'Dhuumfire']);
        variant.specialization.setSpec('spec3', 'Scourge', ['Fell Beacon', 'Desert Empowerment', 'Demonic Lore']);

        variant = build.addOverride('Epidemic');
        variant.skills.setHealSkill('Sand Flare');
        variant.skills.setUtilitySkills(['Summon Shadow Fiend', 'Epidemic', 'Blood Is Power']);
        variant.skills.setEliteSkill('Plaguelands');

    }

    // Reaper - Condi
    {
        build = new CondiReaperBuild('reaperCondi', '');
    }
}

results matching ""

    No results matching ""