From e019985e81aa783c126ad229e208247658d6b02a Mon Sep 17 00:00:00 2001 From: Peter Hatch Date: Sun, 23 Mar 2014 15:29:47 -0700 Subject: [PATCH] Gain the class bonus when using event equipment that belongs to your class. --- script/index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/index.coffee b/script/index.coffee index c2f8aaa6ec..d330130909 100644 --- a/script/index.coffee +++ b/script/index.coffee @@ -1327,7 +1327,7 @@ api.wrap = (user, main=true) -> if ~path.indexOf('items.gear') # get the gear stat, and multiply it by 1.5 if it's class-gear item = content.gear.flat[val] - (+item?[stat] or 0) * (if item?.klass is user.stats.class then 1.5 else 1) + (+item?[stat] or 0) * (if item?.klass is user.stats.class || item?.specialClass is user.stats.class then 1.5 else 1) else +val[stat] or 0 , 0