zarqon
Well-known member
All of the daily-limited summoning skills have tracking properties:
This is lovely. We are on our own for tracking daily-limited buffs, however, such as Inigo's, Managerial Manipulation, Hobopolis AT buffs, etc. At first I was thinking to request a bunch more properties, like
etc.
But then I thought a more general solution using proxy records would be not only possible, but TOTALLY AWESOME. I'd like to suggest adding two more fields to the skills record:
int timescast
For skills which mafia tracks in properties, this number would mean "times cast today". For skills which mafia does not track in properties, that would mean "times cast this session."
I'm not looking for this to be super elegant or complicated: no parsing for success/failure necessary -- the number could simply be incremented when the form is submitted, up to the maximum if there is one. (And if this is tracked, mafia could save server hits by not submitting casts beyond the maximum.) However, mafia verifying its numbers when visiting skills.php (or the fireplace) would be a nice touch.
int dailylimit
The maximum number of times you can cast the skill per day. Default -1 for skills with no limit. The only issues here are 1) some of the summoning skills give either 3 or 5 summons, and 2) smiles vary depending on how many Golden Mr. A's you have.
If mafia were also to include combat skills in this -- even tentatively -- out-of-combat scripts would have a kind of access to the player's playstyle; they could look at which combat skills were being used to make some educated guesses about the combat strategy / CCS of the player, and act accordingly. But that might be enough of an extension to this request that it's probably a second feature request which I'll make if the above bit doesn't get rejected.
- cocktailSummons
- noodleSummons
- reagentSummons
- prismaticSummons
- grimoire1Summons
- grimoire2Summons
- grimoire3Summons
- tomeSummons
- _candySummons
- _lunchBreak
This is lovely. We are on our own for tracking daily-limited buffs, however, such as Inigo's, Managerial Manipulation, Hobopolis AT buffs, etc. At first I was thinking to request a bunch more properties, like
- _employeeManipulated
- _goldenSmiles
- _inigosCast
- _thingfinderCast
etc.
But then I thought a more general solution using proxy records would be not only possible, but TOTALLY AWESOME. I'd like to suggest adding two more fields to the skills record:
int timescast
For skills which mafia tracks in properties, this number would mean "times cast today". For skills which mafia does not track in properties, that would mean "times cast this session."
I'm not looking for this to be super elegant or complicated: no parsing for success/failure necessary -- the number could simply be incremented when the form is submitted, up to the maximum if there is one. (And if this is tracked, mafia could save server hits by not submitting casts beyond the maximum.) However, mafia verifying its numbers when visiting skills.php (or the fireplace) would be a nice touch.
int dailylimit
The maximum number of times you can cast the skill per day. Default -1 for skills with no limit. The only issues here are 1) some of the summoning skills give either 3 or 5 summons, and 2) smiles vary depending on how many Golden Mr. A's you have.
If mafia were also to include combat skills in this -- even tentatively -- out-of-combat scripts would have a kind of access to the player's playstyle; they could look at which combat skills were being used to make some educated guesses about the combat strategy / CCS of the player, and act accordingly. But that might be enough of an extension to this request that it's probably a second feature request which I'll make if the above bit doesn't get rejected.