Quantcast

Allow SpellInfo to specify a function to compute Damage().

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-07-05 07:02:40
Author local date 2013-07-05 07:02:40 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-07-05 07:02:40
Committer local date 2013-07-05 07:02:40 +0000
Commit b79b942304619e7fb39176030931ca319c7eed97
Tree 59e6619007e7f0cd7ae2917ce4f69094abf4e1ff
Parent 2e989620356909eea9c7ddfa7313971d90141ab8
Allow SpellInfo to specify a function to compute Damage().

A SpellInfo() declaration can include a "damage=FunctionName" parameter,
where FunctionName is an Ovale script function defined using AddFunction
that is used directly by the Damage() script condition to compute the
estimated damage of a spell.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@935 d5049fe3-3747-40f7-a4b5-f36d6801af5f