Adding "Spent" aa.. here is some code
Anyways.. I tried to write some code to "add" to the "spent" aa pool using the quest manager..and...I tried this, but it doesn't seem to work..
perl_client.cpp add this in somewhere: i put it at line 3621 Code:
XS(XS_Client_AddSpentAAPoints); $client->AddSpentAAPoints(2); in a quest script, and it doesn't seem to work., the quest manager seems to fail at that point. any ideas? |
nevermind
i didn't prototype it testing now |
IIRC the spent AA points are recalculated from the AAs the player actually has, each time the player profile is saved to the database, so updating them like this will only have a temporary effect.
|
ok, now it "Works" but it doesn't add anything to the spent AA; The quest manager however seems to like the function, it doesn't balk at me anymore.
any ideas? |
this is exactly what i did:
use with a command like : $client->AddSpentAAPoints(2); perl_client.cpp insert at line 4148 Code:
newXSproto(strcpy(buf, "AddSpentAAPoints"), XS_Client_AddSpentAAPoints, file, "$$"); Code:
XS(XS_Client_AddSpentAAPoints); |
ahh just saw derisions post.. which somehow appeared before my 2nd and 3rd posts.. ok i see..
well that "should" be changed eventually if we are going to implement expendable AA, as on live when expendable AA are used, it increased the "Spent" aa ad infinitum as long as you keep buying the same expendable AAs over and over. |
could you explain what does "expendable" AAs actualy and do, where they come from and how the differ from regular AA?
I have read your another post on the subject but it still a total mistery to me. |
Expendable AA were AA that added a short duration Effect that would boost damage in some fashion, or increase hit points, or add a rune effect for a short duration. (I don't have a list handy)
they added them in DoD so that people who were maxed out could still adventure and make use of AA; and over the course of a year I noticed that they AA I was spending on expendables was being "counted" as spent aa, which was cool, a monk friend of mine had over 4k AA spent, and a certain hacker i know of had like 7k AA spent from farming stuff with his monk and abusing the damage AAs |
All times are GMT -4. The time now is 02:31 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.