Bug _clubEmTimeUsed not being counted

b bandit

Member
I wrote a script to use club back in time but it seems like the property for _clubEmTimeUsed is not working.

It seems to start at 0 and then no matter how many times "Club 'Em Back in Time" is used it stays at 0
This is the script that I am using.

if (get_property("_clubEmTimeUsed").to_int() < 5){
cli_execute("equip 1 legendary seal-clubbing club");
print("Club back in time used this many times: " + get_property("_clubEmTimeUsed").to_int());
}

It prints out zero uses even after I have used the skill successfully within my combat script.

Could be that I just wrote something wrong in the script I guess.. but I don't see what.
 
This works just fine for me in my scripts.

Code:
[1] The Outskirts of Cobb's Knob
Encounter: Knob Goblin Barbecue Team
Round 0: ckb1 wins initiative!
Round 1: ckb1 casts SEA *DENT: TALK TO SOME FISH!
Round 2: your opponent becomes some fish!
Encounter: fish
Round 2: ckb1 casts SAUCY SALVE!
Round 2: You gain 13 hit points
Round 2: ckb1 casts CLUB 'EM BACK IN TIME!
Round 3: ckb1 wins the fight!
After Battle: ck-Beak's completely nonexpressive face does something that you've chosen to interpret as a smile. (+8 Stats)
After Battle: You gain 4 Muscleboundness
After Battle: You gain 26 Enchantedness
You gain some Mysticality points!
You gain a Level!
After Battle: You gain 5 Cheek
You gain a Moxie point!
After Battle: ck-Bank falls asleep on his comfy couch. You find a comfy couch of your own to nap on for a while.
You acquire an effect: Good Night's Sleep (10)
After Battle: ck-Bank gains an experience point after having his need met.
After Battle: You gain 23 Mana Points
Preference _clubEmTimeUsed changed from 0 to 1
You gain 3 Soulsauce
This combat did not cost a turn
 
Back
Top