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