lua:ch:reward
Give exp, qp, gold, or faith reward.
Syntax1:
CH: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):
CH:reward( victim<CH>, type<string>, amount<number> )
Does not accept format arguments.
Examples:
mob:reward(ch, "exp", 300)
lua/ch/reward.txt · Last modified: 2017/02/20 07:47 by vodur