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.

Variables in effect "on tick" doesn't work

mtbmtmtbmt Member Posts: 12
I tried this code:

Buttons
*HandAttack
name:Tap here to attack the BOSS!
desc: Damage per Attack
on click:
do attack with Strength
end
on tick:
$damage = 100
yield $damage DPS
end


Resource here is DPS. But it doesn't yield 100 DPS every minute passed.

Is this bug or retricted by the developer?

Comments

  • ViniVini Member Posts: 3,430 ✭✭✭✭✭
    First and foremost, this is CC Bug Reports. You'll want to move it to IGM Suggestions & Bug Reports, which you can do so editing your post with the gear on the top right side of it.

    Now, about your code, is that an "on tick" effect for a button? I admittedly haven't looked too deep into the manual, but I don't think buttons work with "on tick" effects.

  • mtbmtmtbmt Member Posts: 12
    Vini said:

    First and foremost, this is CC Bug Reports. You'll want to move it to IGM Suggestions & Bug Reports, which you can do so editing your post with the gear on the top right side of it.

    Now, about your code, is that an "on tick" effect for a button? I admittedly haven't looked too deep into the manual, but I don't think buttons work with "on tick" effects.

    Thanks for your support! I tried this code "on tick" effect on a Building but the same problem keeps occurring.
Sign In or Register to comment.