src/app/helpers/profBuildHelpers/professions/revenant.ts
Condition Renegade build
Properties |
|
Methods |
constructor(id: , name: )
|
|||||||||
Create a Condition Renegade build
Parameters :
|
Protected armor |
armor:
|
Type : Armor
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:251
|
Armor data |
Protected consumable |
consumable:
|
Type : Consumable
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:255
|
Consumable data |
Protected icon |
icon:
|
Type : string
|
Default value : 'assets/profIcons/'
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:287
|
Icon path |
id |
id:
|
Type : string
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:243
|
Id of the build |
name |
name:
|
Type : string
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:247
|
Name of the build |
Private overrides |
overrides:
|
Type : Map<string | BuildOverride>
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:291
|
Overrides |
Public profession |
profession:
|
Type : any
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:283
|
Profession |
Protected profSkills |
profSkills:
|
Type : ProfessionSkills
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:275
|
Profession skills data, can be set to null |
Protected skills |
skills:
|
Type : Skills
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:279
|
Skills data |
Protected specialization |
specialization:
|
Type : Specialization
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:271
|
Specialization data |
Protected trinket |
trinket:
|
Type : Trinket
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:259
|
Trinket data |
Protected wep1 |
wep1:
|
Type : Weapons
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:267
|
Primary weapon set data |
Protected wep2 |
wep2:
|
Type : Weapons
|
Inherited from
RevenantBuild
|
Defined in RevenantBuild:263
|
Second weapon set data, can be set to null |
addOverride | |||||||||||||||
addOverride(name: string, open: boolean)
|
|||||||||||||||
Inherited from
RevenantBuild
|
|||||||||||||||
Defined in RevenantBuild:445
|
|||||||||||||||
Add an override to the build
Parameters :
Returns :
BuildOverride
|
getArmor | ||||||||||
getArmor(override: string)
|
||||||||||
Inherited from
RevenantBuild
|
||||||||||
Defined in RevenantBuild:387
|
||||||||||
Get the armor div
Parameters :
Returns :
literal type
|
getConsumable | ||||||||||
getConsumable(override: string)
|
||||||||||
Inherited from
RevenantBuild
|
||||||||||
Defined in RevenantBuild:426
|
||||||||||
Get the consumable div
Parameters :
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 :
Returns :
string
|
getProfessionSkills | ||||||||||
getProfessionSkills(override: string)
|
||||||||||
Inherited from
RevenantBuild
|
||||||||||
Defined in RevenantBuild:362
|
||||||||||
Get the profession skills div
Parameters :
Returns :
string
|
getSkills | ||||||||||
getSkills(override: string)
|
||||||||||
Inherited from
RevenantBuild
|
||||||||||
Defined in RevenantBuild:348
|
||||||||||
Get the skills div
Parameters :
Returns :
literal type
|
getSpecializations | ||||||||||
getSpecializations(override: string)
|
||||||||||
Inherited from
RevenantBuild
|
||||||||||
Defined in RevenantBuild:323
|
||||||||||
Get the specialization div
Parameters :
Returns :
string
|
getTrinket | ||||||||||
getTrinket(override: string)
|
||||||||||
Inherited from
RevenantBuild
|
||||||||||
Defined in RevenantBuild:376
|
||||||||||
Get the trinket div
Parameters :
Returns :
literal type
|
getWeapon1 | ||||||||||
getWeapon1(override: string)
|
||||||||||
Inherited from
RevenantBuild
|
||||||||||
Defined in RevenantBuild:398
|
||||||||||
Get the primary weapon set div
Parameters :
Returns :
literal type
|
getWeapon2 | ||||||||||
getWeapon2(override: string)
|
||||||||||
Inherited from
RevenantBuild
|
||||||||||
Defined in RevenantBuild:412
|
||||||||||
Get the secondary weapon set div
Parameters :
Returns :
literal type
|
hasSkills | ||||||||||
hasSkills(override: string)
|
||||||||||
Inherited from
RevenantBuild
|
||||||||||
Defined in RevenantBuild:469
|
||||||||||
Check if the build has skills
Parameters :
Returns :
boolean
|
isSingleWeapon | ||||||||||
isSingleWeapon(override: string)
|
||||||||||
Inherited from
RevenantBuild
|
||||||||||
Defined in RevenantBuild:480
|
||||||||||
Check if the build has a secondary weapon set
Parameters :
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', '');
}
}