Quick question on pulling player stats.
I am writing a simple quest script that pulls player stats, looks at them and then resets the stats to something else.
from what I found to set the stats I can do: quest::setstat(int stat, int value) is this form correct: quest::setstat(1, 75); ??? where 1 is STR and 75 is value I am setting it to However I can't seem to find how to pull/read player stats? I see there is a function: $mob->ShowStats(Client* client) But I am not sure how to work with that. Thanks! |
|
ah thank you Kayen!
I kept searching for word "stats" no wonder I missed those. I suppose that: $client->GetSTR() - pulls current STR (items and buffs?) while $client->GetBaseSTR() - pulls the naked char STR? |
All times are GMT -4. The time now is 09:37 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.