# Increases Stats when skills raise

**URL:** https://discourse.cataclysmdda.org/t/increases-stats-when-skills-raise/9773
**Category:** The Lab
**Created:** [June 9, 2015, 7:53pm UTC](https://discourse.cataclysmdda.org/t/increases-stats-when-skills-raise/9773 "2015-06-09T19:53:47Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![DeNarr](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@DeNarr](https://discourse.cataclysmdda.org/u/DeNarr)
#### Post date: [June 11, 2015, 6:17pm UTC](https://discourse.cataclysmdda.org/t/increases-stats-when-skills-raise/9773/10 "2015-06-11T18:17:54Z")

</div>

[quote=“joxer, post:9, topic:9773”]I’m no programmer [size=7pt]so pardon me for cluttering the thread[/size]  
but if that’s truly the case i could see how sleeping or resting would call upon this function without much intrusion.

I’m actually quite interested in this mechanic, however i’d like to inquire a little about progression

[spoiler]  
a quote from a discussion for example, link provided

> [@Skill/Leveling rebalance feedback thread](https://discourse.cataclysmdda.org/t/skill-leveling-rebalance-feedback-thread/9237/21):
>
> Also, you need more perception to keep improving skills with inaccurate weapons.

Wouldn’t the ability to increase stats underline countermeasures described in that thread?[/quote]

For your first part, the problem isn’t trying to find a good condition that can call on this, the problem is how to get the lua code to be called when performing that condition. (I’ve done this already when modifying the source code, just trying to get it to work with the mod format)

For the second part, it would actually work quite well. As you use guns more, you perception increases, allowing you to use less accurate guns while still increasing your skill. As opposed to never being able to use less accurate guns to raise skill, if you didn’t get your per really high to start.

---

_[View the full topic](https://discourse.cataclysmdda.org/t/increases-stats-when-skills-raise/9773)._
