Bug - Fixed turns_per_cast for some skills

ckb

Minion
Staff member
It seems like the turns_per_cast() is wrong for some skills (maybe all?). I am getting an unaccounted for +5 somewhere.

example:
> ash turns_per_cast($skill[Frigidalmatian])

Returned: 6

using r13443
 

Veracity

Developer
Staff member
Do you have a Jewel-eyed Wizard Hat? Looks to me like we're applying that to all skills, not just to buffs.
 

ckb

Minion
Staff member
I do have a JEW hat. Though I stuck it in my closet with no changes to the turns numbers. I would not expect it to work from my closet.

Code:
> closet put jewel wizard hat

Placing items into closet...
Requests complete.

> inv refresh

Updating inventory...
Requests complete.

> ash turns_per_cast($skill[The Moxious Madrigal])

Returned: 15

> cast 1 madrigal

Casting The Moxious Madrigal 1 times...
You acquire an effect: The Moxious Madrigal (duration: 10 Adventures)
The Moxious Madrigal was successfully cast.

then taking the hat back:
Code:
> closet take jewel wizard hat

Removing items from closet...
You acquire an item: jewel-eyed wizard hat
Requests complete.

> inv refresh

Updating inventory...
Requests complete.

> ash turns_per_cast($skill[The Moxious Madrigal])

Returned: 15

> cast 1 madrigal

Casting The Moxious Madrigal 1 times...
You acquire an effect: The Moxious Madrigal (duration: 15 Adventures)
The Moxious Madrigal was successfully cast.
 
Last edited:
Top