vmangos / core

Progressive Vanilla Core aimed at all versions from 1.2 to 1.12
GNU General Public License v2.0
692 stars 492 forks source link

forsaken skills #2799

Closed Gamemechanicwow closed 1 month ago

Gamemechanicwow commented 1 month ago

🍰 Pullrequest

Allows spell 7054 forsaken-skills to proc 7053 forsaken-skill-shadow

Proof

Issues

A different approach of fixing this, could be by using PickRandomValue().

How2Test

Todo / Checklist

ratkosrb commented 1 month ago

Why is there a log statement in this function?

Gamemechanicwow commented 1 month ago

For no apparent reason. Let's get rid of it.

ratkosrb commented 1 month ago

Same spell is used in Aura::TriggerSpell btw.

ratkosrb commented 1 month ago

Can you move the variable declaration to the proper scope btw, no idea why its declared outside the switch case.

0blu commented 1 month ago

Maybe adding a comment to those ifs, so it the future someone still knows why this spellid is not valid and why we need to skip this number.