i'm trying to build a module to add combat stats as a reward.
i have tried:
$user = LoadCombatStats($userId);
$user['max_damage']->value+=8; (fail)
$user['max_damage'] + 8; (fail)
i notice combat stats is not a database value. More like a database value after an operator end result.
Can you tell me what is the best step to achieve this process?
how do i add Combat stats?
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: how do i add Combat stats?
Those are just in the combat module. Check out when / where I set them up and you will be able to modify them. It's in the lib file of the combat BTW.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
Re: how do i add Combat stats?
Thanks again. Yeah, I checked it out already. Those value are not store value. So I decided to use the database stats to influence the combat stats instead. It works great!