-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# D4 Tools - Example Files | ||
|
||
This folder contains example files for the D4 damage and defense calculators. | ||
|
||
### How to load examples | ||
|
||
The calculator apps support the following URL parameters to load remote files and examples: | ||
- `loadFile`: Absolute or relative URL to exported calculators (JSON files), e.g.: `examples/test.json` (NOTE: please use URL encoding) | ||
- `showFile`: (optional) Show content of file without importing data (otherwise ask user). Values: `true/false` or `1/0` | ||
- `loadCalc`: (optional) A list of calculator names, to be loaded from the given file, e.g.: `["Damage Test"]` (NOTE: please use URL encoding) | ||
|
||
### Example URLs | ||
|
||
- [Load test file and open damage example](https://bytemind-de.github.io/apps/d4/damage.html?loadFile=examples%2Ftest_dmg.json&showFile=true&loadCalc=%5B%22Damage%20Test%22%5D) | ||
- [Load test file and open defense example](https://bytemind-de.github.io/apps/d4/defense.html?loadFile=examples%2Ftest_def.json&showFile=true&loadCalc=%5B%22Defense%20Test%22%5D) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"configArray":{"defense_test__defcalc":{"name":"Defense Test","calc":"defcalc","version":"0.5.0","data":{"calculatorName":"Defense Test","charClass":"","baseLife":7959,"strength":350,"elementalResisSingle":70,"isFortified":false,"enemyLevel":100,"armorItems":[{"armor":4626,"info":"Gear Base","disabled":false,"types":[]},{"armor":2975,"info":"Gear Bonus","disabled":false,"types":[]},{"armor":400,"info":"Paragon","disabled":false,"types":[]}],"armorModifiers":[],"maxlifeItems":[{"life":1266,"info":"Armor 1","disabled":false,"types":[]},{"life":1266,"info":"Armor 2","disabled":false,"types":[]},{"life":1266,"info":"1h Weapon","disabled":false,"types":[]},{"life":1266,"info":"Off-Hand","disabled":false,"types":[]}],"maxlifeModifiers":[{"pct":53.86,"info":"Ruby 5 x 9%","disabled":false,"types":[]},{"pct":8,"info":"Paragon Node","disabled":false,"types":[]},{"pct":4,"info":"Paragon Node","disabled":false,"types":[]},{"pct":4,"info":"Paragon Node","disabled":false,"types":[]},{"pct":4,"info":"Paragon Node","disabled":false,"types":[]},{"pct":24.34,"info":"Paragon Node 11 x 2%","disabled":false,"types":[]},{"pct":40,"info":"Barrier - Skill: Some Shield","disabled":true,"types":[]}],"damageReduction":[{"pct":20,"info":"DR - Aspect: Might","disabled":false,"types":[]},{"pct":20,"info":"DR - Skill: More DR for 5s","disabled":true,"types":[]},{"pct":12,"info":"DR - Pass.: More DR","disabled":false,"types":[]},{"pct":20.8,"info":"DR from Elites","disabled":false,"types":[]},{"pct":13.3,"info":"DR from Vulnerable","disabled":false,"types":[]},{"pct":30.1,"info":"DR from Slowed","disabled":false,"types":[]}],"damagePenalty":[]}}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"configArray":{"damage_test__dmgcalc":{"name":"Damage Test","calc":"dmgcalc","version":"0.15.0","data":{"calculatorName":"Damage Test","charClass":"","baseDamage":3750,"attackSpeed":1.4,"skillDamage":100,"mainStat":1240,"baseLife":7959,"maxLife":30000,"isFortified":false,"vulnerableDamage":20,"vulnerableDamageAdd":120,"overpowerDamage":50,"overpowerDamageAdd":350,"overpowerOnNthAttack":33,"critDamage":50,"critDamageAdd":400,"critChance":45,"additiveModifiers":[{"pct":100,"info":"All Damage","disabled":false,"types":[]},{"pct":0,"info":"Damage vs Close","disabled":false,"types":[]}],"damageMultipliers":[{"pct":50,"info":"Item: Ring of Starless Sk.","disabled":false,"types":[]},{"pct":20,"info":"Aspect: Edgemasters","disabled":false,"types":[]},{"pct":30,"info":"Aspect: Good Vul. Damage","disabled":false,"types":["vulnerable"]},{"pct":10,"info":"Pass.: More Damage","disabled":false,"types":[]},{"pct":10,"info":"Glyph: Ok Damage","disabled":false,"types":[]},{"pct":30,"info":"Leg. Node: Better Crits","disabled":false,"types":["crit"]}],"damageReduction":[{"pct":75,"info":"Character lvl. damage reduction","disabled":false,"types":[]}]}}}} |