File

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

Description

Condition Renegade build

Extends

RevenantBuild

Index

Properties
Methods

Constructor

constructor(id: , name: )

Create a Condition Renegade 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 RevenantBuild
Defined in RevenantBuild:251

Armor data

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

Consumable data

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

Icon path

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

Id of the build

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

Name of the build

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

Overrides

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

Profession

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

Profession skills data, can be set to null

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

Skills data

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

Specialization data

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

Trinket data

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

Primary weapon set data

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

Second weapon set data, can be set to null

Methods

addOverride
addOverride(name: string, open: boolean)
Inherited from RevenantBuild
Defined in RevenantBuild: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 RevenantBuild
Defined in RevenantBuild: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 RevenantBuild
Defined in RevenantBuild: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 RevenantBuild
Defined in RevenantBuild:436

Get the icon path

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

Get the overrides of the build

Returns : string[]

Array of the name of the overrides

getPets
getPets(override: string)
Inherited from RevenantBuild
Defined in RevenantBuild: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 RevenantBuild
Defined in RevenantBuild: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 RevenantBuild
Defined in RevenantBuild: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 RevenantBuild
Defined in RevenantBuild: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 RevenantBuild
Defined in RevenantBuild: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 RevenantBuild
Defined in RevenantBuild: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 RevenantBuild
Defined in RevenantBuild: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 RevenantBuild
Defined in RevenantBuild: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 RevenantBuild
Defined in RevenantBuild: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 Revenant build
 */
class RevenantBuild extends ProfBuild {
    /**
     * Create a standard Revenant build
     * @param id Id of the build
     * @param name Name of the build
     */
    constructor(id, name) {
        super(id, Professions.Revenant, name);
        this.skills = null;
    }
}

/**
 * Condition Renegade build
 */
class CondiRenegadeBuild extends RevenantBuild {
    /**
     * Create a Condition Renegade build
     * @param id Id of the build
     * @param name Name of the build
     */
    constructor(id, name) {
        super(id, 'Renegade - Condition' + name);
        this.icon += 'renegade.png';
        this.armor.setSingleStat('Viper\'s');
        this.armor.set42Rune('Superior Rune of the Nightmare', 'Superior Rune of the Trapper');
        this.consumable.setConsumable('Rare Veggie Pizza', 'Toxic Focusing Crystal');
        this.trinket.setSingleStat('Viper\'s');
        this.wep1.setMainHand('Mace', 'Viper\'s', 'Superior Sigil of Smoldering');
        this.wep1.setOffHand('Axe', 'Viper\'s', 'Superior Sigil of Geomancy');
        this.wep2.setTwoHand('Shortbow', 'Viper\'s', 'Superior Sigil of Smoldering', 'Superior Sigil of Geomancy');
        this.specialization.setSpec('spec1', 'Corruption', ['Venom Enhancement', 'Abyssal Chill', 'Diabolic Inferno']);
        this.specialization.setSpec('spec2', 'Devastation', [
            'Ferocious Strikes',
            'Assassin\'s Presence',
            'Swift Termination'
        ]);
        this.specialization.setSpec('spec3', 'Renegade', ['Blood Fury', 'Heartpiercer', 'Lasting Legacy']);
        this.profSkills.setSkills(['Legendary Renegade Stance', 'Legendary Demon Stance']);
    }
}

/**
 * Healing Renegade build
 */
class HealRenegadeBuild extends RevenantBuild {
    /**
     * Create a Healing Renegade build
     * @param id Id of the build
     * @param name Name of the build
     */
    constructor(id, name) {
        super(id, 'Renegade - Heal' + name);
        this.icon += 'renegade.png';
        this.armor.setSingleStat('Harrier\'s');
        this.armor.setSingleRune('Superior Rune of the Monk');
        this.consumable.setConsumable('Delicious Rice Ball', 'Bountiful Maintenance Oil');
        this.trinket.setSingleStat('Harrier\'s');
        this.wep1.setMainHand('Sword', 'Harrier\'s', 'Superior Sigil of Transference');
        this.wep1.setOffHand('Axe', 'Harrier\'s', 'Superior Sigil of Water');
        this.wep2.setTwoHand('Staff', 'Harrier\'s', 'Superior Sigil of Transference', 'Superior Sigil of Water');
        this.specialization.setSpec('spec1', 'Salvation', [
            'Tranquil Balance',
            'Invoking Harmony',
            'Selfless Amplification'
        ]);
        this.specialization.setSpec('spec2', 'Devastation', [
            'Vicious Lacerations',
            'Assassin\'s Presence',
            'Assassin\'s Annihilation'
        ]);
        this.specialization.setSpec('spec3', 'Renegade', ['Blood Fury', 'Heartpiercer', 'Vindication']);
        this.profSkills.setSkills(['Legendary Renegade Stance', 'Legendary Centaur Stance']);
    }
}

