Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-2012, 09:15 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default 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!
Reply With Quote
  #2  
Old 10-20-2012, 11:09 PM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

http://www.eqemulator.net/wiki/wikka...a=QuestObjects

For example.

$client->GetSTR()
Reply With Quote
  #3  
Old 10-20-2012, 11:13 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:16 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3