오윤석

리부트 패시브 데미지 반영

...@@ -249,6 +249,13 @@ const analyzeStats = function(characterInfo, analysisEquipment) { ...@@ -249,6 +249,13 @@ const analyzeStats = function(characterInfo, analysisEquipment) {
249 const job = jobModel[characterInfo.character.job]; 249 const job = jobModel[characterInfo.character.job];
250 const jobDefault = jobModel.default; 250 const jobDefault = jobModel.default;
251 const weaponConst = require('../model/weapon')[analysisEquipment.weapon] || 1; 251 const weaponConst = require('../model/weapon')[analysisEquipment.weapon] || 1;
252 +
253 + let rebootDamage = 0;
254 + if (characterInfo.character.server.name.indexOf("리부트") == 0) {
255 + // 리부트, 리부트2 월드 반영
256 + rebootDamage = parseInt(characterInfo.character.level / 2);
257 + }
258 +
252 const stats = { 259 const stats = {
253 major: { 260 major: {
254 pure: 0, 261 pure: 0,
...@@ -262,7 +269,8 @@ const analyzeStats = function(characterInfo, analysisEquipment) { ...@@ -262,7 +269,8 @@ const analyzeStats = function(characterInfo, analysisEquipment) {
262 all: characterInfo.stats.damageHyper + 269 all: characterInfo.stats.damageHyper +
263 analysisEquipment.damagePercent + 270 analysisEquipment.damagePercent +
264 job.stats.passive.damage.all + 271 job.stats.passive.damage.all +
265 - jobDefault.stats.passive.damage.all, 272 + jobDefault.stats.passive.damage.all +
273 + rebootDamage,
266 boss: characterInfo.stats.bossAttackDamage 274 boss: characterInfo.stats.bossAttackDamage
267 }, 275 },
268 finalDamage: job.stats.passive.finalDamage, 276 finalDamage: job.stats.passive.finalDamage,
......