Skip to content
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

Rewrite Golemagg and fix 'Golemagg's Trust' #2835

Merged
merged 3 commits into from
Dec 20, 2024

Conversation

schell244
Copy link
Contributor

@schell244 schell244 commented Nov 17, 2024

🍰 Pullrequest

Some fixes I've made for the RaspyWoW project.
Update: removed unverified changes.

Implemented missing handling for spells:

  • Moss Covered Feet
  • Golemagg's Trust
  • Bethor's Potion

Fixed implementation of spell:

  • Mark of Frost

Script of Golemagg is fully rewritten, with Golemagg's Trust now being implemented and also added the missing leash handling for his adds.

30 yards buff reach: wowhead
100 yards leash distance: Azerothcore

Proof

  • None

How2Test

  • None

Todo / Checklist

  • spell timers?
  • aura 18943 correct?


-- Moss Covered Feet - add SPELL_ATTR_EX_AURA_UNIQUE
INSERT INTO `spell_mod` (`Id`, `procChance`, `procFlags`, `procCharges`, `DurationIndex`, `Category`, `CastingTimeIndex`, `StackAmount`, `SpellIconID`, `activeIconID`, `manaCost`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `Custom`, `InterruptFlags`, `AuraInterruptFlags`, `ChannelInterruptFlags`, `Dispel`, `Stances`, `StancesNot`, `SpellVisual`, `ManaCostPercentage`, `StartRecoveryCategory`, `StartRecoveryTime`, `MaxAffectedTargets`, `MaxTargetLevel`, `DmgClass`, `rangeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `SpellFamilyName`, `SpellFamilyFlags`, `Mechanic`, `EquippedItemClass`, `Comment`) VALUES
(6870, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 67110928, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 'Moss Covered Feet - Add unique aura flag');
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Without this modification, the spell can be applied multiple times to a player. I have no proof that this is correct - I just remember it not being applied more than once. I can remove this line if that’s preferable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

#1223 (comment) - maybe this can be achieved differently, but currently I don't have any other idea except adding the unique flag.

if (Unit* caster = GetCaster())
{
// Azuregos
// Only cast Mark of Frost on targets nearby when engaged
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this blizzlike?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I also have no poof for this - needs to be confirmed.

@0blu 0blu added CPP A issue / PR which references CPP code SQL A issue / PR which references SQL code labels Nov 20, 2024
@schell244 schell244 changed the title Implement some missing spells, rewrite Golemagg and fix 'Golemagg's Trust' Rewrite Golemagg and fix 'Golemagg's Trust' Nov 22, 2024
@ratkosrb ratkosrb merged commit 8ae2cca into vmangos:development Dec 20, 2024
4 checks passed
@schell244 schell244 deleted the raspywow_spell_fixes branch December 20, 2024 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CPP A issue / PR which references CPP code SQL A issue / PR which references SQL code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants