Skip to content

Update new gems#2999

Merged
LocalIdentity merged 34 commits intodevfrom
add_new-gem-support
Jul 26, 2021
Merged

Update new gems#2999
LocalIdentity merged 34 commits intodevfrom
add_new-gem-support

Conversation

@LocalIdentity
Copy link
Copy Markdown
Contributor

Voltaxic Burst
Rage Vortex
Spectral Helix
Battlemage's Cry - Partial Support
Earthbreaker - Partial Support
Absolution
Manabond

LocalIdentity added 4 commits July 25, 2021 08:43
Defiance Banner
Voltaxic Burst
Rage Vortex
Spectral Helix
Battlemage's Cry - Partial Support
No support for global aeo buff as it doesn't work with totems atm. Need to find fix
@LocalIdentity LocalIdentity added the enhancement New feature, calculation, or mod label Jul 25, 2021
Copy link
Copy Markdown
Contributor

@PJacek PJacek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to check indentation. There is a few places where you used spaces instead of tabs

LocalIdentity and others added 12 commits July 26, 2021 04:25
* shield crush

* explosive concoction

* spectral helix

* Fix shield crush

Add overlapping wave
Move alternate quality parsing to skillstatmap

* Clean up Spectral Helix

* Clean up Explosive Concoction

* Remove tags

* Remove tags

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
Does not implement the attack speed based off of main skill
Also adds support for Void Sphere, Hydrosphere and Earthquake enchants
mod("MinionModifier", "LIST", { mod = mod("BleedChance", "BASE", nil, ModFlag.Attack) })
},
["non_reaper_minion_damage_+%_final"] = {
mod("MinionModifier", "LIST", { mod = mod("Damage", "MORE", nil) }, 0, 0, { type = "SkillName", skillName = "Summon Reaper", neg = true }, { type = "GlobalEffect", effectType = "Buff", unscalable = true }),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
mod("MinionModifier", "LIST", { mod = mod("Damage", "MORE", nil) }, 0, 0, { type = "SkillName", skillName = "Summon Reaper", neg = true }, { type = "GlobalEffect", effectType = "Buff", unscalable = true }),
mod("MinionModifier", "LIST", { mod = mod("Damage", "MORE", nil) }, 0, 0, { type = "SkillName", skillName = "Summon Reaper", neg = true }, { type = "GlobalEffect", effectType = "Buff", unscalable = true }),

modDB:NewMod("InfernalActive", "FLAG", true) -- Prevents effect from applying multiple times
elseif activeSkill.activeEffect.grantedEffect.name == "Battlemage's Cry" and not modDB:Flag(nil, "BattlemageActive") then
local battlemageSpellToAttack = activeSkill.skillModList:Sum("BASE", env.player.mainSkill.skillCfg, "BattlemageSpellIncreaseApplyToAttackPer5MP")
local battlemageSpellToAttackMax = m_floor(150 * buff_inc)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider refactoring this magic number to data.misc.

local battlemageSpellToAttack = activeSkill.skillModList:Sum("BASE", env.player.mainSkill.skillCfg, "BattlemageSpellIncreaseApplyToAttackPer5MP")
local battlemageSpellToAttackMax = m_floor(150 * buff_inc)
local battlemageCritChance = activeSkill.skillModList:Sum("BASE", env.player.mainSkill.skillCfg, "BattlemageCritChancePer5MP")
local battlemageCritChanceMax = m_floor(30 * buff_inc)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider refactoring this magic number to data.misc.

@LocalIdentity LocalIdentity merged commit 1ad118a into dev Jul 26, 2021
@LocalIdentity LocalIdentity deleted the add_new-gem-support branch July 26, 2021 04:40
@livejamie
Copy link
Copy Markdown

Thanks for all your hard work guys! Looking forward to Forbidden Rite. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, calculation, or mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants