-
Notifications
You must be signed in to change notification settings - Fork 26
Feral Tweaks #96
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
Feral Tweaks #96
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
1fcea54
Added Rune of Metamorphosis
xorrbit f3792c5
Switched preset P2Bis bracers to Wristguards of Stability
xorrbit 6c93085
Removed polearms from druid weapons
xorrbit 03cd158
Removed imbues that don't affect feral from the settings ui
xorrbit 020e68a
Updated APL
xorrbit 1b2921d
Added Consecrated Sharpening Stone and Blessed Wizard Oil
xorrbit 979754f
Updated preset: enable chili, gift of arthas, and fort
xorrbit 5c336d2
Updated presets to have no agi totem
xorrbit 4772b4a
Implemented Symbols of Unendying Life set bonus
xorrbit 8fa5e5f
Fixex Rune of Metamorphosis to not have a shared cooldown
xorrbit 2b8fbb0
Updated known issues.
xorrbit addda63
Cleaned up oils/stones/ feral restriction
xorrbit 8f694a5
Fixed APL to use Rune of Metamorphosis when appropriate
xorrbit e8f61c4
Fixed appropriate weapon imbues to not work for ferals.
xorrbit cc34247
Added Phase 3 BIS gear set.
xorrbit af16ff6
Fixed mana oils.
xorrbit 2cfa48d
Set external faerie fire to false by default as it's usually the fera…
xorrbit 1bde15b
Updated druid tests
xorrbit 7be08dd
Fix P3BiS gear to not use +25 agi which isn't available until p5
xorrbit 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
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,15 +1,18 @@ | ||
| package druid | ||
|
|
||
| import ( | ||
| "time" | ||
|
|
||
| "github.com/wowsims/classic/sim/core" | ||
| ) | ||
|
|
||
| // Totem Item IDs | ||
| // Item IDs | ||
| const ( | ||
| WolfsheadHelm = 8345 | ||
| IdolOfFerocity = 22397 | ||
| IdolOfTheMoon = 23197 | ||
| IdolOfBrutality = 23198 | ||
| WolfsheadHelm = 8345 | ||
| IdolOfFerocity = 22397 | ||
| IdolOfTheMoon = 23197 | ||
| IdolOfBrutality = 23198 | ||
| RuneOfMetamorphosis = 19340 | ||
| ) | ||
|
|
||
| func init() { | ||
|
|
@@ -44,5 +47,50 @@ func init() { | |
| // Implemented in maul.go and swipe.go | ||
| }) | ||
|
|
||
| // https://www.wowhead.com/classic/item=19340/rune-of-metamorphosis | ||
| // Use: Decreases the mana cost of all Druid shapeshifting forms by 100% for 20 sec. (5 Min Cooldown) | ||
| core.NewItemEffect(RuneOfMetamorphosis, func(agent core.Agent) { | ||
| druid := agent.(DruidAgent).GetDruid() | ||
|
|
||
| actionID := core.ActionID{SpellID: 23724} | ||
| duration := time.Second * 20 | ||
| cooldown := time.Minute * 5 | ||
|
|
||
| buffAura := druid.GetOrRegisterAura(core.Aura{ | ||
| ActionID: actionID, | ||
| Label: "Metamorphosis Rune", | ||
| Duration: duration, | ||
| OnGain: func(aura *core.Aura, sim *core.Simulation) { | ||
| druid.CatForm.Cost.Multiplier -= 100 | ||
| //druid.BearForm.Cost.Multiplier -= 100 | ||
| //druid.MoonkinForm.Cost.Multiplier -= 100 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you're running into an error with Moonkin Form, you may need to add |
||
| }, | ||
| OnExpire: func(aura *core.Aura, sim *core.Simulation) { | ||
| druid.CatForm.Cost.Multiplier += 100 | ||
| //druid.BearForm.Cost.Multiplier += 100 | ||
| //druid.MoonkinForm.Cost.Multiplier += 100 | ||
| }, | ||
| }) | ||
|
|
||
| spell := druid.GetOrRegisterSpell(core.SpellConfig{ | ||
| ActionID: actionID, | ||
| Flags: core.SpellFlagNoOnCastComplete | core.SpellFlagOffensiveEquipment, | ||
| Cast: core.CastConfig{ | ||
| CD: core.Cooldown{ | ||
| Timer: druid.NewTimer(), | ||
| Duration: cooldown, | ||
| }, | ||
| }, | ||
| ApplyEffects: func(sim *core.Simulation, target *core.Unit, spell *core.Spell) { | ||
| buffAura.Activate(sim) | ||
| }, | ||
| }) | ||
|
|
||
| druid.AddMajorCooldown(core.MajorCooldown{ | ||
| Spell: spell, | ||
| Type: core.CooldownTypeDPS, | ||
| }) | ||
| }) | ||
|
|
||
| core.AddEffectsToTest = true | ||
| } | ||
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
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.