src/app/helpers/profBuildHelpers/professions/elementalist.ts
Condition Weaver
Properties |
|
Methods |
constructor(id: , name: )
|
|||||||||
Create a Condition Weaver build
Parameters :
|
Protected armor |
armor:
|
Type : Armor
|
Inherited from
EleBuild
|
Defined in EleBuild:251
|
Armor data |
Protected consumable |
consumable:
|
Type : Consumable
|
Inherited from
EleBuild
|
Defined in EleBuild:255
|
Consumable data |
Protected icon |
icon:
|
Type : string
|
Default value : 'assets/profIcons/'
|
Inherited from
EleBuild
|
Defined in EleBuild:287
|
Icon path |
id |
id:
|
Type : string
|
Inherited from
EleBuild
|
Defined in EleBuild:243
|
Id of the build |
name |
name:
|
Type : string
|
Inherited from
EleBuild
|
Defined in EleBuild:247
|
Name of the build |
Private overrides |
overrides:
|
Type : Map<string | BuildOverride>
|
Inherited from
EleBuild
|
Defined in EleBuild:291
|
Overrides |
Public profession |
profession:
|
Type : any
|
Inherited from
EleBuild
|
Defined in EleBuild:283
|
Profession |
Protected profSkills |
profSkills:
|
Type : ProfessionSkills
|
Inherited from
EleBuild
|
Defined in EleBuild:275
|
Profession skills data, can be set to null |
Protected skills |
skills:
|
Type : Skills
|
Inherited from
EleBuild
|
Defined in EleBuild:279
|
Skills data |
Protected specialization |
specialization:
|
Type : Specialization
|
Inherited from
EleBuild
|
Defined in EleBuild:271
|
Specialization data |
Protected trinket |
trinket:
|
Type : Trinket
|
Inherited from
EleBuild
|
Defined in EleBuild:259
|
Trinket data |
Protected wep1 |
wep1:
|
Type : Weapons
|
Inherited from
EleBuild
|
Defined in EleBuild:267
|
Primary weapon set data |
Protected wep2 |
wep2:
|
Type : Weapons
|
Inherited from
EleBuild
|
Defined in EleBuild:263
|
Second weapon set data, can be set to null |
addOverride | |||||||||||||||
addOverride(name: string, open: boolean)
|
|||||||||||||||
Inherited from
EleBuild
|
|||||||||||||||
Defined in EleBuild:445
|
|||||||||||||||
Add an override to the build
Parameters :
Returns :
BuildOverride
|
getArmor | ||||||||||
getArmor(override: string)
|
||||||||||
Inherited from
EleBuild
|
||||||||||
Defined in EleBuild:387
|
||||||||||
Get the armor div
Parameters :
Returns :
literal type
|
getConsumable | ||||||||||
getConsumable(override: string)
|
||||||||||
Inherited from
EleBuild
|
||||||||||
Defined in EleBuild:426
|
||||||||||
Get the consumable div
Parameters :
Returns :
string
|
getIcon |
getIcon()
|
Inherited from
EleBuild
|
Defined in EleBuild:436
|
Get the icon path
Returns :
string
|
getOverrides |
getOverrides()
|
Inherited from
EleBuild
|
Defined in EleBuild:455
|
Get the overrides of the build
Returns :
string[]
Array of the name of the overrides |
getPets | ||||||||||
getPets(override: string)
|
||||||||||
Inherited from
EleBuild
|
||||||||||
Defined in EleBuild:334
|
||||||||||
Get the pets div
Parameters :
Returns :
string
|
getProfessionSkills | ||||||||||
getProfessionSkills(override: string)
|
||||||||||
Inherited from
EleBuild
|
||||||||||
Defined in EleBuild:362
|
||||||||||
Get the profession skills div
Parameters :
Returns :
string
|
getSkills | ||||||||||
getSkills(override: string)
|
||||||||||
Inherited from
EleBuild
|
||||||||||
Defined in EleBuild:348
|
||||||||||
Get the skills div
Parameters :
Returns :
literal type
|
getSpecializations | ||||||||||
getSpecializations(override: string)
|
||||||||||
Inherited from
EleBuild
|
||||||||||
Defined in EleBuild:323
|
||||||||||
Get the specialization div
Parameters :
Returns :
string
|
getTrinket | ||||||||||
getTrinket(override: string)
|
||||||||||
Inherited from
EleBuild
|
||||||||||
Defined in EleBuild:376
|
||||||||||
Get the trinket div
Parameters :
Returns :
literal type
|
getWeapon1 | ||||||||||
getWeapon1(override: string)
|
||||||||||
Inherited from
EleBuild
|
||||||||||
Defined in EleBuild:398
|
||||||||||
Get the primary weapon set div
Parameters :
Returns :
literal type
|
getWeapon2 | ||||||||||
getWeapon2(override: string)
|
||||||||||
Inherited from
EleBuild
|
||||||||||
Defined in EleBuild:412
|
||||||||||
Get the secondary weapon set div
Parameters :
Returns :
literal type
|
hasSkills | ||||||||||
hasSkills(override: string)
|
||||||||||
Inherited from
EleBuild
|
||||||||||
Defined in EleBuild:469
|
||||||||||
Check if the build has skills
Parameters :
Returns :
boolean
|
isSingleWeapon | ||||||||||
isSingleWeapon(override: string)
|
||||||||||
Inherited from
EleBuild
|
||||||||||
Defined in EleBuild:480
|
||||||||||
Check if the build has a secondary weapon set
Parameters :
Returns :
boolean
|
import { ProfBuild } from '../../profBuild';
import { Professions } from '../professionUtilities/professions';
/**
* Standard Elementalist
*/
class EleBuild extends ProfBuild {
/**
* Create a standard Elementalist build
* @param id Id of the build
* @param name Name of the build
*/
constructor(id, name) {
super(id, Professions.Elementalist, name);
this.wep2 = null;
}
}
/**
* Condition Weaver
*/
class CondiWeaverBuild extends EleBuild {
/**
* Create a Condition Weaver build
* @param id Id of the build
* @param name Name of the build
*/
constructor(id, name) {
super(id, 'Weaver - Condition' + name);
this.icon += 'weaver.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('Sword', 'Viper\'s', 'Superior Sigil of Malice');
this.wep1.setOffHand('Dagger', 'Viper\'s', 'Superior Sigil of Geomancy');
this.specialization.setSpec('spec1', 'Fire', [
'Burning Precision',
'Power Overwhelming',
'Persisting Flames'
]);
this.specialization.setSpec('spec2', 'Earth', ['Serrated Stones', 'Strength of Stone', 'Written in Stone']);
this.specialization.setSpec('spec3', 'Weaver', ['Superior Elements', 'Weaver\'s Prowess', 'Elements of Rage']);
this.skills.setHealSkill('Glyph of Elemental Harmony');
this.skills.setUtilitySkills(['Signet of Fire', 'Glyph of Storms', 'Primordial Stance']);
this.skills.setEliteSkill('Weave Self');
}
}
/**
* Power Weaver
*/
class PowerWeaverBuild extends EleBuild {
/**
* Create a standard Power Weaver Build
* @param id Id of the build
* @param name Name of the build
*/
constructor(id, name) {
super(id, 'Weaver - Power' + name);
this.icon += 'weaver.png';
this.armor.setSingleStat('Berserker\'s');
this.wep1.setTwoHand('Staff', 'Berserker\'s', 'Superior Sigil of Force', 'Superior Sigil of Air');
this.armor.setSingleRune('Superior Rune of the Scholar');
this.consumable.setConsumable('Bowl of Sweet and Spicy Butternut Squash Soup', 'Superior Sharpening Stone');
this.trinket.setSingleStat('Berserker\'s');
this.specialization.setSpec('spec1', 'Fire', [
'Burning Precision',
'Pyromancer\'s Training',
'Persisting Flames'
]);
this.specialization.setSpec('spec3', 'Weaver', ['Superior Elements', 'Swift Revenge', 'Elements of Rage']);
this.skills.setHealSkill('Aquatic Stance');
this.skills.setUtilitySkills(['Conjure Lightning Hammer', 'Glyph of Storms', 'Primordial Stance']);
this.skills.setEliteSkill('Conjure Fiery Greatsword');
}
}
/**
* Air Power Weaver
*/
class PowerWeaverAirBuild extends PowerWeaverBuild {
/**
* Create a Power Weaver in Air build
* @param id Id of the build
* @param name Name of the build
*/
constructor(id, name) {
super(id, ' - Air' + name);
this.specialization.setSpec('spec2', 'Air', ['Ferocious Winds', 'Inscription', 'Bolt to the Heart']);
}
}
/**
* Arcane Power Weaver
*/
class PowerWeaverArcBuild extends PowerWeaverBuild {
/**
* Create a Power Weaver build in Arcane
* @param id Id of the build
* @param name Name of the build
*/
constructor(id, name) {
super(id, ' - Arcane' + name);
this.specialization.setSpec('spec2', 'Arcane', [
'Renewing Stamina',
'Elemental Contingency',
'Bountiful Power'
]);
}
}
/**
* Healing Tempest
*/
class HealTempestBuild extends EleBuild {
/**
* Create a Healing Tempest build
* @param id Id of the build
* @param name Name of the build
*/
constructor(id, name) {
super(id, 'Tempest - Auramancer' + name);
this.icon += 'tempest.png';
this.armor.setSingleStat('Magi\'s');
this.armor.setSingleRune('Superior Rune of the Monk');
this.consumable.setConsumable('Delicious Rice Ball', 'Bountiful Maintenance Oil');
this.trinket.setSingleStat('Magi\'s');
this.wep1.setTwoHand('Staff', 'Magi\'s', 'Superior Sigil of Transference', 'Superior Sigil of Water');
this.specialization.setSpec('spec1', 'Water', ['Soothing Ice', 'Aquamancer\'s Training', 'Soothing Power']);
this.specialization.setSpec('spec2', 'Arcane', ['Renewing Stamina', 'Arcane Resurrection', 'Bountiful Power']);
this.specialization.setSpec('spec3', 'Tempest', [
'Gale Song',
'Invigorating Torrents',
'Elemental Bastion'
]);
this.skills.setHealSkill('"Wash the Pain Away!"');
this.skills.setUtilitySkills(['"Feel the Burn!"', '"Flash-Freeze!"', 'Lightning Flash']);
this.skills.setEliteSkill('"Rebound!"');
}
}
/**
* Add elementalist builds to the database
*/
export function eleBuildMaker() {
let build: ProfBuild = null;
// Condi
{
build = new CondiWeaverBuild('weavCondi', '');
}
// Power
{
build = new PowerWeaverArcBuild('weavPowerArc', '');
let variant = build.addOverride('Sword');
variant.wep1.setMainHand('Sword', 'Berserker\'s', 'Superior Sigil of Force');
variant.wep1.setOffHand('Dagger', 'Berserker\'s', 'Superior Sigil of Air');
variant.skills.setHealSkill('Arcane Brilliance');
variant.skills.setUtilitySkills(['Arcane Blast', 'Glyph of Storms', 'Primordial Stance']);
variant.skills.setEliteSkill('Conjure Fiery Greatsword');
build = new PowerWeaverAirBuild('weavPowerAir', '');
variant = build.addOverride('Tempest Defense');
variant.wep1.setTwoHand('Staff', 'Berserker\'s', 'Superior Sigil of Force', 'Superior Sigil of Impact');
variant.specialization.setSpec('spec1', 'Fire', [
'Burning Precision',
'Pyromancer\'s Training',
'Persisting Flames'
]);
variant.specialization.setSpec('spec2', 'Air', ['Ferocious Winds', 'Tempest Defense', 'Bolt to the Heart']);
variant.specialization.setSpec('spec3', 'Weaver', ['Superior Elements', 'Swift Revenge', 'Elements of Rage']);
variant = build.addOverride('Keep Construct');
variant.wep1.setTwoHand('Staff', 'Berserker\'s', 'Superior Sigil of Force', 'Superior Sigil of Impact');
variant.skills.setHealSkill('Aquatic Stance');
variant.skills.setUtilitySkills(['Conjure Frost Bow', 'Glyph of Storms', 'Primordial Stance']);
variant.skills.setEliteSkill('Conjure Fiery Greatsword');
}
// Special
{
build = new HealTempestBuild('tempAura', '');
}
}