Bug Accessing $skill[].dailylimit can update preferences erroneously

heeheehee

Developer
Staff member
I saw two cases from a brief skim of the code: Summon Annoyances and Calculate the Universe.

In particular, it looks like UseSkillRequest.getMaximumCast() would only be called in the process of casting an owned skill, which might not be a totally fair assumption even ignoring the access via proxy record value.

Bug in action:
> ash have_skill($skill[calculate the universe])

Returned: false

> get skillLevel144

0

> ash $skill[calculate the universe]

Returned: Calculate the Universe
level => -1
image => abacus.gif
traincost => 0
class => none
libram => false
passive => false
buff => false
combat => false
song => false
expression => false
walk => false
summon => true
permable => true
dailylimit => 1
timescast => 0

> get skillLevel144

1
 

lostcalpolydude

Developer
Staff member
It should just be an issue with that one skill, and an unexpected result of viewing the skill description when you don't have the skill I guess.
 

lostcalpolydude

Developer
Staff member
When I initially read this, I thought it was referring to Summon Annoyance, somehow...

This looks like a weird situation to fix generally.
 
Top