Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterRogue()
- type Rogue
- func (rogue *Rogue) AddPartyBuffs(_ *proto.PartyBuffs)
- func (rogue *Rogue) AddRaidBuffs(_ *proto.RaidBuffs)
- func (rogue *Rogue) ApplyAdditiveEnergyRegenBonus(sim *core.Simulation, increment float64)
- func (rogue *Rogue) ApplyFinisher(sim *core.Simulation, target *core.Unit, spell *core.Spell)
- func (rogue *Rogue) ApplyTalents()
- func (rogue *Rogue) BreakStealth(sim *core.Simulation)
- func (rogue *Rogue) CanApplyExposeArmorAura(target *core.Unit) bool
- func (rogue *Rogue) FinisherExtraCastCondition(sim *core.Simulation, target *core.Unit) bool
- func (rogue *Rogue) GetBaseDamageFromCoefficient(c float64) float64
- func (rogue *Rogue) GetCharacter() *core.Character
- func (rogue *Rogue) GetExposeArmorValue(target *core.Unit) float64
- func (rogue *Rogue) GetRogue() *Rogue
- func (rogue *Rogue) HasDagger(hand core.Hand) bool
- func (rogue *Rogue) HasThrown() bool
- func (rogue *Rogue) Initialize()
- func (rogue *Rogue) IsStealthed() bool
- func (rogue *Rogue) OnEncounterStart(sim *core.Simulation)
- func (rogue *Rogue) Reset(sim *core.Simulation)
- type RogueAgent
Constants ¶
const ( SpellFlagBuilder = core.SpellFlagAgentReserved2 SpellFlagFinisher = core.SpellFlagAgentReserved3 SpellFlagColdBlooded = core.SpellFlagAgentReserved4 )
const ( DDBC_Hemorrhage = iota DDBC_Total )
Damage Done By Caster setup
const ( RogueSpellFlagNone int64 = 0 RogueSpellAmbush int64 = 1 << iota RogueSpellBackstab RogueSpellEviscerate RogueSpellExposeArmor RogueSpellFeint RogueSpellGarrote RogueSpellGouge RogueSpellRupture RogueSpellSinisterStrike RogueSpellSliceAndDice RogueSpellStealth RogueSpellVanish RogueSpellHemorrhage RogueSpellPremeditation RogueSpellPreparation RogueSpellShadowstep RogueSpellAdrenalineRush RogueSpellBladeFlurry RogueSpellColdBlood RogueSpellMutilate RogueSpellMutilateHit RogueSpellRiposte RogueSpellGhostlyStrike RogueSpellInstantPoison RogueSpellWoundPoison RogueSpellDeadlyPoison RogueSpellLast RogueSpellsAll = RogueSpellLast<<1 - 1 RogueSpellActives = RogueSpellGhostlyStrike<<1 - 1 RogueSpellPoisons = RogueSpellWoundPoison | RogueSpellDeadlyPoison | RogueSpellInstantPoison RogueSpellLethality = RogueSpellSinisterStrike | RogueSpellGouge | RogueSpellBackstab | RogueSpellGhostlyStrike | RogueSpellMutilateHit | RogueSpellHemorrhage RogueSpellDirectFinisher = RogueSpellEviscerate RogueSpellFinisher = RogueSpellDirectFinisher | RogueSpellSliceAndDice | RogueSpellRupture | RogueSpellExposeArmor )
const RogueBleedTag = "RogueBleed"
Variables ¶
var ItemSetBonescytheArmor = core.NewItemSet(core.ItemSet{ ID: 524, Name: "Bonescythe Armor", Slots: shared.TierThreeSlots, Bonuses: map[int32]core.ApplySetBonus{ 4: applyBonescytheHeadRush, 6: shared.ParsedSetBonus(bonescytheThreat), 8: applyBonescytheRevealedFlaw, }, })
Tier 3
var TalentTreeSizes = [3]int{17, 19, 18}
Functions ¶
func RegisterRogue ¶
func RegisterRogue()
Types ¶
type Rogue ¶
type Rogue struct {
core.Character
ClassSpellScaling float64
Talents *proto.RogueTalents
Options *proto.RogueOptions
AssassinationOptions *proto.Rogue_Options
AdditiveEnergyRegenBonus float64
BladeFlurry *core.Spell
DeadlyPoison *core.Spell
Feint *core.Spell
Garrote *core.Spell
Ambush *core.Spell
Hemorrhage *core.Spell
GhostlyStrike *core.Spell
Riposte *core.Spell
WoundPoison *core.Spell
Mutilate *core.Spell
MutilateMH *core.Spell
MutilateOH *core.Spell
SinisterStrike *core.Spell
Shank *core.Spell
DeathMark *core.Spell
Shadowstep *core.Spell
Preparation *core.Spell
Premeditation *core.Spell
ColdBlood *core.Spell
Vanish *core.Spell
AdrenalineRush *core.Spell
InstantPoison *core.Spell
ExposeArmor *core.Spell
Rupture *core.Spell
SliceAndDice *core.Spell
AdrenalineRushAura *core.Aura
BladeFlurryAura *core.Aura
ExposeArmorAuras core.AuraArray
SliceAndDiceAura *core.Aura
MasterOfSubtletyAura *core.Aura
ShadowstepAura *core.Aura
StealthAura *core.Aura
GhostlyStrikeAura *core.Aura
WoundPoisonDebuffAuras core.AuraArray
HasPvpEnergy bool
DeathmantleBonus float64
SliceAndDiceBonusDuration time.Duration
// contains filtered or unexported fields
}
func (*Rogue) AddPartyBuffs ¶
func (rogue *Rogue) AddPartyBuffs(_ *proto.PartyBuffs)
func (*Rogue) AddRaidBuffs ¶
func (*Rogue) ApplyAdditiveEnergyRegenBonus ¶
func (rogue *Rogue) ApplyAdditiveEnergyRegenBonus(sim *core.Simulation, increment float64)
func (*Rogue) ApplyFinisher ¶
Apply the effect of successfully casting a finisher to combo points
func (*Rogue) BreakStealth ¶
func (rogue *Rogue) BreakStealth(sim *core.Simulation)
Deactivate Stealth if it is active. This must be added to all abilities that cause Stealth to fade.
func (*Rogue) CanApplyExposeArmorAura ¶
func (*Rogue) FinisherExtraCastCondition ¶
func (*Rogue) GetBaseDamageFromCoefficient ¶
func (*Rogue) GetCharacter ¶
func (*Rogue) GetExposeArmorValue ¶
func (*Rogue) HasDagger ¶
Does the rogue have a dagger equipped in the specified hand (main or offhand)?
func (*Rogue) Initialize ¶
func (rogue *Rogue) Initialize()
func (*Rogue) IsStealthed ¶
Check if the rogue is considered in "stealth" for the purpose of casting abilities
func (*Rogue) OnEncounterStart ¶
func (rogue *Rogue) OnEncounterStart(sim *core.Simulation)
func (*Rogue) Reset ¶
func (rogue *Rogue) Reset(sim *core.Simulation)
type RogueAgent ¶
type RogueAgent interface {
GetRogue() *Rogue
}
Agent is a generic way to access underlying rogue on any of the agents.