data.addColumn({type: 'string', role: 'tooltip'});
data.addColumn('number', 'Devastator');
data.addColumn({type: 'string', role: 'tooltip'});
+ data.addColumn('number', 'Arc');
+ data.addColumn({type: 'string', role: 'tooltip'});
var flattened = flatten(weaponData);
var hagarTT = damageTooltip("hagar", hagar);
var rl = damageValue(flattened[game_id], "devastator");
var rlTT = damageTooltip("devastator", rl);
+ var arc = damageValue(flattened[game_id], "arc");
+ var arcTT = damageTooltip("arc", arc);
data.addRow([
game_id.toString(),
electro, electroTT,
crylink, crylinkTT,
hagar, hagarTT,
- rl, rlTT
+ rl, rlTT,
+ arc, arcTT
]);
}
5: { color: weaponColors["electro"] },
6: { color: weaponColors["crylink"] },
7: { color: weaponColors["hagar"] },
- 8: { color: weaponColors["devastator"] }
+ 8: { color: weaponColors["devastator"] },
+ 9: { color: weaponColors["arc"] }
}
};