As it apparently works, I'm sure my confusion is due to some misunderstanding on my part. However, out of curiosity, I would like to clear this up: When reading list-effects.h I noticed that, just as I would expect from
that the value in the args column usually matches up to the number of c-format-specifiers (%s, %d) in the description column. But not for some effects, where args was 2, but there were only one or zero %-signs in the description:
So, what is the actual meaning of the args column?
Code:
* args: how many arguments the description takes […] * description: text of description
Code:
2 MON_HEAL_HP 2 % CURE 2 % RESTORE_STAT 2 % DRAIN_STAT 2 % LOSE_RANDOM_STAT 2 % GAIN_STAT 2 % PROJECT_LOS 2 % PROJECT_LOS_AWARE
Comment