lua:ch:reward
This is an old revision of the document!
Give exp, qp, gold, or faith reward.
Syntax1:
reward(argument[string])
Where argument has the format: '[victim] [exp|qp|gold|faith] [amount]'
Accepts format arguments.
Example:
mob:reward("%s exp 300", ch.name)
Syntax 2 (preferred):
reward( victim[CH], type[string], amount[number])
Does not accept format arguments.
Examples:
mob:reward(ch, "exp", 300)
lua/ch/reward.1454917049.txt.gz · Last modified: 2016/02/08 07:37 by vodur