/**
 * Healing Herald build
 */
class HealHeraldBuild extends RevenantBuild {
    /**
     * Create a Healing Herald build
     * @param id Id of the build
     * @param name Name of the build
     */
    constructor(id, name) {
        super(id, 'Herald - Heal' + name);
        this.icon += 'herald.png';
        this.armor.setSingleStat('Minstrel\'s');
        this.armor.setSingleRune('Superior Rune of Water');
        this.consumable.setConsumable('Delicious Rice Ball', 'Bountiful Maintenance Oil');
        this.trinket.setSingleStat('Magi\'s');
        this.specialization.setSpec('spec1', 'Retribution', [
            'Close Quarters',
            'Eye for an Eye',
            'Steadfast Rejuvenation'
        ]);
        this.specialization.setSpec('spec2', 'Salvation', [
            'Nourishing Roots',
            'Invoking Harmony',
            'Natural Abundance'
        ]);
        this.specialization.setSpec('spec3', 'Herald', [
            'Radiant Revival',
            'Bolster Fortifications',
            'Soothing Bastion'
        ]);
        this.profSkills.setSkills(['Legendary Centaur Stance', 'Legendary Dragon Stance']);
        this.wep1.setMainHand('Sword', 'Minstrel\'s', 'Superior Sigil of Transference');
        this.wep1.setOffHand('Shield', 'Magi\'s', 'Superior Sigil of Water');

        this.wep2.setTwoHand('Staff', 'Magi\'s', 'Superior Sigil of Transference', 'Superior Sigil of Water');
    }
}

/**
 * Add revenant builds to the database
 */
export function revBuildMaker() {
    let build: ProfBuild = null;
    // Condi
    {
        build = new CondiRenegadeBuild('renCondi', '');
        //
        let variant = build.addOverride('Big Hitbox');
        variant.specialization.setSpec('spec1', 'Corruption', ['Venom Enhancement', 'Abyssal Chill', 'Pulsating Pestilence']);
        variant.specialization.setSpec('spec2', 'Devastation', [
            'Ferocious Strikes',
            'Assassin\'s Presence',
            'Swift Termination'
        ]);
        variant.specialization.setSpec('spec3', 'Renegade', ['Blood Fury', 'Heartpiercer', 'Vindication']);
        //
        variant = build.addOverride('Invocation');
        variant.specialization.setSpec('spec1', 'Corruption', ['Venom Enhancement', 'Abyssal Chill', 'Diabolic Inferno']);
        variant.specialization.setSpec('spec2', 'Invocation', [
            'Forceful Persistence',
            'Spirit Boon',
            'Charged Mists'
        ]);
        variant.specialization.setSpec('spec3', 'Renegade', ['Blood Fury', 'Heartpiercer', 'Lasting Legacy']);
        //
        variant = build.addOverride('Invocation - Big Hitbox');
        variant.specialization.setSpec('spec1', 'Corruption', ['Venom Enhancement', 'Abyssal Chill', 'Pulsating Pestilence']);
        variant.specialization.setSpec('spec2', 'Invocation', [
            'Forceful Persistence',
            'Spirit Boon',
            'Charged Mists'
        ]);
        variant.specialization.setSpec('spec3', 'Renegade', ['Blood Fury', 'Heartpiercer', 'Vindication']);
        //
        variant = build.addOverride('Support');
        variant.profSkills.setSkills(['Legendary Renegade Stance', 'Legendary Centaur Stance']);
        variant.specialization.setSpec('spec1', 'Corruption', ['Venom Enhancement', 'Abyssal Chill', 'Diabolic Inferno']);
        variant.specialization.setSpec('spec2', 'Salvation', [
            'Tranquil Balance',
            'Invoking Harmony',
            'Natural Abundance'
        ]);
        variant.specialization.setSpec('spec3', 'Renegade', ['Blood Fury', 'Heartpiercer', 'Righteous Rebel']);
        //
    }

    // Special
    {

        build = new HealRenegadeBuild('renHeal', '');

        build = new HealHeraldBuild('herDeiVentari', '');

    }
}

results matching ""

    No results matching ""