EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Submission: AA Ding Message (https://www.eqemulator.org/forums/showthread.php?t=26299)

seveianrex 09-22-2008 08:55 AM

Submission: AA Ding Message
 
Hello... this is my first change, and although it is a small one, it's always bothered me since I started playing on EQEmu! The way it is now, the message that you get ALWAYS says "You have gained an ability point! You now have 1 points" regardless of how many AA's you have banked.

In the zone server, in exp.cpp, line 196 reads:
Code:

Message_StringID(15,GAIN_ABILITY_POINT,ConvertArray(gained, val1),"(s)");
And should instead read:
Code:

Message_StringID(15,GAIN_ABILITY_POINT,ConvertArray(m_pp.aapoints, val1),"(s)");
This has been tested.


Thx =)

So_1337 09-22-2008 09:36 AM

Yes, you're right. It seems that the message displays how many AAs you gained at that moment rather than how many are banked, which is what it should be telling you. I never paid it any attention until you just mentioned it, haha.

Great work =)

trevius 09-23-2008 07:47 AM

Nice fix! I tested and confirmed that it works as intended and accurately. It now reports your total unspent AA points instead of just saying 1 point every time.


All times are GMT -4. The time now is 08:49 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.