• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

TrinityCore-Multi How to reduce base value of spell

Rochet2

Moderator / Eluna Dev
You can try make corrections in SpellMgr.cpp

The function SpellMgr::LoadSpellInfoCorrections is run after loading the data from DBC. Just add a new case for your spell.
 

blackmetal

Exalted Member
Thanks Rochet2. I'm trying this:

Code:
				case 8004: // Healing Surge
					spellInfo->Effects[0].BasePoints = -200;
					break;

It isn't working :D
 
Last edited:

Rochet2

Moderator / Eluna Dev
Are you using 6.x? Btw. It should be 200, not -200.
Not sure how it works on 6.x though the same approach should probably work.

It isnt working = you tested it and it still heals the same amount?
Or you looked at the tooltip and it still says the old amount?
Or you tested and it heals some new amount that is completely wrong?
 
Last edited:

blackmetal

Exalted Member
I'm using 5.x :D
And just tried
Code:
			case 8004: // Healing Surge
					spellInfo->Effects[0].BasePoints = 200;
					break;

the new healing amount still the same before i insert new code. :determination:
 
Top