View Single Post
  #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