Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please read the forum rules before posting.

Check if you are posting in the correct category.

The Off Topic section is not meant for discussing Cookie Clicker.

How to make a resource cap?

CalamityCalamity Member, Friendly Posts: 15,092 ✭✭✭✭✭
edited November 2016 in Help
In the game I'm making I want to limit the HP at a certain amount so you can't heal past the value of X which is affected by the level value and acts as the limit.

Related resources and such

-represents 1 Monster1Exchange
-visible at 1 Field
-named Bunny
-picture :

Buildings :

-gives 0.1 HP per LEVEL
-represents 1 HPREGEN
-picture :
-starts at 1

-named Exchange
-takes 1 HP per 2.5 Tick
-gives 1 HP per Defense
-gives 1 EXP per Monster1HP

-named CombatResistance
-gives 1 HP per Defense
-starts at 1

-named Monster1DMG
-starts at 1

-named Monster 1 HP
-starts at 5

-named Ticker
-gives 1 tick per second

Sign In or Register to comment.