# Stats issues - help?

**URL:** <https://forum.choiceofgames.com/t/stats-issues-help/2157>\
**Category:** ChoiceScript Help\
**Created:** [February 24, 2014, 8:08am UTC](https://forum.choiceofgames.com/t/stats-issues-help/2157 "2014-02-24T08:08:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thearmadasduchess](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/thearmadasduchess/32/1019_2.png) [@thearmadasduchess](https://forum.choiceofgames.com/u/thearmadasduchess)\
**Post date:** [February 24, 2014, 8:08am UTC](https://forum.choiceofgames.com/t/stats-issues-help/2157/1 "2014-02-24T08:08:19Z")

</div>

Hey there! I am the designated programmer for a game that my friends and I have recently begun work on. Today I began my research and have already gotten through a lot of the ChoiceScript Wiki, but one problem keeps cropping up: stats. You see, I made a small (by small I mean probably ten lines of text in total) game just to test out my skills and play around with it.

I have two opposing ‘standings’, as you will, and the game asks which one the reader is, and they answer. I’ve got it to the point now where the standings are on the stats screen, and have a bar… but both are at 50, and I don’t know how to change it. If, say, “P” is chosen by the reader, how do I make the value for that go up? And what about for “R”? Should I make it a boolean instead of a number value?

I feel as if once this little hiccup is solved, I can begin work on our actual game. If you need more info please let me know but I’d appreciate all the help I can get! Thank you!

---

<div class="post-metadata">

**Author:** ![Samuel\_H\_Young](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/samuel_h_young/32/268356_2.png) [@Samuel\_H\_Young](https://forum.choiceofgames.com/u/Samuel_H_Young)\
**Post date:** [February 24, 2014, 8:54am UTC](https://forum.choiceofgames.com/t/stats-issues-help/2157/2 "2014-02-24T08:54:48Z")

</div>

Say the “real” stat was smart, and it’s opposed value was dumb. To make it so that “smart” is bigger than dumb, you simply have to do this:  
\*set smart %+ 5

---

<div class="post-metadata">

**Author:** ![aetheria](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aetheria](https://forum.choiceofgames.com/u/aetheria)\
**Post date:** [February 24, 2014, 5:41pm UTC](https://forum.choiceofgames.com/t/stats-issues-help/2157/3 "2014-02-24T17:41:08Z")

</div>

It might help to have a look at how “Choice of the Dragon” handles stat changes in its first scene: [http://www.choiceofgames.com/dragon/scenes/startup.txt](http://www.choiceofgames.com/dragon/scenes/startup.txt)

Also try reading the [wiki page on arithmetic operators](http://choicescriptdev.wikia.com/wiki/Arithmetic_operators) (the fairmath section explains more about what’s happening with CotD’s opposed-pair stat changes).
