forked from wowsims/cata
-
Notifications
You must be signed in to change notification settings - Fork 38
Balance druid initial implementation #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 50 commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
9f3a8dd
removed Insect Swarm - no longer in the game
stn-ms 7d81f84
clean up - OOC is no longer a thing for balance and other unused bits…
stn-ms 8177183
shooting stars implementation
stn-ms 8f426b8
balance of power implementation
stn-ms 55f929e
Merge remote-tracking branch 'origin/master' into fix/balance-druid
stn-ms a6af8c9
starfire implementation, cleanup for omen of clarity - balance spells…
stn-ms f72b88d
starsurge, starfire fixes, sunfire
stn-ms a1a1891
moonfire impl, corrected sunfire's bonus coeff
stn-ms ec7e6d1
starfall and moved some balance specific spells to balance.go instead…
stn-ms a765030
implemented nature's vigil damage buff and HOTW passive bonus as spec…
stn-ms bce9e70
hijacked some dot extension code and moved sunfire and moonfire exten…
stn-ms 8517337
moved eclipse and related helper code from druid to balance
stn-ms 9da0c29
nature's grace and lunar shower implementations
stn-ms 4d60deb
clean up in moonfire and sunfire, thanks lutz
stn-ms bc3cf06
implemented healing touch, dream of cenarius (balance edition) and it…
stn-ms d9268ab
make HT actually heal (0)
stn-ms abdfd94
registering eclipse and AC basic implementation as a hot
stn-ms 32f2358
set eclipse energy gains in euphoria
stn-ms 0db29a6
very basic preraid preset
stn-ms f122397
Merge branch 'master' into fix/balance-druid
stn-ms d1ba2c0
fixed moonfire bonus coeff
stn-ms 67a5631
Merge branch 'master' into fix/balance-druid
stn-ms b3af3d8
a bit of UI work - presets, buffs and debuffs, talents (all wip)
stn-ms ee2a461
added a bit of debugging to sunfire and moonfire tick extension on wr…
stn-ms 1e45a7e
moved and enabled apl_values to balance, astral communion energy gain…
stn-ms b2e9d9c
preraid preset removed head enchant and included reforging
stn-ms 2b80935
lvl 90 scaling
stn-ms 02fda47
Merge branch 'master' into fix/balance-druid
stn-ms 253a478
t15 preset wip
stn-ms 27b72d6
Merge branch 'master' into fix/balance-druid
stn-ms 9ecaf8b
missed a file during merge from master
stn-ms 4fb1d91
Merge branch 'master' into fix/balance-druid
stn-ms 12a5ad1
Merge branch 'master' into fix/balance-druid
stn-ms 18e8964
moonkin form spell mod and auras
stn-ms 2f9a6fd
T14 balance gearset
stn-ms 92e43b9
T15 set bonuses
stn-ms 778ce09
Celestial Alignment and some supporting code in eclipse
stn-ms 39603f3
Merge branch 'master' into fix/balance-druid
stn-ms e17927e
Merge branch 'master' into fix/balance-druid
stn-ms d27305a
implement natural insight
stn-ms c95ddc3
a very basic APL, highly WIP
stn-ms d72611e
AC energy gain as a var, T16 pattern
stn-ms 1877fc7
Merge branch 'master' into fix/balance-druid
stn-ms e9aec64
remove nature vigil's global druid spell registration
stn-ms 4bfb210
Merge branch 'master' into fix/balance-druid
stn-ms efd52c3
Merge branch 'master' into fix/balance-druid
stn-ms d2d2333
Moved set items to druid
stn-ms 24a0e85
Merge branch 'master' into fix/balance-druid
stn-ms 3f443ca
fixed balance of power
stn-ms c53d1c6
[Balance] FoN initial implementation
stn-ms 3e9597e
[Balance] added missing procmask for treant's wrath
stn-ms e2c5e5a
made healing touch do actual healing - this would be needed for guardian
stn-ms 2e35d5e
[Balance] SotF and AC interaction
stn-ms be3548c
enabling balance tests and some cleanup
stn-ms c7df34e
[Balance] T14 gear set
stn-ms 6360dea
[Balance] fixed tests
stn-ms 125e684
[Balance] Update Hurricane and WM, added Astral Storm
stn-ms cfbab39
[Balance] added shooting stars diminishing returns
stn-ms 22f2168
[Balance] update tests
stn-ms 5eddd81
[Balance] Fixed Moonkin Form spellid
stn-ms ef15452
[Balance] Fixed the inverted solar/lunar energy in APLs
stn-ms c7b74a0
Merge branch 'master' into fix/balance-druid
stn-ms 0dda26e
[Balance] Disabling T15 and T16 gear
stn-ms f79238f
[Balance] added a self aura to Starfall and reset its cd once we ente…
stn-ms c6020ef
[Balance] Celestial Alignment is off the GCD
stn-ms 7e30ec2
[Balance] prevent Incarnation registration if not talented
stn-ms 1a653f7
[Balance] Astral Communion proper interaction with SotF, also cancell…
stn-ms 9e46aaf
[Balance] fixed FoN treants not casting
stn-ms ef5380e
[Balance] implemented Nature's Swiftness, added Incarnation and CA to…
stn-ms ed95857
[Balance] Fixed DoC buff stacking and mastery calculations
stn-ms 82a0f2c
[Balance] APL update
stn-ms 256e078
[Balance] updated tests
stn-ms 01d3f54
Merge branch 'master' into fix/balance-druid
stn-ms 3fea91d
[Druid] MOP beta changes - Moonkin Form 10% -> 20%, removed Shooting …
stn-ms b4ed7d5
Merge branch 'master' into fix/balance-druid
stn-ms d6a31c4
[Druid] updated tests
stn-ms abf4d05
[Balance] updated preraid gearset and updated tests
stn-ms 8194125
Merge branch 'master' into fix/balance-druid
stn-ms 7a3ad7a
[Balance] MOP Beta balance FoN buff
stn-ms 499d580
[Balance] mark sim as alpha
stn-ms d5ddf33
[Druid] update spell cost and tests
stn-ms b07d6a7
[Balance] updated tests
stn-ms 7b1d919
[Balance] Moonfire mana cost
stn-ms a026a7c
Merge branch 'master' into fix/balance-druid
1337LutZ 2b83c10
Add soft cap breakpoints for NG+MF/SF
1337LutZ f6a71f9
Merge branch 'master' into fix/balance-druid
stn-ms f2377f9
[Balance] updating tests
stn-ms 1ca661e
[Balance] addressing PR comments
stn-ms e04aa7d
Merge branch 'master' into fix/balance-druid
NerdEgghead 077b6d1
Fix merge conflicts
NerdEgghead File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,70 +1,3 @@ | ||
| package druid | ||
|
|
||
| import ( | ||
| "time" | ||
|
|
||
| "github.com/wowsims/mop/sim/core" | ||
| "github.com/wowsims/mop/sim/core/proto" | ||
| ) | ||
|
|
||
| func (druid *Druid) ApplyGlyphs() { | ||
|
|
||
| if druid.HasPrimeGlyph(proto.DruidPrimeGlyph_GlyphOfMoonfire) { | ||
| druid.AddStaticMod(core.SpellModConfig{ | ||
| ClassMask: DruidSpellMoonfireDoT | DruidSpellSunfireDoT, | ||
| FloatValue: 0.2, | ||
| Kind: core.SpellMod_DamageDone_Flat, | ||
| }) | ||
| } | ||
|
|
||
| if druid.HasPrimeGlyph(proto.DruidPrimeGlyph_GlyphOfInsectSwarm) { | ||
| druid.AddStaticMod(core.SpellModConfig{ | ||
| ClassMask: DruidSpellInsectSwarm, | ||
| FloatValue: 0.3, | ||
| Kind: core.SpellMod_DamageDone_Flat, | ||
| }) | ||
| } | ||
|
|
||
| if druid.HasPrimeGlyph(proto.DruidPrimeGlyph_GlyphOfWrath) { | ||
| druid.AddStaticMod(core.SpellModConfig{ | ||
| ClassMask: DruidSpellWrath, | ||
| FloatValue: 0.1, | ||
| Kind: core.SpellMod_DamageDone_Flat, | ||
| }) | ||
| } | ||
|
|
||
| if druid.HasMajorGlyph(proto.DruidMajorGlyph_GlyphOfStarfall) { | ||
| druid.AddStaticMod(core.SpellModConfig{ | ||
| ClassMask: DruidSpellStarfall, | ||
| Kind: core.SpellMod_Cooldown_Flat, | ||
| TimeValue: time.Second * -30, | ||
| }) | ||
| } | ||
|
|
||
| if druid.HasMajorGlyph(proto.DruidMajorGlyph_GlyphOfFocus) { | ||
| druid.AddStaticMod(core.SpellModConfig{ | ||
| ClassMask: DruidSpellStarfall, | ||
| Kind: core.SpellMod_DamageDone_Flat, | ||
| FloatValue: 0.1, | ||
| }) | ||
|
|
||
| // range mod? | ||
| } | ||
|
|
||
| if druid.HasPrimeGlyph(proto.DruidPrimeGlyph_GlyphOfStarsurge) { | ||
| druid.RegisterAura(core.Aura{ | ||
| ActionID: core.ActionID{SpellID: 62971}, | ||
| Label: "Glyph of Starsurge", | ||
| Duration: core.NeverExpires, | ||
| OnReset: func(aura *core.Aura, sim *core.Simulation) { | ||
| aura.Activate(sim) | ||
| }, | ||
|
|
||
| OnSpellHitDealt: func(aura *core.Aura, sim *core.Simulation, spell *core.Spell, result *core.SpellResult) { | ||
| if spell.ClassSpellMask == DruidSpellStarsurge && !druid.Starfall.CD.IsReady(sim) { | ||
| druid.Starfall.CD.Reduce(time.Second * 5) | ||
| } | ||
| }, | ||
| }) | ||
| } | ||
| } | ||
| func (druid *Druid) ApplyGlyphs() {} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.