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 Posts: 14,796Member, Friendly ✭✭✭✭✭
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

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

Buildings :

*HPCore
-gives 0.1 HP per LEVEL
-named
-represents 1 HPREGEN
-abstract
-picture :
-starts at 1

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

*Resistance
-named CombatResistance
-abstract
-gives 1 HP per Defense
-starts at 1

*Monster1Damage
-named Monster1DMG
-abstract
-starts at 1

*Monster1HP
-named Monster 1 HP
-abstract
-starts at 5

*Ticker
-named Ticker
-abstract
-gives 1 tick per second


Sign In or Register to comment.