Release Healer Man 0.1.6
This commit is contained in:
@@ -162,6 +162,7 @@ function componentFor(id) {
|
||||
};
|
||||
const attack = {
|
||||
type: int32(buffers.magicObject, offset + 0x194),
|
||||
calculationType: int32(buffers.magicObject, offset + 0x2d4),
|
||||
damagePower: cleanFloat(float32(buffers.magicObject, offset + 0x198)),
|
||||
damagePowerSkillLevelArg: cleanFloat(float32(buffers.magicObject, offset + 0x19c)),
|
||||
fixedValue: cleanFloat(float32(buffers.magicObject, offset + 0x1a0)),
|
||||
@@ -297,7 +298,9 @@ function sourceSpell(spellId, classIndex) {
|
||||
})).filter((cost) => cost.type > 0 && cost.value !== 0 && ![9, 10, 11, 12, 13, 14, 15].includes(cost.type));
|
||||
const costs = costRows.map((cost) => ({
|
||||
resource: resourceForCostType(cost.type, classIndex),
|
||||
amount: Math.max(0, Math.min(100, Math.abs(cost.value))),
|
||||
amount: Math.max(0, cost.type === 3 || cost.type === 4
|
||||
? Math.min(100, Math.abs(cost.value))
|
||||
: Math.abs(cost.value)),
|
||||
percentage: cost.type === 3 || cost.type === 4,
|
||||
}));
|
||||
const attackDistance = int32(buffers.magicCollect, offset + 0xbc);
|
||||
|
||||
Reference in New Issue
Block a user