PDA

View Full Version : GoD: Bard Sing/Inst Mod AAs


demonstar55
02-15-2009, 07:44 AM
copy paste from the post I made on PEQ's forums:

Implementing Bard AAs: Improved Instrument Mastery, Improved Singing Mastery, and Echo of Taelosia

in zone/client_mods.cpp lines 1510 - 1514

if(spells[spell_id].skill == SINGING)
effectmod += 2*GetAA(aaSingingMastery);
else
effectmod += 2*GetAA(aaInstrumentMastery);
effectmod += 2*GetAA(aaAyonaesTutelage); //singing & instruments


change it to

if(spells[spell_id].skill == SINGING)
{
effectmod += 2*GetAA(aaSingingMastery);
effectmod += 2*GetAA(aaImprovedSingingMastery);
}
else
{
effectmod += 2*GetAA(aaInstrumentMastery);
effectmod += 2*GetAA(aaImprovedInstrumentMastery);
}
effectmod += 2*GetAA(aaAyonaesTutelage); //singing & instruments
effectmod += 2*GetAA(aaEchoofTaelosia); //singing & instruments


I just did 2*GetAA because that's what all the other AAs had, tested and worked on my server

cavedude
02-15-2009, 12:40 PM
I was going to take a look at this today and commit it if it was OK.