Compare commits
241 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
e448091e0d | |
|
|
25aea6e873 | |
|
|
745a648d75 | |
|
|
8aca413cbc | |
|
|
2dcef3574c | |
|
|
09063e14e9 | |
|
|
0c76ce123b | |
|
|
09454d1b51 | |
|
|
a2d64c055b | |
|
|
d4ebd8e39e | |
|
|
e99aab5ef2 | |
|
|
9745aff536 | |
|
|
749c6f93c7 | |
|
|
b55b66d1ed | |
|
|
e8e2fb8c11 | |
|
|
02e20da2f6 | |
|
|
b8fb02b57d | |
|
|
bf93a872a3 | |
|
|
ff0ac0ea77 | |
|
|
6b9ddcff63 | |
|
|
feb051c896 | |
|
|
d5d74d91a2 | |
|
|
d11a99b5a4 | |
|
|
b67fb93ebc | |
|
|
e7791c0b42 | |
|
|
f67417413b | |
|
|
19835a1950 | |
|
|
1f2e46a735 | |
|
|
de09eca703 | |
|
|
3355c64941 | |
|
|
86afa946b9 | |
|
|
35a94a059b | |
|
|
977e2e83ef | |
|
|
89768b23db | |
|
|
535c823bd7 | |
|
|
f21fb5e6b7 | |
|
|
96d4c51ffe | |
|
|
487ce26a47 | |
|
|
86f5905838 | |
|
|
c9da3fd767 | |
|
|
6160f419c7 | |
|
|
0f5df62932 | |
|
|
9f99010cf2 | |
|
|
3a9f8cf873 | |
|
|
a5b47d4038 | |
|
|
43d840b1ef | |
|
|
c590244827 | |
|
|
bbf18cf3d9 | |
|
|
13488091c2 | |
|
|
26e126e520 | |
|
|
7ffb37357d | |
|
|
f614fa27d5 | |
|
|
ee0b299f57 | |
|
|
a3002d2427 | |
|
|
c85be9b2db | |
|
|
058182dc88 | |
|
|
aa6b572c5e | |
|
|
d8df8ce062 | |
|
|
aa739b1a6e | |
|
|
415d5a32b7 | |
|
|
60a8b2906a | |
|
|
6f787f29a2 | |
|
|
72aa20edfc | |
|
|
2a8d73b2b8 | |
|
|
1bc4191fbd | |
|
|
b002b138f9 | |
|
|
b53cee9a20 | |
|
|
bb640cd568 | |
|
|
c917745490 | |
|
|
61c35555a9 | |
|
|
3058a4e670 | |
|
|
cc920be8c5 | |
|
|
ad0d3c3275 | |
|
|
5849708e6e | |
|
|
60a7503522 | |
|
|
39505b722d | |
|
|
9e9b9374d3 | |
|
|
3b409c532d | |
|
|
8790070d16 | |
|
|
4905cd9afd | |
|
|
8529dd7c99 | |
|
|
5594d44f9b | |
|
|
3baadefdd4 | |
|
|
f30e5c5edc | |
|
|
fd40c0ed2c | |
|
|
db61ff4aba | |
|
|
4f37ca6d88 | |
|
|
bdb84782fe | |
|
|
8fe91817d5 | |
|
|
cee85f2670 | |
|
|
660505c5fe | |
|
|
a856273db6 | |
|
|
4de38271ae | |
|
|
a65c785192 | |
|
|
46ef2078a9 | |
|
|
f70301168c | |
|
|
41629462df | |
|
|
e3ef04edb6 | |
|
|
6a8e036fb1 | |
|
|
9d29029b07 | |
|
|
12829b9ace | |
|
|
0096e45073 | |
|
|
2071e28c34 | |
|
|
d128915794 | |
|
|
09531779f1 | |
|
|
adf4a123d8 | |
|
|
42dbdcde4d | |
|
|
b613705abf | |
|
|
c4d0b314b8 | |
|
|
b1d7feee55 | |
|
|
0b6b3cd2fa | |
|
|
661d389502 | |
|
|
cce8fdc46c | |
|
|
d861b84bbf | |
|
|
83f300c6d5 | |
|
|
17ac221bc8 | |
|
|
b948254f9d | |
|
|
dd4a46839c | |
|
|
81ec374c5a | |
|
|
36538c174e | |
|
|
336e9860ec | |
|
|
4e6d4f6d6c | |
|
|
9ac59e584a | |
|
|
275b1b6984 | |
|
|
fbb7ddf467 | |
|
|
32247058ba | |
|
|
850cc2b69c | |
|
|
729353a20d | |
|
|
c8b6a441c7 | |
|
|
9ad235a144 | |
|
|
de1cb7956e | |
|
|
3307417f87 | |
|
|
deb058c598 | |
|
|
0a8b2abb65 | |
|
|
ae8c2e9a41 | |
|
|
cedb85f4b5 | |
|
|
ec664d168e | |
|
|
76bb025eab | |
|
|
8b8a74cb4b | |
|
|
e2f45ca17b | |
|
|
a645f110a8 | |
|
|
c77db016a9 | |
|
|
434d9594fb | |
|
|
5e1d5e3f54 | |
|
|
b5e9b5ef9b | |
|
|
cc8f934599 | |
|
|
2406c1746e | |
|
|
fce33b31c5 | |
|
|
87ef83c78a | |
|
|
6839482d7e | |
|
|
21d121f481 | |
|
|
1f6ef5d1cc | |
|
|
037be45334 | |
|
|
fe5ac401d7 | |
|
|
9ed4f6a53d | |
|
|
4709e72524 | |
|
|
248ad4bd70 | |
|
|
4e403b58f5 | |
|
|
48cd611782 | |
|
|
5236b66ae2 | |
|
|
4c49fc42ae | |
|
|
e688e6d3f3 | |
|
|
3e7feb4747 | |
|
|
b6bd38de14 | |
|
|
612aed9361 | |
|
|
88fcd3c8bf | |
|
|
06fb838e08 | |
|
|
ebb8d8be70 | |
|
|
e8993a6bae | |
|
|
b70bbc18ee | |
|
|
6f37146a91 | |
|
|
11c446c633 | |
|
|
bc5a13fb6c | |
|
|
d6ec9b781d | |
|
|
ab7a23aaba | |
|
|
d94759f9a2 | |
|
|
b5bbf363ef | |
|
|
a669a7688d | |
|
|
bd3565f8af | |
|
|
26067481fc | |
|
|
8aafe33262 | |
|
|
85bca4b02e | |
|
|
e87feed534 | |
|
|
43a7445333 | |
|
|
359a4831bc | |
|
|
883f2a7eea | |
|
|
1001dd5341 | |
|
|
c6915c3ba2 | |
|
|
deb129972d | |
|
|
f73f4ad1d5 | |
|
|
c6747e427c | |
|
|
4f9f8a2d48 | |
|
|
7845092e85 | |
|
|
111715fe9b | |
|
|
84d8c4ebe1 | |
|
|
33ec6fd167 | |
|
|
f2d60fd4ac | |
|
|
96fe65ef1b | |
|
|
c535c92941 | |
|
|
4cba383706 | |
|
|
b1ed0d7747 | |
|
|
e48cc52e26 | |
|
|
b3db9e60fe | |
|
|
80a57ba4b8 | |
|
|
c4c123ddee | |
|
|
e167a67441 | |
|
|
4471db2567 | |
|
|
c336c7df74 | |
|
|
fde2f60ae8 | |
|
|
e074334295 | |
|
|
875501c9e2 | |
|
|
7e2215f0fe | |
|
|
c09cd149fb | |
|
|
ea3d97a23c | |
|
|
c7e09c5458 | |
|
|
ec0eb541b2 | |
|
|
d4af823d12 | |
|
|
8da8b2b7d5 | |
|
|
502380ae56 | |
|
|
b2f97d86d6 | |
|
|
81fd542f5c | |
|
|
c2026ab592 | |
|
|
bc99c3cfa8 | |
|
|
1225cba38e | |
|
|
9787132d7b | |
|
|
e8a386df2e | |
|
|
116c61bf6e | |
|
|
4b454ec38e | |
|
|
84539f5cb6 | |
|
|
62c46fa0ad | |
|
|
56c82ca895 | |
|
|
4d99d271cd | |
|
|
408f87aa77 | |
|
|
f957a66220 | |
|
|
89ed0c56c8 | |
|
|
4aa612e32a | |
|
|
42a8376af2 | |
|
|
f4e39275e9 | |
|
|
81cd7a1f94 | |
|
|
a66d66dbd3 | |
|
|
fef1c6c8de |
|
|
@ -10,7 +10,6 @@ __pycache__/
|
|||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
/RPG/d10_character_sheet/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
|
|
@ -111,8 +110,3 @@ venv.bak/
|
|||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# User-provided agent/reference models; keep outside project commits.
|
||||
agent_models/
|
||||
model_ravenous_roll20/
|
||||
/styles/
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "minitest"]
|
||||
path = minitest
|
||||
url = git@github.com:Malphaet/minitest.git
|
||||
54
AGENTS.md
54
AGENTS.md
|
|
@ -1,54 +0,0 @@
|
|||
# D10 Roll20 sheet agent guide
|
||||
|
||||
## Scope and sources
|
||||
|
||||
Build the base fantasy D10 and cyberpunk Roll20 sheets only. The former base
|
||||
sheet in Git history is the compatibility reference; `origin/cyberpunk-latest`
|
||||
supplies the cyberpunk skill catalogue. Check `origin/cyberpunk` when a latest
|
||||
branch detail is ambiguous. `agent_models/` (including the Ravenous model) is
|
||||
an untracked reference area provided by the user: borrow its build discipline,
|
||||
not its game mechanics. Do not edit, commit, or import that directory as part
|
||||
of this project. It is ignored by Git so it remains local. Roll20 Mod scripts
|
||||
live in `scripts/`, are installed separately, and are not embedded in the
|
||||
generated sheet. `d10_character_io.js` is current; `change.js` and `crit.js`
|
||||
are unvalidated legacy scripts.
|
||||
|
||||
## Source of truth
|
||||
|
||||
Keep skills in YAML and sheet structure in explicit model data. HTML/CSS/JSON
|
||||
under build/ are generated and must not be hand edited. Preserve existing
|
||||
Roll20 attribute names and repeating section identifiers when feasible;
|
||||
record any deliberate incompatibility. Keep theme changes visual, with no
|
||||
change to rolls or stored attributes. Escape data inserted into HTML and
|
||||
validate YAML and model references before writing output.
|
||||
|
||||
`FEATURES.md` is the behavioral and portability contract. `ARCHITECTURE.md` is
|
||||
the component, data-flow, and reconstruction contract. Update the applicable
|
||||
feature dossier for every behavior change, including its persistent/runtime
|
||||
interfaces and acceptance checks. Update the architecture document whenever a
|
||||
source-of-truth boundary, generated artifact, runtime component, or build flow
|
||||
changes. README remains the operator guide and must agree with both contracts.
|
||||
|
||||
Keep character JSON exchange versioned and generic over Roll20 attributes so
|
||||
both variants and repeating rows round-trip. Validate a complete payload before
|
||||
mutation, retain player/GM permission boundaries, and test Mod behavior in the
|
||||
local API mock. A sheet button is not proof that its separately installed Mod
|
||||
command works.
|
||||
|
||||
## Workflow
|
||||
|
||||
Work through TASKS.md in order and update it as each task finishes. Make a
|
||||
focused commit after each completed stage. Each commit must leave the generator
|
||||
and its applicable tests passing. Document commands, output files, variant
|
||||
behavior, and migration caveats in README.md. Consult old source in Git history
|
||||
only when necessary for compatibility.
|
||||
|
||||
For each behavior change, test the generated artifact, including attribute
|
||||
references and roll expressions. Check both variants and every theme. Use a
|
||||
local worker or calculation test when behavior can be simulated; structural
|
||||
string checks alone do not establish Roll20 correctness. Record any interaction
|
||||
that still requires the Roll20 Custom Sheet Sandbox. Do not claim a live
|
||||
Roll20 test unless it was actually done.
|
||||
|
||||
Before completing a change, verify that `.gitignore` still excludes
|
||||
`agent_models/` and that no file from that reference tree is staged.
|
||||
198
ARCHITECTURE.md
198
ARCHITECTURE.md
|
|
@ -1,198 +0,0 @@
|
|||
# D10 Roll20 generator architecture
|
||||
|
||||
This document is the construction map for the repository. Together with
|
||||
`FEATURES.md`, it should let another agent recreate the generator and its
|
||||
observable behavior without relying on generated files or undocumented Git
|
||||
history.
|
||||
|
||||
## 1. System boundary
|
||||
|
||||
The repository produces two Roll20 Custom Sheet bundles: base fantasy D10 and
|
||||
cyberpunk D10. It also contains optional Roll20 Mod scripts. The sheet runs in
|
||||
Roll20’s browser/sheet-worker environment; Mod scripts run separately in the
|
||||
campaign API sandbox and are never embedded into generated HTML.
|
||||
|
||||
Authoritative inputs are the YAML model/catalogues, CSS and worker templates,
|
||||
binary assets, and generator code. `build/` and `RPG/d10_character_sheet/` are
|
||||
derived output. `agent_models/` is a local, ignored research area and is not an
|
||||
input, dependency, or distributable.
|
||||
|
||||
## 2. Repository map
|
||||
|
||||
| Path | Responsibility |
|
||||
| --- | --- |
|
||||
| `data/sheet_model.yaml` | Versioned variant structure, stable attributes, resources, repeating sections, and tab composition. |
|
||||
| `data/base_skills.yaml` | Base fixed-skill catalogue. |
|
||||
| `data/cyberpunk_skills.yaml` | Cyberpunk fixed-skill catalogue and equipment-category mapping. |
|
||||
| `data/themes.yaml` | Named theme palettes with display names and five required colors. |
|
||||
| `templates/sheet.css` | Shared Roll20 CSE layout, component, responsive, and roll-template CSS. |
|
||||
| `templates/cyberpunk-weapons.js` | Cyberpunk-only repeating weapon sheet-worker behavior. |
|
||||
| `assets/*.png` | Original cyberpunk body-map images. |
|
||||
| `tools/build.py` | Validation, HTML/CSS/worker rendering, artifact writing, and stale-output checking. |
|
||||
| `tools/publish_builds.py` | Canonical two-variant publication tree builder. |
|
||||
| `scripts/d10_character_io.js` | Optional current Mod feature for versioned character JSON exchange. |
|
||||
| `scripts/change.js`, `scripts/crit.js` | Unvalidated historical Mod scripts; not generator dependencies. |
|
||||
| `tests/test_build.py` | Model validation and generated artifact contracts. |
|
||||
| `tests/test_tabs.mjs` | Sheet-worker navigation and cyberpunk weapon simulation against published output. |
|
||||
| `tests/test_character_io.mjs` | Roll20 API mock for JSON exchange permissions and round trips. |
|
||||
| `build.sh` | Local publication entry point, with optional cleanup. |
|
||||
| `Jenkinsfile` | Clean checkout, verification, archive, and master-only deployment. |
|
||||
|
||||
## 3. Build data flow
|
||||
|
||||
```text
|
||||
sheet_model.yaml ─┐
|
||||
skills YAML ──────┼─> validate() ─> render() ─> sheet.html
|
||||
themes.yaml ──────┤ ├───────> sheet.css
|
||||
sheet.css ────────┤ ├───────> translation.json
|
||||
weapon worker ────┤ ├───────> sheet.json
|
||||
assets/*.png ─────┘ └───────> build-info.json + copied PNGs
|
||||
```
|
||||
|
||||
`build(variant, theme, output, check, asset_base_url)` is the central API.
|
||||
It selects the requested variant and its skill catalogue, restricts base to
|
||||
the two base themes, validates all inputs, renders complete strings in memory,
|
||||
and either writes them or compares them byte-for-byte with an existing target.
|
||||
Validation happens before output creation.
|
||||
|
||||
`publish_builds.publish()` is the deployment-level API. It recreates each
|
||||
variant target, builds its default `parchment` entry artifact (which contains a
|
||||
runtime theme selector), checks it, and copies shared public assets.
|
||||
|
||||
## 4. Model contracts
|
||||
|
||||
The top-level sheet-model version is `1`. Each variant defines:
|
||||
|
||||
- `title` and a `skills` YAML filename;
|
||||
- `attributes` and `resources`, each with stable `id` and display `name`;
|
||||
- optional `combat`, `weapons`, and `health_locations`;
|
||||
- `repeating` sections with stable section IDs and field IDs;
|
||||
- exactly one navigation strategy: base `skill_tabs` or cyberpunk
|
||||
`skill_category_tabs`.
|
||||
|
||||
Skill YAML contains `sections`, each with groups. Groups may contain fixed
|
||||
skills or identify a repeating equipment section. Fixed skill IDs must be
|
||||
valid Roll20 identifiers and unique within the generated namespace. A child’s
|
||||
`parent` must refer to an earlier skill in the same group.
|
||||
|
||||
Every theme requires `background`, `panel`, `ink`, `accent`, and `border` as
|
||||
six-digit hex colors. Names and colors are data; theme mechanics are not.
|
||||
|
||||
Storage names are public compatibility interfaces. An `attr_` name in HTML is
|
||||
stored without that prefix by Roll20. A `repeating_<id>` fieldset creates names
|
||||
such as `repeating_<id>_<row-id>_<field>`. Changing any of these identifiers
|
||||
requires an explicit migration plan.
|
||||
|
||||
## 5. Generated sheet composition
|
||||
|
||||
`render()` creates one `.sheet-theme-shell` containing a saved theme state and
|
||||
one `.sheet-d10` variant root. The visible order is:
|
||||
|
||||
1. header identity, die, theme, and JSON exchange controls;
|
||||
2. always-visible characteristics;
|
||||
3. always-visible resources and optional cyberpunk body maps;
|
||||
4. saved primary navigation;
|
||||
5. Combat and Skills pages, plus cyberpunk Other;
|
||||
6. roll templates;
|
||||
7. one `text/worker` script.
|
||||
|
||||
Fixed skill rows are built from catalogue data. Repeating blocks are built from
|
||||
the model. Specialized cyberpunk weapon rows share stable fields with ordinary
|
||||
repeaters but receive action buttons and worker logic. HTML data is escaped at
|
||||
generation time.
|
||||
|
||||
CSS uses only classes, saved hidden-input sibling selectors, and custom color
|
||||
properties. Roll template styles share the selected compiled palette. The
|
||||
responsive breakpoint collapses grids and keeps body maps usable on a narrow
|
||||
sheet.
|
||||
|
||||
## 6. Roll20 runtime model
|
||||
|
||||
Ordinary roll buttons interpolate Roll20 attributes and use the
|
||||
`d10skillcheck` template. Navigation and theme controls are `type="action"`
|
||||
buttons handled by `on("clicked:...")` or change handlers that call `setAttrs`.
|
||||
Cyberpunk weapon actions use `getAttrs`, `getSectionIDs`, `startRoll`, and
|
||||
`finishRoll` from the sheet-worker API.
|
||||
|
||||
The local JavaScript harness implements only the subset of that API needed by
|
||||
the workers. It proves event routing, reads/writes, and computed-result logic;
|
||||
it does not reproduce Roll20’s dice parser, DOM rendering, persistence timing,
|
||||
or sandbox permissions. Those remain explicit live-test responsibilities.
|
||||
|
||||
## 7. Character JSON exchange boundary
|
||||
|
||||
The generated header sends `!d10-export` and `!d10-import` commands. It cannot
|
||||
read or create Roll20 characters itself. `scripts/d10_character_io.js`, when a
|
||||
GM separately installs it as a Mod script, handles `chat:message`, permission
|
||||
checks, handout encoding/decoding, validation, and Roll20 object mutation.
|
||||
|
||||
The payload is versioned independently of the sheet model:
|
||||
|
||||
```json
|
||||
{
|
||||
"format": "d10-roll20-character",
|
||||
"version": 1,
|
||||
"name": "Character name",
|
||||
"attributes": [
|
||||
{"name": "Life_Points", "current": "7", "max": "10"}
|
||||
],
|
||||
"abilities": []
|
||||
}
|
||||
```
|
||||
|
||||
The generic attribute list is deliberate: it transports both variants and all
|
||||
repeating sections without teaching the Mod script the model. Import validation
|
||||
has bounded counts/text sizes and exact format/version checks. Replace is a
|
||||
full attribute/ability replacement, while player-level replacement protects
|
||||
GM-only metadata and ownership.
|
||||
|
||||
## 8. Verification layers
|
||||
|
||||
Use all applicable layers, in order:
|
||||
|
||||
1. Python unit tests validate source models and rendered artifacts across both
|
||||
variants and every allowed theme.
|
||||
2. `tools/build.py --check` proves a target exactly matches current sources.
|
||||
3. `tests/test_tabs.mjs` simulates sheet-worker tab/theme/weapon behavior.
|
||||
4. `tests/test_character_io.mjs` simulates Mod object access, permissions, and
|
||||
JSON round trips.
|
||||
5. Roll20 Custom Sheet Sandbox verifies browser layout, repeating controls,
|
||||
dice parsing, chat output, saved state, and reopen behavior.
|
||||
6. A campaign with the Mod script installed verifies real character/handout
|
||||
permissions and JSON export/restore.
|
||||
|
||||
Never label layers 1–4 as a live Roll20 test.
|
||||
|
||||
## 9. Publication architecture
|
||||
|
||||
`./build.sh` calls the publisher and optionally deletes local generated roots
|
||||
first. Jenkins repeats the Python tests and publication from a clean checkout.
|
||||
When Node exists, it runs both JavaScript suites; Python generation remains
|
||||
publishable on agents without Node. Successful artifacts are archived under
|
||||
`RPG/d10_character_sheet/`. Only `master` deploys, using `rsync --delete`, to
|
||||
the matching server path.
|
||||
|
||||
The optional Mod scripts are source-distributed from `scripts/`; they are not
|
||||
embedded into or automatically installed by the artifact tree.
|
||||
|
||||
## 10. Reconstruction sequence
|
||||
|
||||
To recreate this repository from the contracts:
|
||||
|
||||
1. Create the directory map in section 2 and ignore generated/reference roots.
|
||||
2. Define sheet-model version 1 with both variant field and repeating-section
|
||||
IDs before writing presentation code.
|
||||
3. Populate and validate both skill catalogues and the theme palette file.
|
||||
4. Implement an in-memory deterministic builder with HTML escaping and check
|
||||
mode; add invalid-input tests first.
|
||||
5. Render the shared header, characteristics, resources, tabs, skills,
|
||||
repeaters, and roll templates; assert every roll reference resolves.
|
||||
6. Add saved navigation and theme workers, then their JavaScript simulation.
|
||||
7. Add cyberpunk body maps and weapon worker behavior with formula-level tests.
|
||||
8. Add the versioned JSON Mod boundary and permission/round-trip tests.
|
||||
9. Add publication, artifact-tree tests, Jenkins archive/deploy stages, and the
|
||||
documented live Roll20 checklist.
|
||||
|
||||
At every step, generated files remain disposable and existing stored IDs remain
|
||||
stable. `FEATURES.md` is the source for observable behavior and porting
|
||||
acceptance; this file is the source for component ownership and data flow.
|
||||
216
FEATURES.md
216
FEATURES.md
|
|
@ -1,216 +0,0 @@
|
|||
# Portable feature catalogue
|
||||
|
||||
This file is the behavioral contract for the D10 Roll20 generator. Each
|
||||
section is intentionally written so it can be handed to an agent working in a
|
||||
different repository: port the intent and contracts, adapt names and layout to
|
||||
the destination, and prove the acceptance criteria there. Do not copy D10 game
|
||||
mechanics into another system unless that system uses the same rules.
|
||||
|
||||
When a feature is added or changed, update its dossier here in the same change.
|
||||
Record the user-visible behavior, persistent-data contract, source locations,
|
||||
runtime boundary, and tests. Add a new dossier when none of the existing ones
|
||||
fits.
|
||||
|
||||
## F01 — Deterministic model-driven sheet generation
|
||||
|
||||
**Intent.** Build complete Roll20 artifacts from reviewed data and templates,
|
||||
without maintaining generated HTML or CSS by hand.
|
||||
|
||||
**Contract.** `tools/build.py` reads a versioned sheet model, a variant skill
|
||||
catalogue, theme data, shared CSS, optional worker JavaScript, and binary
|
||||
assets. It validates identifiers and cross-references before writing UTF-8
|
||||
`sheet.html`, `sheet.css`, `translation.json`, `sheet.json`, and
|
||||
`build-info.json`. Identical inputs produce identical output. `--check` reports
|
||||
missing or stale output without rewriting it.
|
||||
|
||||
**Porting recipe.** Define explicit source data for every structural choice;
|
||||
escape all values inserted into HTML; reject duplicate or invalid identifiers;
|
||||
generate into an ignored directory; include a content digest and useful counts
|
||||
in build metadata; compare bytes in check mode.
|
||||
|
||||
**Acceptance.** Build twice and compare every byte; mutate one output and prove
|
||||
check mode fails; feed invalid identifiers, references, and colors and prove the
|
||||
builder fails before writing output.
|
||||
|
||||
## F02 — Base and cyberpunk variants with stable storage
|
||||
|
||||
**Intent.** Generate two related sheets from one engine while retaining their
|
||||
different catalogues, layout, and mechanics.
|
||||
|
||||
**Contract.** Variant structure lives under `variants` in
|
||||
`data/sheet_model.yaml`. Each variant selects its own skill YAML. Stable Roll20
|
||||
attribute names and repeating section identifiers are compatibility APIs. Base
|
||||
has generic combat fields and four skill subtabs; cyberpunk has categorized
|
||||
skills, localized health/armor, contacts, consumables, and weapon sections.
|
||||
|
||||
**Porting recipe.** Put shared behavior in the renderer and variant differences
|
||||
in data or narrowly scoped worker modules. Never infer a variant from a label.
|
||||
Document every renamed stored field as a migration.
|
||||
|
||||
**Acceptance.** Generate and inspect both variants; verify every roll attribute
|
||||
reference resolves to a declared field (apart from Roll20 built-ins); verify
|
||||
each repeating section occurs exactly once.
|
||||
|
||||
## F03 — Persistent navigation and visual-only themes
|
||||
|
||||
**Intent.** Let users organize a large sheet and choose its appearance without
|
||||
altering game state or roll behavior.
|
||||
|
||||
**Contract.** Action buttons update hidden attributes through sheet workers.
|
||||
CSS sibling selectors show the selected page or subpage. Theme selectors save
|
||||
`d10_theme_choice`, copy it to `d10_theme`, and switch CSS custom properties.
|
||||
Base exposes `parchment` and `night`; cyberpunk exposes all validated palettes.
|
||||
Theme IDs remain stable even if labels change.
|
||||
|
||||
**Porting recipe.** Store navigation/theme state as ordinary attributes; keep
|
||||
theme values out of roll expressions; compile all allowed palettes into the
|
||||
same artifact; include fallbacks for retired tab values.
|
||||
|
||||
**Acceptance.** Execute worker click/change handlers in a local Roll20 mock;
|
||||
compare normalized HTML across themes; prove only CSS/theme defaults vary; test
|
||||
every variant and palette.
|
||||
|
||||
## F04 — Fixed skills and repeating user content
|
||||
|
||||
**Intent.** Combine a curated skill catalogue with user-created skills,
|
||||
equipment, contacts, consumables, and weapons.
|
||||
|
||||
**Contract.** Fixed skills are generated from YAML with stable field stems.
|
||||
User content uses Roll20 `repeating_<section>` fieldsets. Parent skills may
|
||||
contribute to child thresholds. Labels are presentation; IDs are storage.
|
||||
|
||||
**Porting recipe.** Version and validate catalogue IDs, generate selectors from
|
||||
known characteristics, and keep section/field names stable. Test attribute
|
||||
references rather than only visible labels.
|
||||
|
||||
**Acceptance.** Reject duplicate skill IDs and invalid parents; verify fixed
|
||||
and repeating fields are unique; manually add, reorder, reopen, and roll a
|
||||
repeating row in the Roll20 Custom Sheet Sandbox.
|
||||
|
||||
## F05 — Cyberpunk localized health and armor
|
||||
|
||||
**Intent.** Present health, protection, integrity, and integrity maximum by body
|
||||
location on readable diagrams.
|
||||
|
||||
**Contract.** Location IDs are `head`, `body`, `left_arm`, `right_arm`,
|
||||
`left_leg`, and `right_leg`. Existing `Life_Points_*`,
|
||||
`Armor_Protection_Points_*`, and `Armor_Integrity_Points_*` names are retained;
|
||||
maximum integrity adds `_maximum`. Source PNGs live in `assets/`, are copied to
|
||||
cyberpunk output, and default to the public HTTPS asset directory. A blank
|
||||
asset base URL creates a local-preview build.
|
||||
|
||||
**Porting recipe.** Keep image assets independent of stored fields, validate
|
||||
the URL scheme, include responsive fallback layout, and preserve the semantic
|
||||
location IDs even if art changes.
|
||||
|
||||
**Acceptance.** Compare copied assets byte-for-byte; verify each location field
|
||||
appears exactly once; test public and local URLs; inspect both wide and narrow
|
||||
layouts in Roll20.
|
||||
|
||||
## F06 — Cyberpunk weapon actions
|
||||
|
||||
**Intent.** Support melee, single, burst, and automatic attacks; damage-only
|
||||
calculation; ammunition checks; and magazine reloads from repeating rows.
|
||||
|
||||
**Contract.** `templates/cyberpunk-weapons.js` owns the worker behavior and is
|
||||
included only in cyberpunk builds. Attack dice are prompted per action. Combat
|
||||
dice are d10 with `cs1cf10`. Rmax caps retained successes for melee/single and
|
||||
manual damage, but not burst/automatic fire. Multi-shot damage emits one value
|
||||
per successful bullet and never exceeds bullets fired. Reserve stores spare
|
||||
magazines, not rounds. Reload consumes one reserve magazine. Repeating action
|
||||
IDs avoid underscores for Roll20 compatibility.
|
||||
|
||||
**Porting recipe.** Keep formulas in one worker module, read a row snapshot
|
||||
before rolling, mutate ammunition only after validation, and use `startRoll` /
|
||||
`finishRoll` for computed results. Treat stored field names and action event
|
||||
names as separate compatibility surfaces.
|
||||
|
||||
**Acceptance.** Simulate every action with empty, partial, and full magazines;
|
||||
test zero/some/excess successes, natural 1 bonuses, Rmax, and reload; then run
|
||||
the same flows in the Custom Sheet Sandbox because a mock does not parse dice.
|
||||
|
||||
## F07 — Versioned character JSON exchange
|
||||
|
||||
**Intent.** Back up, transfer, and restore complete D10 Roll20 characters,
|
||||
including repeating rows, without changing the sheet’s storage model.
|
||||
|
||||
**User experience.** Both sheet variants show **Échanges JSON** in the header.
|
||||
**Exporter** creates a handout containing readable JSON. **Restaurer** asks for
|
||||
a handout ID and replaces the current character in place, preserving its
|
||||
Roll20 ID and linked tokens.
|
||||
|
||||
**Boundary.** The sheet buttons only send chat commands. The separately
|
||||
installed Roll20 Mod script `scripts/d10_character_io.js` performs privileged
|
||||
object access. The feature is unavailable when that script is not installed.
|
||||
|
||||
**Wire format.** The top-level discriminator is
|
||||
`{"format":"d10-roll20-character","version":1}`. Required values are a
|
||||
non-empty `name` and an `attributes` array. Each attribute has string `name`,
|
||||
`current`, and `max`. Optional data includes `abilities`, `bio`, `gmnotes`,
|
||||
`controlledby`, and `inplayerjournals`. Unknown future versions are rejected.
|
||||
All attributes are transported generically, so fixed fields and repeating rows
|
||||
round-trip without a D10-specific mapping.
|
||||
|
||||
**Commands.** `!d10-export` uses one selected linked token;
|
||||
`!d10-export --id CHARACTER_ID` is used by the sheet. A GM may create a new
|
||||
character with `!d10-import JSON` or `!d10-import --handout HANDOUT_ID`.
|
||||
`!d10-import --replace [--id CHARACTER_ID] --handout HANDOUT_ID` restores into
|
||||
an existing controlled character. Handout input is preferred for large JSON.
|
||||
|
||||
**Security and mutation rules.** GMs may access all targets. Players may export
|
||||
or replace only characters they control and may read only shared/controlled
|
||||
handouts. Player exports omit GM notes; player restores cannot change GM notes,
|
||||
ownership, or journal visibility. New-character creation is GM-only. Payload
|
||||
shape, version, sizes, and scalar types are validated before mutation. Replace
|
||||
deletes existing attributes and abilities, then recreates them; it is
|
||||
destructive and should use a fresh export as a backup.
|
||||
|
||||
**Porting recipe.** Choose a repository-specific format and command prefix;
|
||||
keep the payload versioned; export generic Roll20 attributes; validate fully;
|
||||
separate create from replace permissions; decode Roll20 HTML/URI handout
|
||||
representations; add sheet buttons only after the Mod command is stable.
|
||||
|
||||
**Acceptance.** In a Roll20 API mock, round-trip current/max values, repeating
|
||||
attributes, abilities, bio, notes, and access lists; test GM creation, player
|
||||
replacement, HTML-escaped handouts, malformed/version-mismatched data, and
|
||||
unauthorized character/handout access. In Roll20, export each variant, restore
|
||||
it, reopen the character, inspect repeating rows, and retest rolls.
|
||||
|
||||
## F08 — Reproducible publication
|
||||
|
||||
**Intent.** Publish one self-contained artifact set per variant from the same
|
||||
verified generator used locally.
|
||||
|
||||
**Contract.** `tools/publish_builds.py` creates
|
||||
`RPG/d10_character_sheet/{base,cyberpunk}` plus shared body assets. Jenkins
|
||||
starts from a clean checkout, installs Python dependencies, runs Python tests,
|
||||
runs JavaScript checks when Node is available, archives the tree, and deploys
|
||||
`master` to `/mnt/books/RPG/d10_character_sheet/`.
|
||||
|
||||
**Porting recipe.** Make local and CI publication call the same code; rebuild
|
||||
targets instead of merging stale files; archive only generated deliverables;
|
||||
gate deployment on branch and successful verification.
|
||||
|
||||
**Acceptance.** Assert the complete artifact tree and absence of retired
|
||||
directories; run builder check mode against published variants; verify deploy
|
||||
sentinels after synchronization.
|
||||
|
||||
## Feature dossier template
|
||||
|
||||
Copy this block when introducing a portable behavior:
|
||||
|
||||
```markdown
|
||||
## FXX — Name
|
||||
|
||||
**Intent.** User problem and outcome.
|
||||
|
||||
**Contract.** Observable behavior and persistent/runtime interfaces.
|
||||
|
||||
**Boundary.** Which component owns privileged or external behavior.
|
||||
|
||||
**Porting recipe.** Minimal implementation sequence without game-specific assumptions.
|
||||
|
||||
**Acceptance.** Automated behavior checks plus any required live Roll20 checks.
|
||||
|
||||
**Migration.** Stored names or behavior that existing characters must preserve.
|
||||
```
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,540 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">diff --git a/Helpers/Characters/God.ini b/Helpers/Characters/God.ini</span>
|
||||
<span class="bold">index 4fb06ec..ded4a3c 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/God.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/God.ini</span>
|
||||
<span class="f6">@@ -30,53 +30,53 @@</span>
|
||||
b_momentum_esq=4
|
||||
b_momentum_sec=0.3
|
||||
b_impact=4.5
|
||||
b_impact_size=0.13
|
||||
b_adagio=1
|
||||
<span class="f1">b_tempo_dep=6</span><span class="f2">b_tempo_dep=4</span>
|
||||
b_tempo_degre=1
|
||||
<span class="f1">b_tempo=42</span>
|
||||
<span class="f1"> b_tempo_max=252</span>
|
||||
<span class="f1"> b_phenix_reg=35</span>
|
||||
<span class="f1"> sceau_du_phenix_charge_level=100</span>
|
||||
<span class="f1"> b_phenix_alt_charge=10</span><span class="f2">b_tempo=30</span>
|
||||
<span class="f2"> b_tempo_max=240</span>
|
||||
<span class="f2"> b_phenix_reg=45</span>
|
||||
<span class="f2"> sceau_du_phenix_charge_level=80</span>
|
||||
<span class="f2"> b_phenix_alt_charge=15</span>
|
||||
b_bis_repetitas_charge_level=4
|
||||
b_bis_repetitas_onhit= 50
|
||||
b_lune_de_sang_charge_level=25
|
||||
<span class="f1">b_sceaulunesang_shield=28</span><span class="f2">b_sceaulunesang_shield=33</span>
|
||||
b_sang_charge_level=35
|
||||
<span class="f1">b_sang_dmg=40</span><span class="f2">b_sang_dmg=50</span>
|
||||
b_temps_charge_level=6
|
||||
<span class="f1">b_souffle_de_sang_charge_level=10</span><span class="f2">b_souffle_de_sang_charge_level=15</span>
|
||||
b_souffle_de_sang=2
|
||||
b_influx_charge_level=3
|
||||
b_influx_phys=2
|
||||
<span class="f1">b_contresang_soin=25</span>
|
||||
<span class="f1"> b_contresang_charge_level=45</span><span class="f2">b_contresang_soin=30</span>
|
||||
<span class="f2"> b_contresang_charge_level=30</span>
|
||||
b_ame_charge_level=5
|
||||
b_ame_target=2
|
||||
b_ame_alt_range=10
|
||||
b_veine_charge_level=20
|
||||
b_veine_duree=1
|
||||
<span class="f1">b_sangfeu_charge_level=25</span>
|
||||
<span class="f1"> b_sangfeu_dmg=30</span>
|
||||
<span class="f1"> b_amplitude_chargelevel=5</span>
|
||||
<span class="f1"> b_amplitude_percent=25</span>
|
||||
<span class="f1"> b_ombre_chargelevel=10</span>
|
||||
<span class="f1"> b_ombre_discretion=2</span><span class="f2">b_sangfeu_charge_level=30</span>
|
||||
<span class="f2"> b_sangfeu_dmg=50</span>
|
||||
<span class="f2"> b_amplitude_chargelevel=10</span>
|
||||
<span class="f2"> b_amplitude_percent=45</span>
|
||||
<span class="f2"> b_ombre_chargelevel=20</span>
|
||||
<span class="f2"> b_ombre_discretion=4</span>
|
||||
b_iresanglante_dmg=30
|
||||
b_brumesang_value=20
|
||||
b_torrentpourpre_abysse=20
|
||||
b_base_abysse=100
|
||||
<span class="f1">b_torrentpourpre_souffrance=10</span>
|
||||
<span class="f1"> b_base_souffrance=40</span><span class="f2">b_torrentpourpre_souffrance=20</span>
|
||||
<span class="f2"> b_base_souffrance=50</span>
|
||||
b_torrentpourpre_sang=10
|
||||
b_base_sang=25
|
||||
b_soifimpie_rgn=4
|
||||
d_soif_heal=10
|
||||
b_foudresang_init=9
|
||||
<span class="f1">b_bainsang_act=2</span><span class="f2">b_bloodbath=3</span>
|
||||
|
||||
[Characters/frene.ini]
|
||||
b_revigoration=2
|
||||
b_morsure_hiver=4
|
||||
b_robustesse_hiver=5
|
||||
<span class="f6">@@ -112,13 +112,12 @@</span>
|
||||
b_bourrasque_dmg=2.5
|
||||
b_bourrasque_size=2
|
||||
b_permafrost_act=0.6
|
||||
b_permafrost_resist=3
|
||||
b_permafrost_carac=6
|
||||
<span class="f1">b_voile_aurore=15</span>
|
||||
<span class="f1"> b_voile_aurore_spells=2</span>
|
||||
<span class="f1"> b_voile_aurore_buff=2</span><span class="f2">b_voile_aurore=16</span>
|
||||
<span class="f2"> b_voile_aurore_buff=0.1</span>
|
||||
|
||||
[Characters/reginald.ini]
|
||||
b_power_arcana=2
|
||||
b_elem=1.8
|
||||
b_power=5r<2
|
||||
<span class="f6">@@ -189,11 +188,11 @@</span>
|
||||
b_inebranlable_cost=3
|
||||
b_inebranlable_maintien=4
|
||||
b_inebranlable_encaissement=2
|
||||
b_inebranlable_reduction=-2.3
|
||||
b_inebranlable_actions=4
|
||||
<span class="f1">b_unicite_dmg=5</span><span class="f2">b_unicite_dmg=4</span>
|
||||
b_unicite_cost=4
|
||||
b_unicite_maintien=3
|
||||
b_peaume_cost=6
|
||||
b_peaume_DD=1
|
||||
b_peaume_dmg=-25
|
||||
<span class="bold">diff --git a/Helpers/Characters/frene.ini b/Helpers/Characters/frene.ini</span>
|
||||
<span class="bold">index 21df5bd..3be3bd3 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/frene.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/frene.ini</span>
|
||||
<span class="f6">@@ -42,11 +42,11 @@</span>
|
||||
Si vous ne pouvez plus agir, votre aspect gagne [[floor({simu}{b_simulation_aspect})]] actions supplémentaires jusqu'à la reprise de contrôle du personnage.
|
||||
Reduit les dégats subits de [[floor({garde}*{a_air}/{b_garde_aspect})]]
|
||||
{prelude} fois par combat, si le personnage devrait subir des dégâts létaux, Stase Cryogénique est utilisé sur lui-même a la place.
|
||||
Il vous reste {colere} utilisations de **[Colere de l'Aspect]**
|
||||
others=
|
||||
macro={vset} {you}<span class="f1">--momentum|0</span> --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --mana|@{{you}|mana|max} --pctreceived_b|0 --pctreceived_s|0 --general_item_shield3|[[floor({garde}*{a_air}/{b_garde_aspect})]] --colere_stacks|[[{colere}{b_colere_max}]] --elem_omega|0
|
||||
|
||||
[turn]
|
||||
description=Macro de début de tour
|
||||
self=
|
||||
others=
|
||||
<span class="f6">@@ -54,12 +54,12 @@</span>
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I <span class="f1">@{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable}</span><span class="f2">@{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable}</span> R <span class="f1">@{selected|general_effective_Rempart_parfait}</span><span class="f2">@{{you}|general_effective_Rempart_parfait}</span> c <span class="f1">@{selected|crit_level}</span><span class="f2">@{{you}|crit_level}</span> S <span class="f1">@{selected|general_skilllevel_Encaissement} @{selected|general_effective_Encaissement}</span><span class="f2">@{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement}</span> H <span class="f1">@{selected|base_defense_dices}</span><span class="f2">@{{you}|base_defense_dices}</span> H <span class="f1">@{selected|exal_defense_dices}</span><span class="f2">@{{you}|exal_defense_dices}</span> s <span class="f1">@{selected|general_defense_threshold}</span><span class="f2">@{{you}|general_defense_threshold}</span> l <span class="f1">@{selected|general_defense_addall}</span><span class="f2">@{{you}|general_defense_addall}</span> A <span class="f1">@{selected|Skill_general_attribute_select_defense}</span><span class="f2">@{{you}|Skill_general_attribute_select_defense}</span> t <span class="f1">@{selected|transcendence}</span><span class="f2">@{{you}|transcendence}</span> - ?{Dégats a parer|0} a d n <span class="f1">@{selected|undescored_name}</span><span class="f2">@{{you}|undescored_name}</span> + <span class="f1">@{selected|general_item_shield3}</span><span class="f2">@{{you}|general_item_shield3}</span> v <span class="f1">@{selected|pctreceived}</span><span class="f2">@{{you}|pctreceived}</span> v <span class="f1">@{selected|pctreceived_s}</span><span class="f2">@{{you}|pctreceived_s}</span> v <span class="f1">@{selected|pctreceived_b}</span><span class="f2">@{{you}|pctreceived_b}</span> v <span class="f1">@{selected|temp_pdef}</span><span class="f2">@{{you}|temp_pdef}</span> + <span class="f1">@{selected|temp_def}</span><span class="f2">@{{you}|temp_def}
|
||||
</span> !setattr t--name <span class="f1">@{selected|character_name}</span><span class="f2">@{{you}|character_name}</span> --temp_pdef|0 --temp_def|0
|
||||
|
||||
[refresh_marques]
|
||||
description=Macro de recalcul d'etat des marques
|
||||
self=
|
||||
others=
|
||||
<span class="f6">@@ -403,16 +403,17 @@</span>
|
||||
[voile_aurore]
|
||||
level=Ultime
|
||||
type=Actif/Buff/Durée
|
||||
display_name=Voile de l'aurore
|
||||
cost=8
|
||||
<span class="f1">mp=16</span><span class="f2">mp=10</span>
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-Hga0BioOZVTROln9_magic_aspected_skilllevel}
|
||||
description=Projette un voile sur toutes les cibles alliées affectés par Robustesse de l’hiver.
|
||||
Ce voile annule les dégâts des [[{X}*{b_voile_aurore}]] prochaines attaques/sorts.
|
||||
Tant que le voile n’est pas brisé, la Volonté des personnes affectées augmente de {X} points.
|
||||
self=
|
||||
others= Un voile recouvre les alliés aux alentours, protégeant des dégâts et renforçant leur volonté.
|
||||
special=
|
||||
macro=**Voile de l'aurore** [Coût : {mp}] <span class="f1">Protection</span><span class="f2">Toutes les cibles affectées par un effet *Robustesse de l'Hiver* recoivent une protection</span> de [[floor({X}*({a_air}+{a_bois})*{b_voile_aurore})]] sur<span class="f1">les [[{X}*{b_voile_aurore_spells}]] prochaines attaques. Augmente</span> la <span class="f1">volonté</span><span class="f2">prochaine attaque. Tant qu'ils ont des marques</span> de <span class="f1">[[{X}*{a_vapeur}/{b_voile_aurore_buff}]]</span><span class="f2">*Robustesse de l'Hiver* ils beneficient d'un bonus de [[floor({X}*{a_vapeur}*{b_voile_aurore_buff})]] en volonté (cet effet est cumulable jusqu'a [[{X}+1]] fois)</span>
|
||||
{manasub}-{mp}
|
||||
<span class="f2">[Protection de l'aurore](!&#13;#aurore [[floor({X}*({a_air}+{a_bois})*{b_voile_aurore})]])</span>
|
||||
#zone et prot
|
||||
<span class="bold">diff --git a/Helpers/Characters/npc.ini b/Helpers/Characters/npc.ini</span>
|
||||
<span class="bold">index 97e73a6..50154c9 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/npc.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/npc.ini</span>
|
||||
<span class="f6">@@ -29,11 +29,11 @@</span>
|
||||
|
||||
[parade_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} S @{selected|general_skilllevel_Encaissement} @{selected|general_effective_Encaissement} H @{selected|base_defense_dices} H @{selected|exal_defense_dices} s @{selected|general_defense_threshold} l @{selected|general_defense_addall} A @{selected|Skill_general_attribute_select_defense} t @{selected|transcendence} - ?{Dégats a parer|0} a d n @{selected|undescored_name} + @{selected|general_effective_shield1} + @{selected|general_effective_shield2} + @{selected|general_effective_shield3} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} v @{selected|temp_pdef} + @{selected|temp_def} + ?{Type <span class="f1">d'attaque|Physique,@{selected|general_skilllevel_res_physique_effective}|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0}</span><span class="f2">d'attaque|Physique,@{selected|general_skilllevel_res_physique_effective}|Magique,@{selected|general_skilllevel_res_magique_effective}|selected,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0}</span> + @{selected|general_skilllevel_res_omega_effective}
|
||||
!setattr t--name @{selected|character_name} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
<span class="bold">diff --git a/Helpers/Characters/reginald.ini b/Helpers/Characters/reginald.ini</span>
|
||||
<span class="bold">index 6a7bcea..0a3ae16 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/reginald.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/reginald.ini</span>
|
||||
<span class="f6">@@ -41,20 +41,19 @@</span>
|
||||
|
||||
[start]
|
||||
description=Début du combat
|
||||
self=&{template:default} {{name=Recap}} {{Pioche=[[{inspiration}+1]]}} {{Main=[[{grandeur}+2]] cartes}} {{Garde=[[{instinct}]]}} {{Repioche=[[{incandescance}+1]] c/tour}}
|
||||
others=
|
||||
macro= !setattr --name {you}<span class="f1">--momentum|0</span> --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --pctreceived_b|0 --pctreceived_s|0 --elem_omega|0 --fluctus|0|{b_fluctus_max} --celeritas_rem|{celeritas_level}
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade magique
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I <span class="f1">@{Voile|skillcost_Defense_impenetrable} @{Voile|general_effective_Defense_impenetrable}</span><span class="f2">@{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable}</span> R <span class="f1">@{Voile|general_effective_Rempart_parfait}</span><span class="f2">@{{you}|general_effective_Rempart_parfait}</span> c <span class="f1">@{Voile|crit_level}</span><span class="f2">@{{you}|crit_level}</span> S <span class="f1">@{Voile|general_skilllevel_Encaissement} @{Voile|general_effective_Encaissement}</span><span class="f2">@{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement}</span> H <span class="f1">@{Voile|base_defense_dices}</span><span class="f2">@{{you}|base_defense_dices}</span> H <span class="f1">@{Voile|exal_defense_dices}</span><span class="f2">@{{you}|exal_defense_dices}</span> s <span class="f1">@{Voile|general_defense_threshold}</span><span class="f2">@{{you}|general_defense_threshold}</span> l <span class="f1">@{Voile|general_defense_addall}</span><span class="f2">@{{you}|general_defense_addall}</span> A <span class="f1">@{Voile|Skill_general_attribute_select_defense}</span><span class="f2">@{{you}|Skill_general_attribute_select_defense}</span> t <span class="f1">@{Voile|transcendence}</span><span class="f2">@{{you}|transcendence}</span> - ?{Dégats a parer|0} a d n <span class="f1">@{Voile|undescored_name}</span><span class="f2">@{{you}|undescored_name}</span> + <span class="f1">@{Voile|general_effective_shield3}</span><span class="f2">@{{you}|general_effective_shield3}</span> v <span class="f1">@{Voile|pctreceived}</span><span class="f2">@{{you}|pctreceived}</span> v <span class="f1">@{Voile|pctreceived_s}</span><span class="f2">@{{you}|pctreceived_s}</span> v <span class="f1">@{Voile|pctreceived_b}</span><span class="f2">@{{you}|pctreceived_b}</span> v <span class="f1">@{Voile|temp_pdef}</span><span class="f2">@{{you}|temp_pdef}</span> + <span class="f1">@{Voile|temp_def} + @{Voile|momentum_esq}</span><span class="f2">@{{you}|temp_def}</span> + ?{Type <span class="f1">d'attaque|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{selected|general_skilllevel_res_physique_effective}}</span><span class="f2">d'attaque|Magique,@{{you}|general_skilllevel_res_magique_effective}|{you},@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{{you}|general_skilllevel_res_physique_effective}}</span> + <span class="f1">@{selected|general_skilllevel_res_omega_effective}</span><span class="f2">@{{you}|general_skilllevel_res_omega_effective}
|
||||
</span> !setattr --name <span class="f1">Voile</span><span class="f2">{you}</span> --temp_pdef|0 --temp_def|0<span class="f1">{m}change_momentum</span>
|
||||
|
||||
[turn]
|
||||
description=Début du tour
|
||||
self=#Il vous reste [[{dementia_cost}*{b_dementia}]] utilisation de Dementia ce tour-ci.
|
||||
others=
|
||||
macro=!setattr --name {you} --Life_Points|[[{@{{you}|Life_Points}+@{{you}|regen}-1*(@{{you}|dot}),@{{you}|Life_Points|max}}kl1]] #--dementia_rem|[[{dementia_cost}*{b_dementia}]]
|
||||
<span class="bold">diff --git a/Helpers/Characters/tian.ini b/Helpers/Characters/tian.ini</span>
|
||||
<span class="bold">index 3b4eede..5ea229a 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/tian.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/tian.ini</span>
|
||||
<span class="f6">@@ -48,20 +48,19 @@</span>
|
||||
|
||||
[parrade]
|
||||
self=
|
||||
description=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{Tian-Hu|skillcost_Defense_impenetrable} @{Tian-Hu|general_effective_Defense_impenetrable} R @{Tian-Hu|general_effective_Rempart_parfait} c @{Tian-Hu|crit_level} S @{Tian-Hu|general_skilllevel_Encaissement} @{Tian-Hu|general_effective_Encaissement} H @{Tian-Hu|base_defense_dices} H @{Tian-Hu|exal_defense_dices} s @{Tian-Hu|general_defense_threshold} l @{Tian-Hu|general_defense_addall} A @{Tian-Hu|Skill_general_attribute_select_defense} t @{Tian-Hu|transcendence} - ?{Dégats a parer|0} a d n @{Tian-Hu|undescored_name} + @{Tian-Hu|general_effective_shield1} + @{Tian-Hu|general_effective_shield2} + @{Tian-Hu|general_effective_shield3} v @{Tian-Hu|pctreceived} v @{Tian-Hu|pctreceived_s} v @{Tian-Hu|pctreceived_b} v @{Tian-Hu|temp_pdef} + @{Tian-Hu|temp_def} v @{Tian-Hu|pctreceived_in} + @{Tian-Hu|elemental_dmg} + ?{Type <span class="f1">d'attaque|Physique,@{selected|general_skilllevel_res_physique_effective}|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0}</span><span class="f2">d'attaque|Physique,@{{you}|general_skilllevel_res_physique_effective}|Magique,@{{you}|general_skilllevel_res_magique_effective}|Voile,@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0}</span> + <span class="f1">@{selected|general_skilllevel_res_omega_effective}</span><span class="f2">@{{you}|general_skilllevel_res_omega_effective}</span>
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade magique
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I <span class="f1">@{Voile|skillcost_Defense_impenetrable} @{Voile|general_effective_Defense_impenetrable}</span><span class="f2">@{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable}</span> R <span class="f1">@{Voile|general_effective_Rempart_parfait}</span><span class="f2">@{{you}|general_effective_Rempart_parfait}</span> c <span class="f1">@{Voile|crit_level}</span><span class="f2">@{{you}|crit_level}</span> S <span class="f1">@{Voile|general_skilllevel_Encaissement} @{Voile|general_effective_Encaissement}</span><span class="f2">@{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement}</span> H <span class="f1">@{Voile|base_defense_dices}</span><span class="f2">@{{you}|base_defense_dices}</span> H <span class="f1">@{Voile|exal_defense_dices}</span><span class="f2">@{{you}|exal_defense_dices}</span> s <span class="f1">@{Voile|general_defense_threshold}</span><span class="f2">@{{you}|general_defense_threshold}</span> l <span class="f1">@{Voile|general_defense_addall}</span><span class="f2">@{{you}|general_defense_addall}</span> A <span class="f1">@{Voile|Skill_general_attribute_select_defense}</span><span class="f2">@{{you}|Skill_general_attribute_select_defense}</span> t <span class="f1">@{Voile|transcendence}</span><span class="f2">@{{you}|transcendence}</span> - ?{Dégats a parer|0} a d n <span class="f1">@{Voile|undescored_name}</span><span class="f2">@{{you}|undescored_name}</span> + <span class="f1">@{Voile|general_effective_shield3}</span><span class="f2">@{{you}|general_effective_shield3}</span> v <span class="f1">@{Voile|pctreceived}</span><span class="f2">@{{you}|pctreceived}</span> v <span class="f1">@{Voile|pctreceived_s}</span><span class="f2">@{{you}|pctreceived_s}</span> v <span class="f1">@{Voile|pctreceived_b}</span><span class="f2">@{{you}|pctreceived_b}</span> v <span class="f1">@{Voile|temp_pdef}</span><span class="f2">@{{you}|temp_pdef}</span> + <span class="f1">@{Voile|temp_def}</span><span class="f2">@{{you}|temp_def}</span> + <span class="f1">@{Voile|momentum_esq}</span><span class="f2">@{Tian-Hu|elemental_dmg}</span> + ?{Type <span class="f1">d'attaque|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{selected|general_skilllevel_res_physique_effective}}</span><span class="f2">d'attaque|Magique,@{{you}|general_skilllevel_res_magique_effective}|{you},@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{{you}|general_skilllevel_res_physique_effective}}</span> + <span class="f1">@{selected|general_skilllevel_res_omega_effective}</span><span class="f2">@{{you}|general_skilllevel_res_omega_effective}
|
||||
</span> !setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
<span class="f1"> {m}change_momentum</span>
|
||||
|
||||
[esquive]
|
||||
self=
|
||||
description=
|
||||
others=
|
||||
<span class="f6">@@ -171,11 +170,12 @@</span>
|
||||
special =
|
||||
|
||||
[inebranlable:desactivation]
|
||||
self=
|
||||
others=
|
||||
macro= !setattr --name {you} --mod --maintien_qi|-{b_inebranlable_cost}
|
||||
<span class="f1">--general_skilllevel_Encaissement|[[{Encaissement}]]</span><span class="f2">!setattr --name {you} --general_skilllevel_Encaissement|{Encaissement}</span> --pctreceived_in|0
|
||||
special=
|
||||
|
||||
[mouvement_intangible]
|
||||
level = Avancée
|
||||
display_name = Mouvement Intangible
|
||||
<span class="f6">@@ -214,11 +214,11 @@</span>
|
||||
self =
|
||||
type = Actif / Buff / Maintenu
|
||||
others = **[{D} : {b_unicite_cost} + {b_unicite_maintien}]**
|
||||
cost = 4
|
||||
X = @{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}
|
||||
macro = !setattr --name {you} <span class="f1">--elemental_dmg|?{Element|Eau,[[{eau}*{b_unicite_dmg}]]| Air,[[{air}*{b_unicite_dmg}]]| Feu,[[{feu}*{b_unicite_dmg}]]| Terre,[[{terre}*{b_unicite_dmg}]]| Glace,[[{glace}*{b_unicite_dmg}]]| Metal,[[{metal}*{b_unicite_dmg}]]| Magma,[[{magma}*{b_unicite_dmg}]]| Vapeur,[[{vapeur}*{b_unicite_dmg}]]| Bois,[[{bois}*{b_unicite_dmg}]]| Foudre,[[{foudre}*{b_unicite_dmg}]]}</span><span class="f2">--elemental_dmg|?{Element|Eau,[[{eau}*{b_unicite_dmg}*{X}]]| Air,[[{air}*{b_unicite_dmg}*{X}]]| Feu,[[{feu}*{b_unicite_dmg}*{X}]]| Terre,[[{terre}*{b_unicite_dmg}*{X}]]| Glace,[[{glace}*{b_unicite_dmg}*{X}]]| Metal,[[{metal}*{b_unicite_dmg}*{X}]]| Magma,[[{magma}*{b_unicite_dmg}*{X}]]| Vapeur,[[{vapeur}*{b_unicite_dmg}*{X}]]| Bois,[[{bois}*{b_unicite_dmg}*{X}]]| Foudre,[[{foudre}*{b_unicite_dmg}*{X}]]}</span>
|
||||
!setattr --name {you} --mod --maintien_qi|{b_unicite_maintien}
|
||||
special =
|
||||
|
||||
[unicite_elementaire:desactivation]
|
||||
self =
|
||||
<span class="bold">diff --git a/Helpers/Characters/voile.ini b/Helpers/Characters/voile.ini</span>
|
||||
<span class="bold">index 009f9d7..f57347b 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/voile.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/voile.ini</span>
|
||||
<span class="f6">@@ -27,10 +27,11 @@</span>
|
||||
Accrobatie_m=repeating_skills_-Lk0OyMid1KcRS6-i3NF_general_skilllevel
|
||||
Saut=@{Voile|repeating_skills_-Lk0P-9iI72bg79b2W3e_general_skilllevel}
|
||||
Saut_m=repeating_skills_-Lk0P0QpdsqtnER6E3hZ_general_skilllevel
|
||||
initiative=@{Voile|repeating_general-combat-skills_-LkJoCQxRED339Hi8os2_general_combat_skilllevel}
|
||||
reset_multiple=!setattr --name Voile --multiple_seals|1
|
||||
<span class="f2">BA = @{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}</span>
|
||||
|
||||
[start]
|
||||
description=Macro de début de combat
|
||||
self=Début du combat
|
||||
Toutes les reserves sont réinitialisées.
|
||||
<span class="f6">@@ -38,11 +39,11 @@</span>
|
||||
X=@{Voile|repeating_skills_-Lk0LDt03hSUUtdwbzLV_general_skilllevel}
|
||||
macro={vset} {you} --momentum|0 --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --momentum_dmg|0 --momentum_esq|0 --pctreceived_b|0 --pctreceived_s|0 --tempo_dmg|0 --tempo_par|0 --tempo_esq|0 --momentum_par|0 --actions|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({X}*{harmony}/{b_wind_har_act})]]|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({X}*{harmony}/{b_wind_har_act})]]
|
||||
|
||||
[turn]
|
||||
description=Macro de début de tour
|
||||
<span class="f1">self=</span><span class="f2">self=Les [[{BA}*{b_bloodbath}]] premiers sceaux de votre tour comptent comme des action libres</span>
|
||||
others=
|
||||
X=@{Voile|repeating_skills_-Lk0LDt03hSUUtdwbzLV_general_skilllevel}
|
||||
macro={vset} {you} --Life_Points|[[{@{{you}|Life_Points}+@{{you}|regen}-1*(@{{you}|dot}),@{{you}|Life_Points|max}}kl1]] --actions|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({X}*{harmony}/{b_wind_har_act})]]|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({X}*{harmony}/{b_wind_har_act})]]
|
||||
|
||||
[multiple_seals]
|
||||
<span class="f6">@@ -82,25 +83,22 @@</span>
|
||||
others=
|
||||
B = @{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel}
|
||||
I = @{Voile|repeating_magic-vital-skills_-Lk0K39r7eCcYVEBFeKy_magic_vital_skilllevel}
|
||||
S = @{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel}
|
||||
F = @{Voile|repeating_magic-vital-skills_-Lk0KH9sMaVvV9aafAeU_magic_vital_skilllevel}
|
||||
<span class="f1"> BA = @{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}</span>
|
||||
self = Offre un bonus de [[{b_brumesang_value}*{B}*@{Voile|multiple_seals}]] sur votre prochaine esquive
|
||||
Vous gagnez un bonus de [[{b_iresanglante_dmg}*{I}*@{Voile|multiple_seals}]] dégat d’arme a votre prochaine attaque
|
||||
Vous regagnez [[({S}*{d_soif_heal})]] points de vie et un bonus de [[{b_soifimpie_rgn}*{S}*@{Voile|multiple_seals}]] en régénération jusqu'a la fin du combat
|
||||
Offre un bonus [[{b_foudresang_init}*{F}*@{Voile|multiple_seals}]] en initiative sur votre prochaine attaque
|
||||
<span class="f1"> Offre un bonus [[{b_bainsang_act}*{BA}*@{Voile|multiple_seals}]] en nombre d’action</span>
|
||||
macro= {m}change_blood
|
||||
|
||||
[change_blood]
|
||||
B = @{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel}
|
||||
I = @{Voile|repeating_magic-vital-skills_-Lk0K39r7eCcYVEBFeKy_magic_vital_skilllevel}
|
||||
S = @{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel}
|
||||
F = @{Voile|repeating_magic-vital-skills_-Lk0KH9sMaVvV9aafAeU_magic_vital_skilllevel}
|
||||
<span class="f1">BA = @{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}</span> macro={vset} {you} --mod<span class="f1">--actions||[[{b_bainsang_act}*{BA}*@{Voile|multiple_seals}]] --actions|[[{b_bainsang_act}*{BA}*@{Voile|multiple_seals}]]</span> --temp_dmg|[[{b_iresanglante_dmg}*{I}*@{Voile|multiple_seals}]] --temp_esq|[[{b_brumesang_value}*{B}*@{Voile|multiple_seals}]]
|
||||
{vset} {you} --Life_Points|[[{@{Voile|Life_Points}+{b_soifimpie_rgn}*{S}* @{Voile|multiple_seals}, @{Voile|Life_Points|max}}kl1]]
|
||||
{reset_multiple}
|
||||
self=
|
||||
others=
|
||||
|
||||
<span class="f6">@@ -114,28 +112,28 @@</span>
|
||||
|
||||
[esquive_macro]
|
||||
description=Macro d'esquive
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des d'esquive} I <span class="f1">@{Voile|skillcost_Defense_impenetrable} @{Voile|general_effective_Defense_impenetrable}</span><span class="f2">@{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable}</span> R <span class="f1">@{Voile|general_effective_Rempart_parfait}</span><span class="f2">@{{you}|general_effective_Rempart_parfait}</span> c <span class="f1">@{Voile|crit_level}</span><span class="f2">@{{you}|crit_level}</span> H <span class="f1">@{Voile|base_dodge_dices}</span><span class="f2">@{{you}|base_dodge_dices}</span> A <span class="f1">@{Voile|Skill_general_attribute_select_dodge}</span><span class="f2">@{{you}|Skill_general_attribute_select_dodge}</span> t <span class="f1">@{Voile|transcendence}</span><span class="f2">@{{you}|transcendence}</span> s <span class="f1">?{Voile|Seuil</span><span class="f2">?{{you}|Seuil</span> d'esquive} - ?{Dégats a esquiver|0} a e n <span class="f1">@{Voile|undescored_name}</span><span class="f2">@{{you}|undescored_name}</span> v <span class="f1">@{Voile|pctreceived}</span><span class="f2">@{{you}|pctreceived}</span> v <span class="f1">@{Voile|pctreceived_s}</span><span class="f2">@{{you}|pctreceived_s}</span> v <span class="f1">@{Voile|pctreceived_b}</span><span class="f2">@{{you}|pctreceived_b}</span> + <span class="f1">@{Voile|temp_esq}</span><span class="f2">@{{you}|temp_esq}</span> + <span class="f1">@{Voile|momentum_esq}</span><span class="f2">@{{you}|momentum_esq}</span> + <span class="f1">@{Voile|tempo_esq}</span><span class="f2">@{{you}|tempo_esq}</span>
|
||||
!setattr --name <span class="f1">Voile</span><span class="f2">{you}</span> --temp_esq|0 --tempo_esq|0
|
||||
{m}change_momentum
|
||||
|
||||
[parade_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I <span class="f1">@{Voile|skillcost_Defense_impenetrable} @{Voile|general_effective_Defense_impenetrable}</span><span class="f2">@{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable}</span> R <span class="f1">@{Voile|general_effective_Rempart_parfait}</span><span class="f2">@{{you}|general_effective_Rempart_parfait}</span> c <span class="f1">@{Voile|crit_level}</span><span class="f2">@{{you}|crit_level}</span> S <span class="f1">@{Voile|general_skilllevel_Encaissement} @{Voile|general_effective_Encaissement}</span><span class="f2">@{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement}</span> H <span class="f1">@{Voile|base_defense_dices}</span><span class="f2">@{{you}|base_defense_dices}</span> H <span class="f1">@{Voile|exal_defense_dices}</span><span class="f2">@{{you}|exal_defense_dices}</span> s <span class="f1">@{Voile|general_defense_threshold}</span><span class="f2">@{{you}|general_defense_threshold}</span> l <span class="f1">@{Voile|general_defense_addall}</span><span class="f2">@{{you}|general_defense_addall}</span> A <span class="f1">@{Voile|Skill_general_attribute_select_defense}</span><span class="f2">@{{you}|Skill_general_attribute_select_defense}</span> t <span class="f1">@{Voile|transcendence}</span><span class="f2">@{{you}|transcendence}</span> - ?{Dégats a parer|0} a d n <span class="f1">@{Voile|undescored_name}</span><span class="f2">@{{you}|undescored_name}</span> + <span class="f1">@{Voile|general_effective_shield1}</span><span class="f2">@{{you}|general_effective_shield1}</span> + <span class="f1">@{Voile|general_effective_shield2}</span><span class="f2">@{{you}|general_effective_shield2}</span> + <span class="f1">@{Voile|general_effective_shield3}</span><span class="f2">@{{you}|general_effective_shield3}</span> v <span class="f1">@{Voile|pctreceived}</span><span class="f2">@{{you}|pctreceived}</span> v <span class="f1">@{Voile|pctreceived_s}</span><span class="f2">@{{you}|pctreceived_s}</span> v <span class="f1">@{Voile|pctreceived_b}</span><span class="f2">@{{you}|pctreceived_b}</span> v <span class="f1">@{Voile|temp_pdef}</span><span class="f2">@{{you}|temp_pdef}</span> + <span class="f1">@{Voile|temp_def}</span><span class="f2">@{{you}|temp_def}</span> + <span class="f1">@{Voile|momentum_esq}</span><span class="f2">@{{you}|momentum_esq}</span> + <span class="f1">@{Voile|tempo_par}</span><span class="f2">@{{you}|tempo_par}</span> + ?{Type <span class="f1">d'attaque|Physique,@{selected|general_skilllevel_res_physique_effective}|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0}</span><span class="f2">d'attaque|Physique,@{{you}|general_skilllevel_res_physique_effective}|Magique,@{{you}|general_skilllevel_res_magique_effective}|{you},@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0}</span> + <span class="f1">@{selected|general_skilllevel_res_omega_effective}</span><span class="f2">@{{you}|general_skilllevel_res_omega_effective}
|
||||
</span> !setattr --name <span class="f1">Voile</span><span class="f2">{you}</span> --temp_pdef|0 --temp_def|0 --tempo_par|0
|
||||
{m}change_momentum
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade magique
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I <span class="f1">@{Voile|skillcost_Defense_impenetrable} @{Voile|general_effective_Defense_impenetrable}</span><span class="f2">@{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable}</span> R <span class="f1">@{Voile|general_effective_Rempart_parfait}</span><span class="f2">@{{you}|general_effective_Rempart_parfait}</span> c <span class="f1">@{Voile|crit_level}</span><span class="f2">@{{you}|crit_level}</span> S <span class="f1">@{Voile|general_skilllevel_Encaissement} @{Voile|general_effective_Encaissement}</span><span class="f2">@{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement}</span> H <span class="f1">@{Voile|base_defense_dices}</span><span class="f2">@{{you}|base_defense_dices}</span> H <span class="f1">@{Voile|exal_defense_dices}</span><span class="f2">@{{you}|exal_defense_dices}</span> s <span class="f1">@{Voile|general_defense_threshold}</span><span class="f2">@{{you}|general_defense_threshold}</span> l <span class="f1">@{Voile|general_defense_addall}</span><span class="f2">@{{you}|general_defense_addall}</span> A <span class="f1">@{Voile|Skill_general_attribute_select_defense}</span><span class="f2">@{{you}|Skill_general_attribute_select_defense}</span> t <span class="f1">@{Voile|transcendence}</span><span class="f2">@{{you}|transcendence}</span> - ?{Dégats a parer|0} a d n <span class="f1">@{Voile|undescored_name}</span><span class="f2">@{{you}|undescored_name}</span> + <span class="f1">@{Voile|general_effective_shield3}</span><span class="f2">@{{you}|general_effective_shield3}</span> v <span class="f1">@{Voile|pctreceived}</span><span class="f2">@{{you}|pctreceived}</span> v <span class="f1">@{Voile|pctreceived_s}</span><span class="f2">@{{you}|pctreceived_s}</span> v <span class="f1">@{Voile|pctreceived_b}</span><span class="f2">@{{you}|pctreceived_b}</span> v <span class="f1">@{Voile|temp_pdef}</span><span class="f2">@{{you}|temp_pdef}</span> + <span class="f1">@{Voile|temp_def}</span><span class="f2">@{{you}|temp_def}</span> + <span class="f1">@{Voile|momentum_esq}</span><span class="f2">@{{you}|momentum_esq}</span> + ?{Type <span class="f1">d'attaque|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{selected|general_skilllevel_res_physique_effective}}</span><span class="f2">d'attaque|Magique,@{{you}|general_skilllevel_res_magique_effective}|{you},@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{{you}|general_skilllevel_res_physique_effective}}</span> + <span class="f1">@{selected|general_skilllevel_res_omega_effective}</span><span class="f2">@{{you}|general_skilllevel_res_omega_effective}</span>
|
||||
!setattr --name <span class="f1">Voile</span><span class="f2">{you}</span> --temp_pdef|0 --temp_def|0
|
||||
{m}change_momentum
|
||||
|
||||
[harmony]
|
||||
level=Ultime
|
||||
type = Reserve/Passif
|
||||
<span class="f6">@@ -264,29 +262,15 @@</span>
|
||||
level=Ultime
|
||||
display_name=Sceau Du Phenix
|
||||
type=Actif/Durée/buff
|
||||
cost=8
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0HmbYyglmpIEtJtRV_magic_vital_skilllevel}
|
||||
description=Consomme {sceau_du_phenix_charge_level} points de la Porte de Sang, vous pouvez dépenser ses points meme si cela devait consummez plus que votre reserve. Si vous faites ainsi, vous perdez <span class="f1">[[{b_phenix_alt_charge}*@{Voile|multiple_seals}]]</span><span class="f2">[[{b_phenix_alt_charge}]]</span> points de vie maximum. Vous gagnez une grande regeneration et ne pouvez pas mourir.
|
||||
self=Les {X} prochainnes attaques ne peuvent pas vous tuer, a chaque fois que vous devriez mourir regagnez <span class="f1">[[{b_phenix_reg}*@{Voile|multiple_seals}]]</span><span class="f2">[[{b_phenix_reg}]]</span> points de vie a la place.
|
||||
others= ** Sceau du Phenix ** Dans l’adversité, le Phénix de Voile se relève de ses Cendre
|
||||
special =
|
||||
macro = {vset} {door} --mod <span class="f1">--blood_gate|-[[{sceau_du_phenix_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
|
||||
<span class="f1">[bis_repetitas]</span>
|
||||
<span class="f1"> level=Avancée</span>
|
||||
<span class="f1"> display_name=Bis Repetitas</span>
|
||||
<span class="f1"> type=Actif/Instant</span>
|
||||
<span class="f1"> cost=8</span>
|
||||
<span class="f1"> X = @{Voile|repeating_magic-vital-skills_-Lk0IHG528wQQzEWVnyC_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> description=Consomme {b_bis_repetitas_charge_level} points de la Porte des Abysses. La prochaine attaque non technique portée contre un adversaire ciblé infligeras [[{X}*{b_Bis_repetitas_Onhit}]] pourcent de dégats suplémentaires.</span>
|
||||
<span class="f1"> self=La prochaine attaque portée contre un adversaire ciblé infligeras [[{X}*{b_Bis_repetitas_Onhit}]] pourcent de dégats suplémentaires.</span>
|
||||
<span class="f1"> others= ** Bis Repetitas ** Dans un éclat de lumiere sanglante, un éclat de temps viens heurter la réalitée, brouillant le passé et le présent, frappant encore et encore.</span>
|
||||
<span class="f1"> special =</span>
|
||||
<span class="f1"> macro = {vset} {door} --mod --abyss_gate|-[[{b_bis_repetitas_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {vset} {you} --mod --temp_pdmg|[[{X}*{b_bis_repetitas_onhit}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {reset_multiple}</span><span class="f2">--blood_gate|-[[{sceau_du_phenix_charge_level}]]</span>
|
||||
|
||||
[Lune_de_Sang]
|
||||
level=Avancée
|
||||
display_name=Lune de sang
|
||||
cost=2
|
||||
<span class="f6">@@ -312,52 +296,10 @@</span>
|
||||
others= ** Sang ** Un éclat de douleur dans un éclat d'acier, voile inflige [[{b_sang_dmg}*{X}*@{Voile|multiple_seals}]] blessures sur une cible a [[{X}]] metres d'elle.
|
||||
special =
|
||||
macro = {vset} {door} --mod --blood_gate|[[-1*{b_sang_charge_level}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
<span class="f1">[Temps]</span>
|
||||
<span class="f1"> level=Mineure</span>
|
||||
<span class="f1"> display_name=Temps</span>
|
||||
<span class="f1"> type=Actif/Instant</span>
|
||||
<span class="f1"> cost=16</span>
|
||||
<span class="f1"> X = @{Voile|repeating_magic-vital-skills_-Lk0Iq6aEZjX8hGsfbZg_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> description=Consomme {b_temps_charge_level} points de la Porte de Abysses.</span>
|
||||
<span class="f1"> Un sceau se relance</span>
|
||||
<span class="f1"> self=Votre sceau se relance jusqu'a [[{X}*@{Voile|multiple_seals}]] fois</span>
|
||||
<span class="f1"> others=** Temps ** Ployant sous la force de la volontée des morts, le temps boucle un instant, répétant un sceau ancien.</span>
|
||||
<span class="f1"> special =</span>
|
||||
<span class="f1"> macro = {vset} {door} --mod --abyss_gate|[[-{b_temps_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {reset_multiple}</span>
|
||||
|
||||
<span class="f1">[Souffle_de_sang]</span>
|
||||
<span class="f1"> level=Mineure</span>
|
||||
<span class="f1"> display_name=Souffle De Sang</span>
|
||||
<span class="f1"> type=Actif/Instant/Empower</span>
|
||||
<span class="f1"> X = @{Voile|repeating_magic-vital-skills_-Lk0IuscZnLZGW3GnEx0_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> cost=4</span>
|
||||
<span class="f1"> description=Consomme {b_souffle_de_sang_charge_level} points de la Porte de Souffrance</span>
|
||||
<span class="f1"> Votre prochaine attaque gagne un Fauchage</span>
|
||||
<span class="f1"> self=Votre prochaine attaque peut toucher jusqu'a [[{X}*{b_souffle_de_sang}*@{Voile|multiple_seals}]] cibles supplémentaires sans malus, elle obeit aux regles de fauchage.</span>
|
||||
<span class="f1"> others= ** Souffle de Sang **La souffrance canalisée en une lame éthérée, tranchant tout sur son passage</span>
|
||||
<span class="f1"> special =</span>
|
||||
<span class="f1"> macro = {vset} {door} --mod --suffering_gate|[[-{b_souffle_de_sang_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {reset_multiple}</span>
|
||||
|
||||
<span class="f1">[Influx]</span>
|
||||
<span class="f1"> level=Mineure</span>
|
||||
<span class="f1"> display_name=Influx</span>
|
||||
<span class="f1"> type=Actif/Durée/Buff</span>
|
||||
<span class="f1"> X = @{Voile|repeating_magic-vital-skills_-Lk0J1ZhLzPrkvj3y3S0_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> cost=8</span>
|
||||
<span class="f1"> description=Consomme {b_influx_charge_level} points de la Porte de Abysses</span>
|
||||
<span class="f1"> Augmente les attributs physique de {b_influx_phys}*{X}</span>
|
||||
<span class="f1"> self= Vous augmente vos attributs physique de [[{b_influx_phys}*{X}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> others= ** Influx **</span>
|
||||
<span class="f1"> special =</span>
|
||||
<span class="f1"> macro = {vset} {door} --mod --abyss_gate|[[-{b_influx_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {reset_multiple}</span>
|
||||
|
||||
[Contresang]
|
||||
level=Mineure
|
||||
display_name=Contresang
|
||||
type=Actif/Instant
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0J6g4u8NBNAFB3asT_magic_vital_skilllevel}
|
||||
<span class="f6">@@ -369,24 +311,10 @@</span>
|
||||
special =
|
||||
macro = {vset} {door} --mod --blood_gate|[[-{b_contresang_charge_level}*@{Voile|multiple_seals}]]
|
||||
{vset} {you} --Life_Points|[[{@{{you}|Life_Points}+[[{b_contresang_soin}*@{Voile|multiple_seals}]],@{{you}|Life_Points|max}}kl1]]
|
||||
{reset_multiple}
|
||||
|
||||
<span class="f1">[Ame]</span>
|
||||
<span class="f1"> level=Mineure</span>
|
||||
<span class="f1"> display_name=Ame</span>
|
||||
<span class="f1"> type=Actif/Instant</span>
|
||||
<span class="f1"> cost=8</span>
|
||||
<span class="f1"> X = @{Voile|repeating_magic-vital-skills_-Lk0JFRyMCjaM7mSPEzI_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> description=Consomme {b_ame_charge_level} points de la Porte de Abysses</span>
|
||||
<span class="f1"> Augmente la zone d’un sceau a {b_ame_target}*{X} cible ou {b_ame_alt_range}*{X} metres</span>
|
||||
<span class="f1"> self=Augmente la zone d’un sceau a [[{b_ame_target}*{X}*@{Voile|multiple_seals}]] cible ou [[{b_ame_alt_range}*{X}*@{Voile|multiple_seals}]] metres</span>
|
||||
<span class="f1"> others= ** Ame ** Les Combatants autours de Voile partagent sa puissance un instant.</span>
|
||||
<span class="f1"> special =</span>
|
||||
<span class="f1"> macro = {vset} {door} --mod --abyss_gate|[[-{b_ame_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {reset_multiple}</span>
|
||||
|
||||
[Veine]
|
||||
level=Mineure
|
||||
display_name=Veine
|
||||
type=Actif/Instant
|
||||
cost=8
|
||||
<span class="f6">@@ -440,10 +368,24 @@</span>
|
||||
others= ** Ombre ** Se frayer un chemin parmis les lignes adverses est bien plus facile lorsque on est invisible.
|
||||
special =
|
||||
macro ={vset} {door} --mod --suffering_gate|[[-{b_ombre_chargelevel}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
<span class="f2">[Souffle_de_sang]</span>
|
||||
<span class="f2"> level=Mineure</span>
|
||||
<span class="f2"> display_name=Souffle De Sang</span>
|
||||
<span class="f2"> type=Actif/Instant/Empower</span>
|
||||
<span class="f2"> X = @{Voile|repeating_magic-vital-skills_-Lk0IuscZnLZGW3GnEx0_magic_vital_skilllevel}</span>
|
||||
<span class="f2"> cost=4</span>
|
||||
<span class="f2"> description=Consomme {b_souffle_de_sang_charge_level} points de la Porte de Souffrance</span>
|
||||
<span class="f2"> Votre prochaine attaque gagne un Fauchage</span>
|
||||
<span class="f2"> self=Votre prochaine attaque peut toucher jusqu'a [[{X}*{b_souffle_de_sang}*@{Voile|multiple_seals}]] cibles supplémentaires sans malus, elle obeit aux regles de fauchage.</span>
|
||||
<span class="f2"> others= ** Souffle de Sang **La souffrance canalisée en une lame éthérée, tranchant tout sur son passage</span>
|
||||
<span class="f2"> special =</span>
|
||||
<span class="f2"> macro = {vset} {door} --mod --suffering_gate|[[-{b_souffle_de_sang_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {reset_multiple}</span>
|
||||
|
||||
[Torrent_Pourpre]
|
||||
Level=Avancée
|
||||
display_name=Torrent pourpre
|
||||
type=Passif
|
||||
cost=8
|
||||
<span class="f6">@@ -454,10 +396,66 @@</span>
|
||||
self= # Passif, pas de display
|
||||
others=
|
||||
special =
|
||||
macro = {vset} {door} --mod --suffering_gate|[[floor(?{Ouverture de la porte de la Souffrance}*({X}*{b_torrentpourpre_souffrance}+{b_base_abysse})/100)]] --abyss_gate|[[floor(?{Ouverture de la porte des Abysses}*({X}*{b_torrentpourpre_abysse}+{b_base_souffrance})/100)]] --blood_gate|[[floor(?{Ouverture de la porte de Sang}*({X}*{b_torrentpourpre_sang}+{b_base_sang})/100)]]
|
||||
|
||||
<span class="f2">[Temps]</span>
|
||||
<span class="f2"> level=Mineure</span>
|
||||
<span class="f2"> display_name=Temps</span>
|
||||
<span class="f2"> type=Actif/Instant</span>
|
||||
<span class="f2"> cost=16</span>
|
||||
<span class="f2"> X = @{Voile|repeating_magic-vital-skills_-Lk0Iq6aEZjX8hGsfbZg_magic_vital_skilllevel}</span>
|
||||
<span class="f2"> description=Consomme {b_temps_charge_level} points de la Porte de Abysses.</span>
|
||||
<span class="f2"> Un sceau se relance</span>
|
||||
<span class="f2"> self=Votre sceau se relance jusqu'a [[{X}*@{Voile|multiple_seals}]] fois</span>
|
||||
<span class="f2"> others=** Temps ** Ployant sous la force de la volontée des morts, le temps boucle un instant, répétant un sceau ancien.</span>
|
||||
<span class="f2"> special =</span>
|
||||
<span class="f2"> macro = {vset} {door} --mod --abyss_gate|[[-{b_temps_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {reset_multiple}</span>
|
||||
|
||||
<span class="f2">[Ame]</span>
|
||||
<span class="f2"> level=Mineure</span>
|
||||
<span class="f2"> display_name=Ame</span>
|
||||
<span class="f2"> type=Actif/Instant</span>
|
||||
<span class="f2"> cost=8</span>
|
||||
<span class="f2"> X = @{Voile|repeating_magic-vital-skills_-Lk0JFRyMCjaM7mSPEzI_magic_vital_skilllevel}</span>
|
||||
<span class="f2"> description=Consomme {b_ame_charge_level} points de la Porte de Abysses</span>
|
||||
<span class="f2"> Augmente la zone d’un sceau a {b_ame_target}*{X} cible ou {b_ame_alt_range}*{X} metres</span>
|
||||
<span class="f2"> self=Augmente la zone d’un sceau a [[{b_ame_target}*{X}*@{Voile|multiple_seals}]] cible ou [[{b_ame_alt_range}*{X}*@{Voile|multiple_seals}]] metres</span>
|
||||
<span class="f2"> others= ** Ame ** Les Combatants autours de Voile partagent sa puissance un instant.</span>
|
||||
<span class="f2"> special =</span>
|
||||
<span class="f2"> macro = {vset} {door} --mod --abyss_gate|[[-{b_ame_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {reset_multiple}</span>
|
||||
|
||||
<span class="f2">[Influx]</span>
|
||||
<span class="f2"> level=Mineure</span>
|
||||
<span class="f2"> display_name=Influx</span>
|
||||
<span class="f2"> type=Actif/Durée/Buff</span>
|
||||
<span class="f2"> X = @{Voile|repeating_magic-vital-skills_-Lk0J1ZhLzPrkvj3y3S0_magic_vital_skilllevel}</span>
|
||||
<span class="f2"> cost=8</span>
|
||||
<span class="f2"> description=Consomme {b_influx_charge_level} points de la Porte de Abysses</span>
|
||||
<span class="f2"> Augmente les attributs physique de {b_influx_phys}*{X}</span>
|
||||
<span class="f2"> self= Vous augmente vos attributs physique de [[{b_influx_phys}*{X}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> others= ** Influx **</span>
|
||||
<span class="f2"> special =</span>
|
||||
<span class="f2"> macro = {vset} {door} --mod --abyss_gate|[[-{b_influx_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {reset_multiple}</span>
|
||||
|
||||
<span class="f2">[bis_repetitas]</span>
|
||||
<span class="f2"> level=Avancée</span>
|
||||
<span class="f2"> display_name=Bis Repetitas</span>
|
||||
<span class="f2"> type=Actif/Instant</span>
|
||||
<span class="f2"> cost=8</span>
|
||||
<span class="f2"> X = @{Voile|repeating_magic-vital-skills_-Lk0IHG528wQQzEWVnyC_magic_vital_skilllevel}</span>
|
||||
<span class="f2"> description=Consomme {b_bis_repetitas_charge_level} points de la Porte des Abysses. La prochaine attaque non technique portée contre un adversaire ciblé infligeras [[{X}*{b_Bis_repetitas_Onhit}]] pourcent de dégats suplémentaires.</span>
|
||||
<span class="f2"> self=La prochaine attaque portée contre un adversaire ciblé infligeras [[{X}*{b_Bis_repetitas_Onhit}]] pourcent de dégats suplémentaires.</span>
|
||||
<span class="f2"> others= ** Bis Repetitas ** Dans un éclat de lumiere sanglante, un éclat de temps viens heurter la réalitée, brouillant le passé et le présent, frappant encore et encore.</span>
|
||||
<span class="f2"> special =</span>
|
||||
<span class="f2"> macro = {vset} {door} --mod --abyss_gate|-[[{b_bis_repetitas_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {vset} {you} --mod --temp_pdmg|[[{X}*{b_bis_repetitas_onhit}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {reset_multiple}</span>
|
||||
|
||||
[Brume_de_sang]
|
||||
Level=Avancée
|
||||
display_name=Brume de sang
|
||||
type=Passif/Buff/Durée
|
||||
cost=4
|
||||
<span class="f6">@@ -505,13 +503,12 @@</span>
|
||||
macro =
|
||||
|
||||
[Bain_de_Sang]
|
||||
Level=Avancée
|
||||
display_name=Bain de Sang
|
||||
<span class="f1">cost=16</span><span class="f2">cost=2</span>
|
||||
type=Passif/Instant
|
||||
<span class="f1">BA = @{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}</span> description= <span class="f1">Lors de l’ouverture d’un sceau, offre un bonus {b_bainsang_act}*{BA} en nombre d’action</span><span class="f2">Les [[{b_bloodbath}*{BA}]] premiers sceaux du tour comptent comme des actions libres.</span>
|
||||
self=
|
||||
others=
|
||||
special=
|
||||
macro =
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,633 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">diff --git a/Helpers/Characters/God.ini b/Helpers/Characters/God.ini</span>
|
||||
<span class="bold">index 2726b3a..5281927 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/God.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/God.ini</span>
|
||||
<span class="f6">@@ -19,64 +19,66 @@</span>
|
||||
b_harmony=2
|
||||
harmony_charge=un point par semaine
|
||||
b_shadow_har=10
|
||||
b_shadow_har_disc=1
|
||||
b_shadow_har_int=1
|
||||
<span class="f1">b_metal_har=2</span>
|
||||
<span class="f1"> b_wind_har_act=4</span>
|
||||
<span class="f1"> b_wind_har_opp=3</span><span class="f2">b_metal_har=1.7</span>
|
||||
<span class="f2"> b_wind_har_act=1</span>
|
||||
<span class="f2"> b_wind_har_opp=1.3</span>
|
||||
<span class="f2"> b_fou_dmg=0.3</span>
|
||||
b_momentum_dmg=5
|
||||
b_momentum_speed=2
|
||||
b_momentum_max=10
|
||||
b_momentum_esq=4
|
||||
b_momentum_sec=0.3
|
||||
b_impact=4.5
|
||||
b_impact_size=0.13
|
||||
b_adagio=1
|
||||
<span class="f1">b_tempo_dep=6</span><span class="f2">b_tempo_dep=4</span>
|
||||
b_tempo_degre=1
|
||||
<span class="f1">b_tempo=42</span>
|
||||
<span class="f1"> b_tempo_max=252</span><span class="f2">b_tempo=30</span>
|
||||
<span class="f2"> b_tempo_max=240</span>
|
||||
b_phenix_reg=45
|
||||
<span class="f1">sceau_du_phenix_charge_level=100</span><span class="f2">sceau_du_phenix_charge_level=80</span>
|
||||
b_phenix_alt_charge=15
|
||||
b_bis_repetitas_charge_level=4
|
||||
b_bis_repetitas_onhit= 50
|
||||
<span class="f1">b_lune_de_sang_charge_level=35</span>
|
||||
<span class="f1"> b_sceaulunesang_shield=38</span>
|
||||
<span class="f1"> b_sang_charge_level=55</span>
|
||||
<span class="f1"> b_sang_dmg=70</span><span class="f2">b_lune_de_sang_charge_level=25</span>
|
||||
<span class="f2"> b_sceaulunesang_shield=33</span>
|
||||
<span class="f2"> b_sang_charge_level=35</span>
|
||||
<span class="f2"> b_sang_dmg=50</span>
|
||||
b_temps_charge_level=6
|
||||
b_souffle_de_sang_charge_level=15
|
||||
b_souffle_de_sang=2
|
||||
b_influx_charge_level=3
|
||||
b_influx_phys=2
|
||||
<span class="f1">b_contresang_soin=35</span>
|
||||
<span class="f1"> b_contresang_charge_level=55</span><span class="f2">b_contresang_soin=30</span>
|
||||
<span class="f2"> b_contresang_charge_level=30</span>
|
||||
b_ame_charge_level=5
|
||||
b_ame_target=2
|
||||
b_ame_alt_range=10
|
||||
b_veine_charge_level=20
|
||||
b_veine_duree=1
|
||||
<span class="f1">b_sangfeu_charge_level=40</span><span class="f2">b_sangfeu_charge_level=30</span>
|
||||
b_sangfeu_dmg=50
|
||||
b_amplitude_chargelevel=10
|
||||
b_amplitude_percent=45
|
||||
b_ombre_chargelevel=20
|
||||
b_ombre_discretion=4
|
||||
b_iresanglante_dmg=30
|
||||
b_brumesang_value=20
|
||||
b_torrentpourpre_abysse=20
|
||||
b_base_abysse=100
|
||||
<span class="f1">b_torrentpourpre_souffrance=10</span>
|
||||
<span class="f1"> b_base_souffrance=40</span><span class="f2">b_torrentpourpre_souffrance=20</span>
|
||||
<span class="f2"> b_base_souffrance=50</span>
|
||||
b_torrentpourpre_sang=10
|
||||
b_base_sang=25
|
||||
b_soifimpie_rgn=4
|
||||
d_soif_heal=10
|
||||
<span class="f1">b_foudresang_init=9</span>
|
||||
<span class="f1"> b_bainsang_act=2</span><span class="f2">b_bloodbath=40</span>
|
||||
<span class="f2"> b_bloodbath_heal=20</span>
|
||||
<span class="f2"> b_bloodbath_act=5</span>
|
||||
|
||||
[Characters/frene.ini]
|
||||
b_revigoration=2
|
||||
b_morsure_hiver=4
|
||||
b_robustesse_hiver=5
|
||||
<span class="f6">@@ -112,13 +114,12 @@</span>
|
||||
b_bourrasque_dmg=2.5
|
||||
b_bourrasque_size=2
|
||||
b_permafrost_act=0.6
|
||||
b_permafrost_resist=3
|
||||
b_permafrost_carac=6
|
||||
<span class="f1">b_voile_aurore=15</span>
|
||||
<span class="f1"> b_voile_aurore_spells=2</span>
|
||||
<span class="f1"> b_voile_aurore_buff=2</span><span class="f2">b_voile_aurore=16</span>
|
||||
<span class="f2"> b_voile_aurore_buff=0.1</span>
|
||||
|
||||
[Characters/reginald.ini]
|
||||
b_power_arcana=2
|
||||
b_elem=1.8
|
||||
b_power=5r<2
|
||||
<span class="f6">@@ -189,16 +190,18 @@</span>
|
||||
b_inebranlable_cost=3
|
||||
b_inebranlable_maintien=4
|
||||
b_inebranlable_encaissement=2
|
||||
b_inebranlable_reduction=-2.3
|
||||
b_inebranlable_actions=4
|
||||
<span class="f1">b_unicite_dmg=5</span><span class="f2">b_unicite_dmg=4</span>
|
||||
b_unicite_cost=4
|
||||
b_unicite_maintien=3
|
||||
b_peaume_cost=6
|
||||
b_peaume_DD=1
|
||||
b_peaume_dmg=-25
|
||||
<span class="f1">b_poing_fulgurant_cost=3</span>
|
||||
<span class="f1"> b_poing_fulgurant_init=12</span><span class="f2">b_usurpation=6</span>
|
||||
<span class="f2"> b_usurpation_cost=2</span>
|
||||
<span class="f2"> b_monde_reduct=0.5</span>
|
||||
<span class="f2"> b_monde_qi=2</span>
|
||||
b_chatiment_cost=-10
|
||||
b_chatiment_dmg=16
|
||||
b_chatiment_pct=8
|
||||
<span class="bold">diff --git a/Helpers/Characters/frene.ini b/Helpers/Characters/frene.ini</span>
|
||||
<span class="bold">index 219b262..3be3bd3 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/frene.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/frene.ini</span>
|
||||
<span class="f6">@@ -42,11 +42,11 @@</span>
|
||||
Si vous ne pouvez plus agir, votre aspect gagne [[floor({simu}{b_simulation_aspect})]] actions supplémentaires jusqu'à la reprise de contrôle du personnage.
|
||||
Reduit les dégats subits de [[floor({garde}*{a_air}/{b_garde_aspect})]]
|
||||
{prelude} fois par combat, si le personnage devrait subir des dégâts létaux, Stase Cryogénique est utilisé sur lui-même a la place.
|
||||
Il vous reste {colere} utilisations de **[Colere de l'Aspect]**
|
||||
others=
|
||||
macro={vset} {you}<span class="f1">--momentum|0</span> --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --mana|@{{you}|mana|max} --pctreceived_b|0 --pctreceived_s|0 --general_item_shield3|[[floor({garde}*{a_air}/{b_garde_aspect})]] --colere_stacks|[[{colere}{b_colere_max}]] --elem_omega|0
|
||||
|
||||
[turn]
|
||||
description=Macro de début de tour
|
||||
self=
|
||||
others=
|
||||
<span class="f6">@@ -403,16 +403,17 @@</span>
|
||||
[voile_aurore]
|
||||
level=Ultime
|
||||
type=Actif/Buff/Durée
|
||||
display_name=Voile de l'aurore
|
||||
cost=8
|
||||
<span class="f1">mp=16</span><span class="f2">mp=10</span>
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-Hga0BioOZVTROln9_magic_aspected_skilllevel}
|
||||
description=Projette un voile sur toutes les cibles alliées affectés par Robustesse de l’hiver.
|
||||
Ce voile annule les dégâts des [[{X}*{b_voile_aurore}]] prochaines attaques/sorts.
|
||||
Tant que le voile n’est pas brisé, la Volonté des personnes affectées augmente de {X} points.
|
||||
self=
|
||||
others= Un voile recouvre les alliés aux alentours, protégeant des dégâts et renforçant leur volonté.
|
||||
special=
|
||||
macro=**Voile de l'aurore** [Coût : {mp}] <span class="f1">Protection</span><span class="f2">Toutes les cibles affectées par un effet *Robustesse de l'Hiver* recoivent une protection</span> de [[floor({X}*({a_air}+{a_bois})*{b_voile_aurore})]] sur<span class="f1">les [[{X}*{b_voile_aurore_spells}]] prochaines attaques. Augmente</span> la <span class="f1">volonté</span><span class="f2">prochaine attaque. Tant qu'ils ont des marques</span> de <span class="f1">[[{X}*{a_vapeur}/{b_voile_aurore_buff}]]</span><span class="f2">*Robustesse de l'Hiver* ils beneficient d'un bonus de [[floor({X}*{a_vapeur}*{b_voile_aurore_buff})]] en volonté (cet effet est cumulable jusqu'a [[{X}+1]] fois)
|
||||
</span> {manasub}-{mp}
|
||||
<span class="f2">[Protection de l'aurore](!&#13;#aurore [[floor({X}*({a_air}+{a_bois})*{b_voile_aurore})]])</span>
|
||||
#zone et prot
|
||||
<span class="bold">diff --git a/Helpers/Characters/reginald.ini b/Helpers/Characters/reginald.ini</span>
|
||||
<span class="bold">index 7adc1ff..0a3ae16 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/reginald.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/reginald.ini</span>
|
||||
<span class="f6">@@ -41,17 +41,17 @@</span>
|
||||
|
||||
[start]
|
||||
description=Début du combat
|
||||
self=&{template:default} {{name=Recap}} {{Pioche=[[{inspiration}+1]]}} {{Main=[[{grandeur}+2]] cartes}} {{Garde=[[{instinct}]]}} {{Repioche=[[{incandescance}+1]] c/tour}}
|
||||
others=
|
||||
macro= !setattr --name {you}<span class="f1">--momentum|0</span> --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --pctreceived_b|0 --pctreceived_s|0 --elem_omega|0 --fluctus|0|{b_fluctus_max} --celeritas_rem|{celeritas_level}
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade magique
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} + @{{you}|temp_def} +<span class="f1">@{{you}|momentum_esq} +</span> ?{Type d'attaque|Magique,@{{you}|general_skilllevel_res_magique_effective}|{you},@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{{you}|general_skilllevel_res_physique_effective}} + @{{you}|general_skilllevel_res_omega_effective}
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[turn]
|
||||
description=Début du tour
|
||||
self=#Il vous reste [[{dementia_cost}*{b_dementia}]] utilisation de Dementia ce tour-ci.
|
||||
<span class="bold">diff --git a/Helpers/Characters/tian.ini b/Helpers/Characters/tian.ini</span>
|
||||
<span class="bold">index b459747..adf4ca5 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/tian.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/tian.ini</span>
|
||||
<span class="f6">@@ -24,16 +24,17 @@</span>
|
||||
metal = (@{Tian-Hu|elem_metal_tot}+@{Tian-Hu|elem_omega})
|
||||
magma = (@{Tian-Hu|elem_magma_tot}+@{Tian-Hu|elem_omega})
|
||||
vapeur = (@{Tian-Hu|elem_vapeur_tot}+@{Tian-Hu|elem_omega})
|
||||
bois = (@{Tian-Hu|elem_bois_tot}+@{Tian-Hu|elem_omega})
|
||||
foudre = (@{Tian-Hu|elem_foudre_tot}+@{Tian-Hu|elem_omega})
|
||||
<span class="f2">usur_level = @{Tian-Hu|repeating_skills_-LmAz-4nRLCAA7zh0avs_general_skilllevel}</span>
|
||||
|
||||
[start]
|
||||
self = Votre déplacement est de <span class="f1">[[{sp}*2+{ap_level}]]</span><span class="f2">[[{sp}*2+{ap_level}]], Il vous reste [[@{usurpation_charges}]] utilisations de *Usurpation du souffle*.</span>
|
||||
description =
|
||||
others =
|
||||
macro = !setattr --name Tian-Hu --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --pctreceived_b|0 --pctreceived_s|0 --elem_omega|0 --qi|0|[[{qi_level}*{b_qimax}]] --element|0 --element_dmg|0 --general_item_shield3|[[{b_apotheose}*{ap_level}*@{Tian-Hu|base-custom}]] --general_skilllevel_Endurance_surnaturelle|[[{end}+{ap_level}]] --parry_power|[[{neg_level}*{b_negation_par}]] --maintien_qi|0 --elemental_dmg|0 --pctreceived_in|0 <span class="f2">--usurpation_charges|{usur_level}</span>
|
||||
|
||||
[turn]
|
||||
self=
|
||||
description=
|
||||
others=
|
||||
<span class="f6">@@ -55,11 +56,11 @@</span>
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade magique
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} + @{{you}|temp_def} +<span class="f1">@{{you}|momentum_esq} +</span> @{Tian-Hu|elemental_dmg} + ?{Type d'attaque|Magique,@{{you}|general_skilllevel_res_magique_effective}|{you},@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{{you}|general_skilllevel_res_physique_effective}} + @{{you}|general_skilllevel_res_omega_effective}
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[esquive]
|
||||
self=
|
||||
description=
|
||||
<span class="f6">@@ -95,11 +96,11 @@</span>
|
||||
|
||||
[creuset_des_energies]
|
||||
level = Ultime
|
||||
display_name = Creuset des Énergies
|
||||
description = Crée une réserve nommé Qi des Origines basée sur toutes les affinités et dont la génération dépend de l’Unité.
|
||||
self = Vous possedez actuellement {qi} {D}, votre régénération est de <span class="f1">[[{b_regen_qi_flat}+{qi_level}*{b_regen_qi}-@{{you}|maintien_qi}]]</span><span class="f2">[[{b_regen_qi_flat}+{qi_level}*{b_regen_qi}-@{{you}|maintien_qi}]], il vous reste @{Tian-Hu|usurpation_charges} charges *d'Usurpation du Souffle*</span>
|
||||
type = Passif/Reserve
|
||||
others =
|
||||
cost = 8
|
||||
macro =
|
||||
special =
|
||||
<span class="f6">@@ -214,11 +215,11 @@</span>
|
||||
self =
|
||||
type = Actif / Buff / Maintenu
|
||||
others = **[{D} : {b_unicite_cost} + {b_unicite_maintien}]**
|
||||
cost = 4
|
||||
X = @{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}
|
||||
macro = !setattr --name {you} <span class="f1">--elemental_dmg|?{Element|Eau,[[{eau}*{b_unicite_dmg}]]| Air,[[{air}*{b_unicite_dmg}]]| Feu,[[{feu}*{b_unicite_dmg}]]| Terre,[[{terre}*{b_unicite_dmg}]]| Glace,[[{glace}*{b_unicite_dmg}]]| Metal,[[{metal}*{b_unicite_dmg}]]| Magma,[[{magma}*{b_unicite_dmg}]]| Vapeur,[[{vapeur}*{b_unicite_dmg}]]| Bois,[[{bois}*{b_unicite_dmg}]]| Foudre,[[{foudre}*{b_unicite_dmg}]]}</span><span class="f2">--elemental_dmg|?{Element|Eau,[[{eau}*{b_unicite_dmg}*{X}]]| Air,[[{air}*{b_unicite_dmg}*{X}]]| Feu,[[{feu}*{b_unicite_dmg}*{X}]]| Terre,[[{terre}*{b_unicite_dmg}*{X}]]| Glace,[[{glace}*{b_unicite_dmg}*{X}]]| Metal,[[{metal}*{b_unicite_dmg}*{X}]]| Magma,[[{magma}*{b_unicite_dmg}*{X}]]| Vapeur,[[{vapeur}*{b_unicite_dmg}*{X}]]| Bois,[[{bois}*{b_unicite_dmg}*{X}]]| Foudre,[[{foudre}*{b_unicite_dmg}*{X}]]}</span>
|
||||
!setattr --name {you} --mod --maintien_qi|{b_unicite_maintien}
|
||||
special =
|
||||
|
||||
[unicite_elementaire:desactivation]
|
||||
self =
|
||||
<span class="f6">@@ -236,23 +237,32 @@</span>
|
||||
cost = 8
|
||||
X = @{Tian-Hu|repeating_offensive-combat-skills_-LkVA0e3odWsx6PblWZp_offensive_combat_skilllevel}
|
||||
macro = !setattr --name {you} --mod --qi|-{b_peaume_cost} --temp_dmg|[[{X}*{b_peaume_dmg}]]
|
||||
special =
|
||||
|
||||
<span class="f1">[poing_fulgurant]</span><span class="f2">[Usurpation du souffle]</span>
|
||||
level = Avancée
|
||||
display_name = <span class="f1">Poing fulgurant</span>
|
||||
<span class="f1"> description = En échange de QI, Inflige une puissante attaque (Bonus de dégâts) à haute initiative.</span>
|
||||
<span class="f1"> self = Votre attaque compte comme ayant [[{X}*{b_poing_fulgurant_init}]] d'initiative de plus</span><span class="f2">Usurpation du souffle</span>
|
||||
type = Actif / <span class="f1">Empower</span>
|
||||
<span class="f1"> others = **[{D} : {b_poing_fulgurant_cost}]**</span><span class="f2">Instant</span>
|
||||
cost = <span class="f1">4</span>
|
||||
<span class="f1"> X</span><span class="f2">8</span>
|
||||
<span class="f2"> description = recharge la réserve de Qi en absorbant et convertissant de force les énergies environnantes, sacrifie de la regen de Qi contre un gain de Qi.</span>
|
||||
<span class="f2"> self = Regagnez immediatement **[[floor({b_usurpation}*{qi_level})]] {D}** votre regeneration de Qi est diminuée de {b_usurpation_cost} jusqu'a la fin du combat. Il vous reste [[@{usurpation_charges}-1]] utilisations de *Usurpation du souffle*.</span>
|
||||
<span class="f2"> others</span> =<span class="f1">@{Tian-Hu|repeating_offensive-combat-skills_-LkVA8-PjuYfMZAlP9bh_offensive_combat_skilllevel}</span>
|
||||
macro = !setattr --name {you} <span class="f1">--mod --qi|-{b_poing_fulgurant_cost}</span><span class="f2">--maintien_qi|[[@{{you}|maintien_qi}+{b_usurpation_cost}]] --qi|[[{{qi}+floor({b_usurpation}*{qi_level}-@{{you}|maintien_qi},{qi_level}*{b_qimax}}kl1]]</span>
|
||||
special =
|
||||
|
||||
<span class="f2">[Unification avec le monde]</span>
|
||||
<span class="f2"> level = Avancée</span>
|
||||
<span class="f2"> display_name = Unification avec le monde</span>
|
||||
<span class="f2"> type = Passif</span>
|
||||
<span class="f2"> cost = 8</span>
|
||||
<span class="f2"> description = Offre une forte réduction de tous dégats descendant dans les PV négatifs (s'applique aux dégats subits pas pour les parades ou encaissement => si besoin de scale alors sur l'unité ? )</span>
|
||||
<span class="f2"> X = @{Tian-Hu|repeating_skills_-Lku53eb0UiRIdWDfZfV_general_skilllevel}</span>
|
||||
<span class="f2"> others =</span>
|
||||
<span class="f2"> self = Lorsque vous subissez des dégats réduisant vos points de vie en dessous de zero, reduisez les points de vie perdus a [[floor(@{{you}|Life_Points|max}*(11-{X})*{b_monde_reduct})]] si ce seuil de dégats devait ne pas etre atteint, regagnez {b_monde_qi} {D}.</span>
|
||||
<span class="f2"> macro =</span>
|
||||
<span class="f2"> special =</span>
|
||||
|
||||
[chatiment_celeste]
|
||||
level = Ultime
|
||||
display_name = Châtiment Céleste
|
||||
description = Attaque Ultime aux dégâts pondérés par le Qi et le nombre d`actions investies.
|
||||
<span class="bold">diff --git a/Helpers/Characters/voile.ini b/Helpers/Characters/voile.ini</span>
|
||||
<span class="bold">index 6190295..eb5043d 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/voile.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/voile.ini</span>
|
||||
<span class="f6">@@ -27,25 +27,24 @@</span>
|
||||
Accrobatie_m=repeating_skills_-Lk0OyMid1KcRS6-i3NF_general_skilllevel
|
||||
Saut=@{Voile|repeating_skills_-Lk0P-9iI72bg79b2W3e_general_skilllevel}
|
||||
Saut_m=repeating_skills_-Lk0P0QpdsqtnER6E3hZ_general_skilllevel
|
||||
initiative=@{Voile|repeating_general-combat-skills_-LkJoCQxRED339Hi8os2_general_combat_skilllevel}
|
||||
reset_multiple=!setattr --name Voile --multiple_seals|1
|
||||
<span class="f2">BA = @{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}</span>
|
||||
|
||||
[start]
|
||||
description=Macro de début de combat
|
||||
self=Début du combat
|
||||
Toutes les reserves sont réinitialisées.
|
||||
others=
|
||||
<span class="f1">X=@{Voile|repeating_skills_-Lk0LDt03hSUUtdwbzLV_general_skilllevel}</span> macro={vset} {you} --momentum|0 --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --momentum_dmg|0 --momentum_esq|0 --pctreceived_b|0 --pctreceived_s|0 --tempo_dmg|0 --tempo_par|0 --tempo_esq|0 --momentum_par|0 <span class="f1">--actions|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({X}*{harmony}/{b_wind_har_act})]]|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({X}*{harmony}/{b_wind_har_act})]]</span><span class="f2">--actions|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]]|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]] --bloodbath_charges|[[{BA}]]</span>
|
||||
|
||||
[turn]
|
||||
description=Macro de début de tour
|
||||
<span class="f1">self=</span><span class="f2">self=Il vous reste @{Voile|bloodbath_charges} utilisations de *Bain de sang*</span>
|
||||
others=
|
||||
<span class="f1">X=@{Voile|repeating_skills_-Lk0LDt03hSUUtdwbzLV_general_skilllevel}</span> macro={vset} {you} --Life_Points|[[{@{{you}|Life_Points}+@{{you}|regen}-1*(@{{you}|dot}),@{{you}|Life_Points|max}}kl1]] <span class="f1">--actions|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({X}*{harmony}/{b_wind_har_act})]]|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({X}*{harmony}/{b_wind_har_act})]]</span><span class="f2">--actions|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]]|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]]</span>
|
||||
|
||||
[multiple_seals]
|
||||
description=Lance le prochain seau plusieurs fois
|
||||
self=
|
||||
others=
|
||||
<span class="f6">@@ -53,19 +52,16 @@</span>
|
||||
|
||||
[show_harmony]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
<span class="f1">X=@{Voile|repeating_skills_-Lk0LDt03hSUUtdwbzLV_general_skilllevel}</span> macro=/w {you} &{template:default} {{name=Etat d'harmonie}} <span class="f1">{{initiative=+[[{b_harmony}*{harmony}]]}} {{perception=+[[{b_harmony}*{harmony}]]}}</span><span class="f2">{{initiative=+[[{harmony}]]}} {{perception=+[[{harmony}]]}}</span> {{Discretion=+[[{harmony}*{b_shadow_har_disc}]]}} {{Nombre <span class="f1">d'actions=[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({X}*{harmony}/{b_wind_har_act})]]}}</span><span class="f2">d'actions=[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}/{b_wind_har_act})]]}}</span> {{Attaques <span class="f1">d'opportunités=+[[floor({harmony}*{X}/{b_wind_har_opp})]]seuil}} {{RM=+[[floor({harmony}*{X}/{b_metal_har})]]}}</span>
|
||||
<span class="f1"> #Devrait afficher l'etat actuel, pas théorique</span><span class="f2">d'opportunités=+[[floor({harmony}*{b_wind_har_opp})]]seuil}} {{RM=+[[floor({harmony}*{b_metal_har})]]}} {{Esquive=-[[{b_eth_har}*{harmony}]]DD}}</span>
|
||||
|
||||
[change_harmony]
|
||||
self=
|
||||
others=
|
||||
<span class="f1">X=@{Voile|repeating_skills_-Lk0LDt03hSUUtdwbzLV_general_skilllevel}</span> macro={vset} {you} <span class="f1">--{Discretion_m}|[[{discretion}+{X}*{harmony}*{b_shadow_har_disc}]] --{Discretion_m}|[[{X}*{harmony}*{b_shadow_har_disc}]] --actions||[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({X}*{harmony}/{b_wind_har_act})]] --{Resistance_mentale_m}|[[floor({Resistance_mentale}+{harmony}*{X}/{b_metal_har})]]</span><span class="f2">--{Discretion_m}|[[{discretion}+{harmony}*{b_shadow_har_disc}]] --actions||[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}/{b_wind_har_act})]] --{Resistance_mentale_m}|[[floor({Resistance_mentale}+{harmony}*{b_metal_har})]]</span> --Initiative|[[{initiative}+{b_harmony}*{harmony}]]
|
||||
|
||||
[show_momentum]
|
||||
description=
|
||||
others=
|
||||
self=Votre attaque et votre parade bénéficient d'un bonus de [[{b_momentum_dmg}*{momentum}]], votre esquive beneficie d'un bonus de [[{b_momentum_esq}*{momentum}]] et votre vitesse de déplacement est désormais de [[{ag}+{b_momentum_speed}*{momentum}]].
|
||||
<span class="f6">@@ -81,26 +77,20 @@</span>
|
||||
description=
|
||||
others=
|
||||
B = @{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel}
|
||||
I = @{Voile|repeating_magic-vital-skills_-Lk0K39r7eCcYVEBFeKy_magic_vital_skilllevel}
|
||||
S = @{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel}
|
||||
<span class="f1"> F = @{Voile|repeating_magic-vital-skills_-Lk0KH9sMaVvV9aafAeU_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> BA = @{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}</span>
|
||||
self = Offre un bonus de [[{b_brumesang_value}*{B}*@{Voile|multiple_seals}]] sur votre prochaine esquive
|
||||
Vous gagnez un bonus de [[{b_iresanglante_dmg}*{I}*@{Voile|multiple_seals}]] dégat d’arme a votre prochaine attaque
|
||||
Vous regagnez [[({S}*{d_soif_heal})]] points de vie et un bonus de [[{b_soifimpie_rgn}*{S}*@{Voile|multiple_seals}]] en régénération jusqu'a la fin du combat
|
||||
<span class="f1"> Offre un bonus [[{b_foudresang_init}*{F}*@{Voile|multiple_seals}]] en initiative sur votre prochaine attaque</span>
|
||||
<span class="f1"> Offre un bonus [[{b_bainsang_act}*{BA}*@{Voile|multiple_seals}]] en nombre d’action</span>
|
||||
macro= {m}change_blood
|
||||
|
||||
[change_blood]
|
||||
B = @{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel}
|
||||
I = @{Voile|repeating_magic-vital-skills_-Lk0K39r7eCcYVEBFeKy_magic_vital_skilllevel}
|
||||
S = @{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel}
|
||||
<span class="f1">F = @{Voile|repeating_magic-vital-skills_-Lk0KH9sMaVvV9aafAeU_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> BA = @{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}</span> macro={vset} {you} --mod<span class="f1">--actions||[[{b_bainsang_act}*{BA}*@{Voile|multiple_seals}]] --actions|[[{b_bainsang_act}*{BA}*@{Voile|multiple_seals}]]</span> --temp_dmg|[[{b_iresanglante_dmg}*{I}*@{Voile|multiple_seals}]] --temp_esq|[[{b_brumesang_value}*{B}*@{Voile|multiple_seals}]]
|
||||
{vset} {you} --Life_Points|[[{@{Voile|Life_Points}+{b_soifimpie_rgn}*{S}* @{Voile|multiple_seals}, @{Voile|Life_Points|max}}kl1]]
|
||||
{reset_multiple}
|
||||
self=
|
||||
others=
|
||||
|
||||
<span class="f6">@@ -156,12 +146,12 @@</span>
|
||||
cost=4
|
||||
X = @{Voile|repeating_skills_-Lk0Ld9vbR5NTT6DFitP_general_skilllevel}
|
||||
description=Passif - Augmente la discrétion de {b_shadow_har_disc}*{X}*{harmony}, et rend les actions de dégagement plus simple de {harmony}*{b_shadow_har_int} degrés de difficultée.
|
||||
Actif - Augmente pendant un cours instant la conscience de son environnement,
|
||||
permettant de révéler la vrai nature des adversaire et objets dans le champ de perception.
|
||||
self= Voile augmente son état de conscience du réel, les adversaires et objets dans un cercle de <span class="f1">[[{b_shadow_har}*{X}]]</span><span class="f2">[[{harmony}*{b_shadow_har}*{X}]]</span> metres aux alentours revelent leur vraie nature.
|
||||
others= ** Harmonie de l'ombre ** Voile obtiens pendant un cours instant une image de la réalité au dela des apparences, dans un rayon de <span class="f1">[[{harmony}{b_shadow_har}*{X}]]</span><span class="f2">[[{harmony}*{b_shadow_har}*{X}]]</span> metres. Sa conscience de sa place dans le monde et de la maniere dont elle peut interagir avec celui ci s'affaiblit.
|
||||
special= L’activation de la technique diminue le stack d’un point et montre & ajuste le nouvel l'etat des passifs
|
||||
macro ={vset} {you} --mod --harmony|-1
|
||||
|
||||
[wind_har]
|
||||
level=Avancée
|
||||
<span class="f6">@@ -194,17 +184,44 @@</span>
|
||||
level=Avancée
|
||||
display_name=Harmony Of Metal
|
||||
type=Passif & Actif/Instant
|
||||
cost=4
|
||||
X=@{Voile|repeating_skills_Lk0LjlHlBkETSvDcjDd_general_skilllevel}
|
||||
description=Passif - Augmente la résistance mentale et la capacité à rester stoïque quelle que soit la situation, rendant difficile la lecture de son langage corporel, ajoutant un bonus de <span class="f1">[[{harmony}/{b_metal_har}*{X}]]</span><span class="f2">[[{harmony}*{b_metal_har}*{X}]]</span> aux test dans ces domaines.
|
||||
Actif - Permet d'atténuer les effets néfastes appliqués sur l’esprit. Gagnez un bonus de <span class="f1">[[{X}/{b_metal_har}]]</span><span class="f2">[[{X}*{b_metal_har}]]</span> a votre resistances mentale.
|
||||
self=Votre esprit se renforce, repoussant les effets déléteres sur vous.
|
||||
others= ** Harmonie du metal ** La volontée de Voile s'affirme, soufflant les influences négatives. Sa conscience de sa place dans le monde et de la maniere dont elle peut interagir avec celui ci s'affaiblit.
|
||||
special= L’effet du passif dépend du nombre de stack d’Harmony, l’activation de l’actif diminue le stack d’un point.
|
||||
macro={vset} {you} --mod --harmony|-1
|
||||
|
||||
<span class="f2">[eth_har]</span>
|
||||
<span class="f2"> level=Avancée</span>
|
||||
<span class="f2"> display_name=Harmony Etheree</span>
|
||||
<span class="f2"> type=Passif & Actif/Instant</span>
|
||||
<span class="f2"> cost=8</span>
|
||||
<span class="f2"> X=@{Voile|repeatingskills-LmB7uy3RJYrpPka9OF-_general_skilllevel}</span>
|
||||
<span class="f2"> description=Passif - Voile obtient une réduction des degrés de difficultés de ses esquives dépendant de l’harmonie et de l’harmonie de l’Ethéré</span>
|
||||
<span class="f2"> Actif - Vos {X} prochainnes actions comptent comme des actions libres</span>
|
||||
<span class="f2"> self= Vos {X} prochainnes actions comptent comme des actions libres</span>
|
||||
<span class="f2"> others= ** Harmonie Etherée **</span>
|
||||
<span class="f2"> special=&</span>
|
||||
<span class="f2"> macro={vset} {you} --mod --harmony|-1</span>
|
||||
|
||||
<span class="f2">[fou_har]</span>
|
||||
<span class="f2"> level=Avancée</span>
|
||||
<span class="f2"> display_name=Harmony Foudroyante</span>
|
||||
<span class="f2"> type=Passif & Actif/Instant</span>
|
||||
<span class="f2"> cost=4</span>
|
||||
<span class="f2"> X=@{Voile|repeatingskills-LmB7wXOYC7NRwRFVws5_general_skilllevel}</span>
|
||||
<span class="f2"> description=Passif - Vos attaques infligent des dégats elementaires de foudre</span>
|
||||
<span class="f2"> Actif - Voile sacrifie la totalité de ses boucliers pour ajouter une partie de leur valeur à sa prochaine attaque sous forme de dégâts</span>
|
||||
<span class="f2"> self= Votre prochainne attaque infligera [[floor({X}*@{{you}|shields}*{b_fou_dmg})]] dégats de foudre supplementaire</span>
|
||||
<span class="f2"> others= ** Harmonie Foudroyante **</span>
|
||||
<span class="f2"> special=</span>
|
||||
<span class="f2"> macro={vset} {you} --mod --harmony|-1 --temp_dmg|[[floor({X}*@{{you}|shields}*{b_fou_dmg})]]</span>
|
||||
<span class="f2"> {vset} {you} --shields|0</span>
|
||||
|
||||
[momentum]
|
||||
level=Ultime
|
||||
display_name=Momentum
|
||||
type=Reserve/Passif
|
||||
cost=8
|
||||
<span class="f6">@@ -270,24 +287,10 @@</span>
|
||||
self=Les {X} prochainnes attaques ne peuvent pas vous tuer, a chaque fois que vous devriez mourir regagnez [[{b_phenix_reg}]] points de vie a la place.
|
||||
others= ** Sceau du Phenix ** Dans l’adversité, le Phénix de Voile se relève de ses Cendre
|
||||
special =
|
||||
macro = {vset} {door} --mod --blood_gate|-[[{sceau_du_phenix_charge_level}]]
|
||||
|
||||
<span class="f1">[bis_repetitas]</span>
|
||||
<span class="f1"> level=Avancée</span>
|
||||
<span class="f1"> display_name=Bis Repetitas</span>
|
||||
<span class="f1"> type=Actif/Instant</span>
|
||||
<span class="f1"> cost=8</span>
|
||||
<span class="f1"> X = @{Voile|repeating_magic-vital-skills_-Lk0IHG528wQQzEWVnyC_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> description=Consomme {b_bis_repetitas_charge_level} points de la Porte des Abysses. La prochaine attaque non technique portée contre un adversaire ciblé infligeras [[{X}*{b_Bis_repetitas_Onhit}]] pourcent de dégats suplémentaires.</span>
|
||||
<span class="f1"> self=La prochaine attaque portée contre un adversaire ciblé infligeras [[{X}*{b_Bis_repetitas_Onhit}]] pourcent de dégats suplémentaires.</span>
|
||||
<span class="f1"> others= ** Bis Repetitas ** Dans un éclat de lumiere sanglante, un éclat de temps viens heurter la réalitée, brouillant le passé et le présent, frappant encore et encore.</span>
|
||||
<span class="f1"> special =</span>
|
||||
<span class="f1"> macro = {vset} {door} --mod --abyss_gate|-[[{b_bis_repetitas_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {vset} {you} --mod --temp_pdmg|[[{X}*{b_bis_repetitas_onhit}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {reset_multiple}</span>
|
||||
|
||||
[Lune_de_Sang]
|
||||
level=Avancée
|
||||
display_name=Lune de sang
|
||||
cost=2
|
||||
type=Actif/Empower
|
||||
<span class="f6">@@ -312,52 +315,10 @@</span>
|
||||
others= ** Sang ** Un éclat de douleur dans un éclat d'acier, voile inflige [[{b_sang_dmg}*{X}*@{Voile|multiple_seals}]] blessures sur une cible a [[{X}]] metres d'elle.
|
||||
special =
|
||||
macro = {vset} {door} --mod --blood_gate|[[-1*{b_sang_charge_level}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
<span class="f1">[Temps]</span>
|
||||
<span class="f1"> level=Mineure</span>
|
||||
<span class="f1"> display_name=Temps</span>
|
||||
<span class="f1"> type=Actif/Instant</span>
|
||||
<span class="f1"> cost=16</span>
|
||||
<span class="f1"> X = @{Voile|repeating_magic-vital-skills_-Lk0Iq6aEZjX8hGsfbZg_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> description=Consomme {b_temps_charge_level} points de la Porte de Abysses.</span>
|
||||
<span class="f1"> Un sceau se relance</span>
|
||||
<span class="f1"> self=Votre sceau se relance jusqu'a [[{X}*@{Voile|multiple_seals}]] fois</span>
|
||||
<span class="f1"> others=** Temps ** Ployant sous la force de la volontée des morts, le temps boucle un instant, répétant un sceau ancien.</span>
|
||||
<span class="f1"> special =</span>
|
||||
<span class="f1"> macro = {vset} {door} --mod --abyss_gate|[[-{b_temps_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {reset_multiple}</span>
|
||||
|
||||
<span class="f1">[Souffle_de_sang]</span>
|
||||
<span class="f1"> level=Mineure</span>
|
||||
<span class="f1"> display_name=Souffle De Sang</span>
|
||||
<span class="f1"> type=Actif/Instant/Empower</span>
|
||||
<span class="f1"> X = @{Voile|repeating_magic-vital-skills_-Lk0IuscZnLZGW3GnEx0_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> cost=4</span>
|
||||
<span class="f1"> description=Consomme {b_souffle_de_sang_charge_level} points de la Porte de Souffrance</span>
|
||||
<span class="f1"> Votre prochaine attaque gagne un Fauchage</span>
|
||||
<span class="f1"> self=Votre prochaine attaque peut toucher jusqu'a [[{X}*{b_souffle_de_sang}*@{Voile|multiple_seals}]] cibles supplémentaires sans malus, elle obeit aux regles de fauchage.</span>
|
||||
<span class="f1"> others= ** Souffle de Sang **La souffrance canalisée en une lame éthérée, tranchant tout sur son passage</span>
|
||||
<span class="f1"> special =</span>
|
||||
<span class="f1"> macro = {vset} {door} --mod --suffering_gate|[[-{b_souffle_de_sang_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {reset_multiple}</span>
|
||||
|
||||
<span class="f1">[Influx]</span>
|
||||
<span class="f1"> level=Mineure</span>
|
||||
<span class="f1"> display_name=Influx</span>
|
||||
<span class="f1"> type=Actif/Durée/Buff</span>
|
||||
<span class="f1"> X = @{Voile|repeating_magic-vital-skills_-Lk0J1ZhLzPrkvj3y3S0_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> cost=8</span>
|
||||
<span class="f1"> description=Consomme {b_influx_charge_level} points de la Porte de Abysses</span>
|
||||
<span class="f1"> Augmente les attributs physique de {b_influx_phys}*{X}</span>
|
||||
<span class="f1"> self= Vous augmente vos attributs physique de [[{b_influx_phys}*{X}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> others= ** Influx **</span>
|
||||
<span class="f1"> special =</span>
|
||||
<span class="f1"> macro = {vset} {door} --mod --abyss_gate|[[-{b_influx_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {reset_multiple}</span>
|
||||
|
||||
[Contresang]
|
||||
level=Mineure
|
||||
display_name=Contresang
|
||||
type=Actif/Instant
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0J6g4u8NBNAFB3asT_magic_vital_skilllevel}
|
||||
<span class="f6">@@ -369,24 +330,10 @@</span>
|
||||
special =
|
||||
macro = {vset} {door} --mod --blood_gate|[[-{b_contresang_charge_level}*@{Voile|multiple_seals}]]
|
||||
{vset} {you} --Life_Points|[[{@{{you}|Life_Points}+[[{b_contresang_soin}*@{Voile|multiple_seals}]],@{{you}|Life_Points|max}}kl1]]
|
||||
{reset_multiple}
|
||||
|
||||
<span class="f1">[Ame]</span>
|
||||
<span class="f1"> level=Mineure</span>
|
||||
<span class="f1"> display_name=Ame</span>
|
||||
<span class="f1"> type=Actif/Instant</span>
|
||||
<span class="f1"> cost=8</span>
|
||||
<span class="f1"> X = @{Voile|repeating_magic-vital-skills_-Lk0JFRyMCjaM7mSPEzI_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> description=Consomme {b_ame_charge_level} points de la Porte de Abysses</span>
|
||||
<span class="f1"> Augmente la zone d’un sceau a {b_ame_target}*{X} cible ou {b_ame_alt_range}*{X} metres</span>
|
||||
<span class="f1"> self=Augmente la zone d’un sceau a [[{b_ame_target}*{X}*@{Voile|multiple_seals}]] cible ou [[{b_ame_alt_range}*{X}*@{Voile|multiple_seals}]] metres</span>
|
||||
<span class="f1"> others= ** Ame ** Les Combatants autours de Voile partagent sa puissance un instant.</span>
|
||||
<span class="f1"> special =</span>
|
||||
<span class="f1"> macro = {vset} {door} --mod --abyss_gate|[[-{b_ame_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f1"> {reset_multiple}</span>
|
||||
|
||||
[Veine]
|
||||
level=Mineure
|
||||
display_name=Veine
|
||||
type=Actif/Instant
|
||||
cost=8
|
||||
<span class="f6">@@ -440,10 +387,24 @@</span>
|
||||
others= ** Ombre ** Se frayer un chemin parmis les lignes adverses est bien plus facile lorsque on est invisible.
|
||||
special =
|
||||
macro ={vset} {door} --mod --suffering_gate|[[-{b_ombre_chargelevel}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
<span class="f2">[Souffle_de_sang]</span>
|
||||
<span class="f2"> level=Mineure</span>
|
||||
<span class="f2"> display_name=Souffle De Sang</span>
|
||||
<span class="f2"> type=Actif/Instant/Empower</span>
|
||||
<span class="f2"> X = @{Voile|repeating_magic-vital-skills_-Lk0IuscZnLZGW3GnEx0_magic_vital_skilllevel}</span>
|
||||
<span class="f2"> cost=4</span>
|
||||
<span class="f2"> description=Consomme {b_souffle_de_sang_charge_level} points de la Porte de Souffrance</span>
|
||||
<span class="f2"> Votre prochaine attaque gagne un Fauchage</span>
|
||||
<span class="f2"> self=Votre prochaine attaque peut toucher jusqu'a [[{X}*{b_souffle_de_sang}*@{Voile|multiple_seals}]] cibles supplémentaires sans malus, elle obeit aux regles de fauchage.</span>
|
||||
<span class="f2"> others= ** Souffle de Sang **La souffrance canalisée en une lame éthérée, tranchant tout sur son passage</span>
|
||||
<span class="f2"> special =</span>
|
||||
<span class="f2"> macro = {vset} {door} --mod --suffering_gate|[[-{b_souffle_de_sang_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {reset_multiple}</span>
|
||||
|
||||
[Torrent_Pourpre]
|
||||
Level=Avancée
|
||||
display_name=Torrent pourpre
|
||||
type=Passif
|
||||
cost=8
|
||||
<span class="f6">@@ -454,10 +415,66 @@</span>
|
||||
self= # Passif, pas de display
|
||||
others=
|
||||
special =
|
||||
macro = {vset} {door} --mod --suffering_gate|[[floor(?{Ouverture de la porte de la Souffrance}*({X}*{b_torrentpourpre_souffrance}+{b_base_abysse})/100)]] --abyss_gate|[[floor(?{Ouverture de la porte des Abysses}*({X}*{b_torrentpourpre_abysse}+{b_base_souffrance})/100)]] --blood_gate|[[floor(?{Ouverture de la porte de Sang}*({X}*{b_torrentpourpre_sang}+{b_base_sang})/100)]]
|
||||
|
||||
<span class="f2">[Temps]</span>
|
||||
<span class="f2"> level=Mineure</span>
|
||||
<span class="f2"> display_name=Temps</span>
|
||||
<span class="f2"> type=Actif/Instant</span>
|
||||
<span class="f2"> cost=16</span>
|
||||
<span class="f2"> X = @{Voile|repeating_magic-vital-skills_-Lk0Iq6aEZjX8hGsfbZg_magic_vital_skilllevel}</span>
|
||||
<span class="f2"> description=Consomme {b_temps_charge_level} points de la Porte de Abysses.</span>
|
||||
<span class="f2"> Un sceau se relance</span>
|
||||
<span class="f2"> self=Votre sceau se relance jusqu'a [[{X}*@{Voile|multiple_seals}]] fois</span>
|
||||
<span class="f2"> others=** Temps ** Ployant sous la force de la volontée des morts, le temps boucle un instant, répétant un sceau ancien.</span>
|
||||
<span class="f2"> special =</span>
|
||||
<span class="f2"> macro = {vset} {door} --mod --abyss_gate|[[-{b_temps_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {reset_multiple}</span>
|
||||
|
||||
<span class="f2">[Ame]</span>
|
||||
<span class="f2"> level=Mineure</span>
|
||||
<span class="f2"> display_name=Ame</span>
|
||||
<span class="f2"> type=Actif/Instant</span>
|
||||
<span class="f2"> cost=8</span>
|
||||
<span class="f2"> X = @{Voile|repeating_magic-vital-skills_-Lk0JFRyMCjaM7mSPEzI_magic_vital_skilllevel}</span>
|
||||
<span class="f2"> description=Consomme {b_ame_charge_level} points de la Porte de Abysses</span>
|
||||
<span class="f2"> Augmente la zone d’un sceau a {b_ame_target}*{X} cible ou {b_ame_alt_range}*{X} metres</span>
|
||||
<span class="f2"> self=Augmente la zone d’un sceau a [[{b_ame_target}*{X}*@{Voile|multiple_seals}]] cible ou [[{b_ame_alt_range}*{X}*@{Voile|multiple_seals}]] metres</span>
|
||||
<span class="f2"> others= ** Ame ** Les Combatants autours de Voile partagent sa puissance un instant.</span>
|
||||
<span class="f2"> special =</span>
|
||||
<span class="f2"> macro = {vset} {door} --mod --abyss_gate|[[-{b_ame_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {reset_multiple}</span>
|
||||
|
||||
<span class="f2">[Influx]</span>
|
||||
<span class="f2"> level=Mineure</span>
|
||||
<span class="f2"> display_name=Influx</span>
|
||||
<span class="f2"> type=Actif/Durée/Buff</span>
|
||||
<span class="f2"> X = @{Voile|repeating_magic-vital-skills_-Lk0J1ZhLzPrkvj3y3S0_magic_vital_skilllevel}</span>
|
||||
<span class="f2"> cost=8</span>
|
||||
<span class="f2"> description=Consomme {b_influx_charge_level} points de la Porte de Abysses</span>
|
||||
<span class="f2"> Augmente les attributs physique de {b_influx_phys}*{X}</span>
|
||||
<span class="f2"> self= Vous augmente vos attributs physique de [[{b_influx_phys}*{X}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> others= ** Influx **</span>
|
||||
<span class="f2"> special =</span>
|
||||
<span class="f2"> macro = {vset} {door} --mod --abyss_gate|[[-{b_influx_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {reset_multiple}</span>
|
||||
|
||||
<span class="f2">[bis_repetitas]</span>
|
||||
<span class="f2"> level=Avancée</span>
|
||||
<span class="f2"> display_name=Bis Repetitas</span>
|
||||
<span class="f2"> type=Actif/Instant</span>
|
||||
<span class="f2"> cost=8</span>
|
||||
<span class="f2"> X = @{Voile|repeating_magic-vital-skills_-Lk0IHG528wQQzEWVnyC_magic_vital_skilllevel}</span>
|
||||
<span class="f2"> description=Consomme {b_bis_repetitas_charge_level} points de la Porte des Abysses. La prochaine attaque non technique portée contre un adversaire ciblé infligeras [[{X}*{b_Bis_repetitas_Onhit}]] pourcent de dégats suplémentaires.</span>
|
||||
<span class="f2"> self=La prochaine attaque portée contre un adversaire ciblé infligeras [[{X}*{b_Bis_repetitas_Onhit}]] pourcent de dégats suplémentaires.</span>
|
||||
<span class="f2"> others= ** Bis Repetitas ** Dans un éclat de lumiere sanglante, un éclat de temps viens heurter la réalitée, brouillant le passé et le présent, frappant encore et encore.</span>
|
||||
<span class="f2"> special =</span>
|
||||
<span class="f2"> macro = {vset} {door} --mod --abyss_gate|-[[{b_bis_repetitas_charge_level}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {vset} {you} --mod --temp_pdmg|[[{X}*{b_bis_repetitas_onhit}*@{Voile|multiple_seals}]]</span>
|
||||
<span class="f2"> {reset_multiple}</span>
|
||||
|
||||
[Brume_de_sang]
|
||||
Level=Avancée
|
||||
display_name=Brume de sang
|
||||
type=Passif/Buff/Durée
|
||||
cost=4
|
||||
<span class="f6">@@ -490,28 +507,15 @@</span>
|
||||
self=
|
||||
others=
|
||||
special=
|
||||
macro =
|
||||
|
||||
<span class="f1">[FoudreSang]</span>
|
||||
<span class="f1"> Level=Avancée</span>
|
||||
<span class="f1"> display_name=FoudreSang</span>
|
||||
<span class="f1"> cost=4</span>
|
||||
<span class="f1"> type=Passif/Instant</span>
|
||||
<span class="f1"> F = @{Voile|repeating_magic-vital-skills_-Lk0KH9sMaVvV9aafAeU_magic_vital_skilllevel}</span>
|
||||
<span class="f1"> description= Lors de l’ouverture d’un sceau, offre un bonus {b_foudresang_init}*{F} en Initiative</span>
|
||||
<span class="f1"> self=</span>
|
||||
<span class="f1"> others=</span>
|
||||
<span class="f1"> special=</span>
|
||||
<span class="f1"> macro =</span>
|
||||
|
||||
[Bain_de_Sang]
|
||||
Level=Avancée
|
||||
display_name=Bain de Sang
|
||||
<span class="f1">cost=8</span><span class="f2">cost=2</span>
|
||||
type=Passif/Instant
|
||||
<span class="f1">BA = @{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}</span> description= <span class="f1">Lors</span><span class="f2">Choisisez l'un : Regagnez [[{BA}*{b_bloodbath_heal}]] points</span> de <span class="f1">l’ouverture d’un sceau, offre un bonus {b_bainsang_act}*{BA} en nombre d’action</span>
|
||||
<span class="f1"> self=</span><span class="f2">vie, regagnez [[{b_bloodbath_act}]] actions ou regagnez [[{BA}*{b_bloodbath}]] points de sang</span>
|
||||
<span class="f2"> self=Il vous reste [[@{Voile|bloodbath_charges}-1]] charges de *Bain de sang*</span>
|
||||
others=
|
||||
special=
|
||||
macro = <span class="f2">!setattr --name {you} --mod --bloodbath_charges|-1</span>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,318 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">diff --git a/Helpers/Characters/God.ini b/Helpers/Characters/God.ini</span>
|
||||
<span class="bold">index b8a32d5..8932663 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/God.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/God.ini</span>
|
||||
<span class="f6">@@ -25,15 +25,16 @@</span>
|
||||
b_metal_har=1.8
|
||||
b_wind_har_act=1.2
|
||||
b_wind_har_opp=1.3
|
||||
b_eth_har=0.5
|
||||
b_fou_dmg=0.3
|
||||
<span class="f1">b_momentum_dmg=5</span>
|
||||
<span class="f1"> b_momentum_speed=2</span>
|
||||
<span class="f1"> b_momentum_max=10</span>
|
||||
<span class="f1"> b_momentum_esq=4</span>
|
||||
<span class="f1"> b_momentum_sec=0.3</span><span class="f2">b_add_momentum=2</span>
|
||||
<span class="f2"> b_momentum_dmg=3</span>
|
||||
<span class="f2"> b_momentum_speed=1</span>
|
||||
<span class="f2"> b_momentum_max=20</span>
|
||||
<span class="f2"> b_momentum_esq=2</span>
|
||||
<span class="f2"> b_momentum_sec=0.15</span>
|
||||
b_impact=4.5
|
||||
b_impact_size=0.13
|
||||
b_adagio=1
|
||||
b_tempo_dep=4
|
||||
b_tempo_degre=0.3
|
||||
<span class="f6">@@ -43,11 +44,12 @@</span>
|
||||
sceau_du_phenix_charge_level=80
|
||||
b_phenix_alt_charge=15
|
||||
b_bis_repetitas_charge_level=4
|
||||
b_bis_repetitas_onhit= 50
|
||||
b_lune_de_sang_charge_level=25
|
||||
<span class="f1">b_sceaulunesang_shield=33</span><span class="f2">b_sceaulunesang_shield=20</span>
|
||||
<span class="f2"> b_sceaulunesang_base=3</span>
|
||||
b_sang_charge_level=35
|
||||
b_sang_dmg=50
|
||||
b_temps_charge_level=6
|
||||
b_souffle_de_sang_charge_level=15
|
||||
b_souffle_de_sang=2
|
||||
<span class="f6">@@ -64,11 +66,11 @@</span>
|
||||
b_sangfeu_dmg=50
|
||||
b_amplitude_chargelevel=10
|
||||
b_amplitude_percent=45
|
||||
b_ombre_chargelevel=20
|
||||
b_ombre_discretion=4
|
||||
<span class="f1">b_iresanglante_dmg=30</span><span class="f2">b_iresanglante_dmg=25</span>
|
||||
b_brumesang_value=20
|
||||
b_torrentpourpre_abysse=20
|
||||
b_base_abysse=100
|
||||
b_torrentpourpre_souffrance=20
|
||||
b_base_souffrance=50
|
||||
<span class="f6">@@ -117,11 +119,11 @@</span>
|
||||
b_bourrasque_size=2
|
||||
b_explosion_dmg=1.1
|
||||
b_explosion_dmg_aoe=0.55
|
||||
b_explosion_size=1.8
|
||||
b_explosion_base=3
|
||||
<span class="f1">b_voile_aurore=16</span><span class="f2">b_voile_aurore=12</span>
|
||||
b_voile_aurore_buff=0.1
|
||||
|
||||
[Characters/reginald.ini]
|
||||
b_power_arcana=2
|
||||
b_elem=1.8
|
||||
<span class="f6">@@ -168,13 +170,13 @@</span>
|
||||
b_despectio=1
|
||||
b_despectio_cost=2
|
||||
b_celeritas=2
|
||||
b_scientia=3
|
||||
b_praesagio=3
|
||||
<span class="f1">b_cylpeos=-1.2</span><span class="f2">b_cylpeos=-0.9</span>
|
||||
b_cylpeos_pct=1.2
|
||||
<span class="f1">b_cylpeos_shield=25</span><span class="f2">b_cylpeos_shield=22</span>
|
||||
b_navia=2
|
||||
b_fluctus_gain=2
|
||||
|
||||
[Characters/tian.ini]
|
||||
b_qimax=10
|
||||
<span class="f6">@@ -194,22 +196,22 @@</span>
|
||||
b_infusion_cost=7
|
||||
b_infusion_maintien=1
|
||||
b_infusion_dmg=9
|
||||
b_negation_range=1.7
|
||||
b_inebranlable_cost=3
|
||||
<span class="f1">b_inebranlable_maintien=4</span>
|
||||
<span class="f1"> b_inebranlable_encaissement=2</span>
|
||||
<span class="f1"> b_inebranlable_reduction=-2.3</span><span class="f2">b_inebranlable_maintien=3</span>
|
||||
<span class="f2"> b_inebranlable_encaissement=4</span>
|
||||
<span class="f2"> b_inebranlable_reduction=-2.9</span>
|
||||
b_inebranlable_actions=4
|
||||
<span class="f1">b_unicite_dmg=4</span><span class="f2">b_unicite_dmg=3</span>
|
||||
b_unicite_cost=4
|
||||
b_unicite_maintien=3
|
||||
b_peaume_cost=6
|
||||
b_peaume_DD=1
|
||||
b_peaume_dmg=-25
|
||||
b_usurpation=6
|
||||
b_usurpation_cost=2
|
||||
b_monde_reduct=0.5
|
||||
b_monde_qi=2
|
||||
<span class="f1">b_chatiment_cost=-10</span>
|
||||
<span class="f1"> b_chatiment_dmg=16</span>
|
||||
<span class="f1"> b_chatiment_pct=8</span><span class="f2">b_chatiment_cost=-11</span>
|
||||
<span class="f2"> b_chatiment_dmg=18</span>
|
||||
<span class="f2"> b_chatiment_pct=9</span>
|
||||
<span class="bold">diff --git a/Helpers/Characters/frene.ini b/Helpers/Characters/frene.ini</span>
|
||||
<span class="bold">index 35d1ef0..bde6b0e 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/frene.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/frene.ini</span>
|
||||
<span class="f6">@@ -46,25 +46,25 @@</span>
|
||||
|
||||
[turn]
|
||||
description=Macro de début de tour
|
||||
self=
|
||||
others=
|
||||
macro={vset} {you} --Life_Points|[[{@{{you}|Life_Points}+floor(@{{you}|regen}*@{{you}|pcthealing}/100)-1*(@{{you}|dot}),@{{you}|Life_Points|max}}kl1]] --mana|{manaregen}
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_item_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} + @{{you}|temp_def} + ?{Type d'attaque|Physique,@{{you}|general_skilllevel_res_physique_effective}|Magique,@{{you}|general_skilllevel_res_magique_effective}|Voile,@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0} + @{{you}|general_skilllevel_res_omega_effective}
|
||||
!setattr <span class="f1">--name @{{you}|character_name}</span><span class="f2">--charid @{{you}|character_id}</span> --temp_pdef|0 --temp_def|0
|
||||
|
||||
[refresh_marques]
|
||||
description=Macro de recalcul d'etat des marques
|
||||
self=
|
||||
others=
|
||||
macro=!token-mod --ignore-selected --set statusmarkers|frozen-orb:[[@{target|target|frostdamage}]]|bolt-shield:[[@{target|target|frostshield}]] --ids @{target|target|token_id}
|
||||
!setattr <span class="f1">--name @{target|target|character_name}</span><span class="f2">--charid @{target|target|character_id}</span> --pctreceived_b|[[@{target|target|frostdamage}*floor((({a_glace}+{a_feu})/2)/{b_morsure_hiver})-@{target|target|frostshield}*floor((({a_air}+{a_bois})/2)/{b_robustesse_hiver})]]
|
||||
|
||||
[refresh_all]
|
||||
description=Refresh all marks
|
||||
self=
|
||||
others=
|
||||
<span class="f6">@@ -113,11 +113,11 @@</span>
|
||||
description=
|
||||
self=
|
||||
others=**Revigoration** [Coût : {mp}] Soigne {target} de [[floor({marques_s}*{X}*{a_eau}/{b_revigoration})]] points de vie.
|
||||
special=
|
||||
macro={manasub}-{mp}
|
||||
#!setattr <span class="f1">--name @{target|target|character_name}</span><span class="f2">--charid @{target|target|character_id}</span> --Life_Points|[[{@{target|target|Life_Points}+{marques_s}*{X}*{a_eau}/{b_revigoration},@{target|target|Life_Points|max}}kl1]]
|
||||
|
||||
[transfert_froid]
|
||||
level=Avancée
|
||||
type=Actif/Instant
|
||||
display_name=Transfert de Froid
|
||||
<span class="f6">@@ -395,11 +395,11 @@</span>
|
||||
self=Tous les cibles prises dans l'explosion prennent des dégâts et subissent jusqu'a {X} effets Morsure de l'Hiver. La cible ne peut subir des marques jusqu'a la fin du tour.
|
||||
[Placer la brume](!&#13;{m}place_aoe Freeze)
|
||||
others=
|
||||
special=
|
||||
macro=**Explosion de Glace** [Coût : {mp}] Les fragments de glace autour de @{target|T1|character_name} explosent, manifestant une énorme explosion de glace qui inflige [[floor(({X}+{b_explosion_base})*({a_feu}+{a_glace})*@{target|T1|frostdamage}*{b_explosion_dmg})]] dégats a la cible, et inflige [[floor(({X}+{b_explosion_base})*({a_feu}+{a_glace})*@{target|T1|frostdamage}*{b_explosion_dmg_aoe})]] dégats que dans une zone de [[floor(@{target|T1|frostdamage}*{b_explosion_size})]] mètres autour d'elle. La cible perd tous ses effets Morsure de l'Hiver.
|
||||
!setattr <span class="f1">--name @{target|T1|character_name}</span><span class="f2">--charid @{target|T1|character_id}</span> --frostdamage|0
|
||||
{manasub}-{mp}
|
||||
|
||||
|
||||
[voile_aurore]
|
||||
level=Ultime
|
||||
<span class="bold">diff --git a/Helpers/Characters/npc.ini b/Helpers/Characters/npc.ini</span>
|
||||
<span class="bold">index ccd109b..5bb9573 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/npc.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/npc.ini</span>
|
||||
<span class="f6">@@ -16,32 +16,32 @@</span>
|
||||
[attaque_macro]
|
||||
description=Macro d'attaque
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des d'attaque} P @{selected|general_effective_Perfection} c @{selected|crit_level} M @{selected|skillcost_Technique_martiale} @{selected|general_effective_Technique_martiale} E @{selected|skillcost_Exploiter_les_points_faibles} @{selected|general_effective_Exploiter_les_points_faibles} F @{selected|general_effective_Fauchage} D @{selected|general_effective_Coup_dechirant} H @{selected|base_damage_dices} H @{selected|exal_damage_dices} A @{selected|Skill_general_attribute_select_attaque} s @{selected|general_attack_threshold} l @{selected|general_attack_addall} a a n @{selected|undescored_name} + @{selected|additional_damage_dices} + @{selected|general_effective_weapon1} + @{selected|general_effective_weapon2} t @{selected|transcendence} + @{selected|general_effective_weapon3} f @{selected|pctinflicted} f @{selected|pctinflicted_s} f @{selected|pctinflicted_b} + @{selected|temp_dmg} f @{selected|temp_pdmg}
|
||||
!setattr <span class="f1">--name @{selected|character_name}</span><span class="f2">--charid @{selected|character_id}</span> --temp_pdmg|0 --temp_dmg|0
|
||||
|
||||
[esquive_macro]
|
||||
description=Macro d'esquive
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des d'esquive} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} H @{selected|base_dodge_dices} A @{selected|Skill_general_attribute_select_dodge} t @{selected|transcendence} s ?{selected|Seuil d'esquive} - ?{Dégats a esquiver|0} a e n @{selected|undescored_name} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} + @{selected|temp_esq}
|
||||
!setattr <span class="f1">--name @{selected|character_name}</span><span class="f2">--charid @{selected|character_id}</span> --temp_esq|0
|
||||
|
||||
[parade_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} S @{selected|general_skilllevel_Encaissement} @{selected|general_effective_Encaissement} H @{selected|base_defense_dices} H @{selected|exal_defense_dices} s @{selected|general_defense_threshold} l @{selected|general_defense_addall} A @{selected|Skill_general_attribute_select_defense} t @{selected|transcendence} - ?{Dégats a parer|0} a d n @{selected|undescored_name} + @{selected|general_effective_shield1} + @{selected|general_effective_shield2} + @{selected|general_effective_shield3} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} v @{selected|temp_pdef} + @{selected|temp_def} + ?{Type d'attaque|Physique,@{selected|general_skilllevel_res_physique_effective}|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0} + @{selected|general_skilllevel_res_omega_effective}
|
||||
!setattr <span class="f1">--name @{selected|character_name}</span><span class="f2">--charid @{selected|character_id}</span> --temp_pdef|0 --temp_def|0
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} S @{selected|general_skilllevel_Encaissement} @{selected|general_effective_Encaissement} H @{selected|base_defense_dices} H @{selected|exal_defense_dices} s @{selected|general_defense_threshold} l @{selected|general_defense_addall} A @{selected|Skill_general_attribute_select_defense} t @{selected|transcendence} - ?{Dégats a parer|0} a d n @{selected|undescored_name} + @{selected|general_item_shield3} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} v @{selected|temp_pdef} + @{selected|temp_def} + ?{Type d'attaque|Physique,@{selected|general_skilllevel_res_physique_effective}|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0} + @{selected|general_skilllevel_res_omega_effective}
|
||||
!setattr <span class="f1">--name @{selected|character_name}</span><span class="f2">--charid @{selected|character_id}</span> --temp_pdef|0 --temp_def|0
|
||||
|
||||
[tir_macro]
|
||||
description=Macro de Tir
|
||||
self=
|
||||
others=
|
||||
<span class="f6">@@ -72,26 +72,49 @@</span>
|
||||
macro=!setattr --charid @{target|T1|character_id} --mod --dot|[[?{Dégats }]]
|
||||
[def_pct.t]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --mod <span class="f1">--name @{target|T1|character_name}</span><span class="f2">--charid @{target|T1|character_id}</span> --temp_pdef|?{&#37; Dégats reduits}
|
||||
[def_pct]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --mod <span class="f1">--name @{target|T1|character_name}</span><span class="f2">--charid @{target|T1|character_id}</span> --pctreceived|?{&#37; Dégats reduits}
|
||||
[dmg_pct.t]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --mod <span class="f1">--name @{target|T1|character_name}</span><span class="f2">--charid @{target|T1|character_id}</span> --temp_pdmg|?{&#37; Dégats supplementaire}
|
||||
[dmg_pct]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --mod <span class="f1">--name @{target|T1|character_name}</span><span class="f2">--charid @{target|T1|character_id}</span> --pctinflicted|?{&#37; Dégats supplementaire}
|
||||
[cond_list]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!ct show
|
||||
<span class="f2">[seuil]</span>
|
||||
<span class="f2"> description=</span>
|
||||
<span class="f2"> self=</span>
|
||||
<span class="f2"> others=</span>
|
||||
<span class="f2"> macro=!setattr --sel --</span>
|
||||
|
||||
<span class="f2">[def.threshold]</span>
|
||||
<span class="f2"> description=</span>
|
||||
<span class="f2"> self=</span>
|
||||
<span class="f2"> others=</span>
|
||||
<span class="f2"> macro=!setattr --charid @{target|T1|character_id} --general_defense_threshold|?{Seuil de defence}</span>
|
||||
|
||||
<span class="f2">[dmg.threshold]</span>
|
||||
<span class="f2"> description=</span>
|
||||
<span class="f2"> self=</span>
|
||||
<span class="f2"> others=</span>
|
||||
<span class="f2"> macro=!setattr --charid @{target|T1|character_id} --general_attack_threshold|?{Seuil de defence}</span>
|
||||
|
||||
<span class="f2">[resist]</span>
|
||||
<span class="f2"> description=</span>
|
||||
<span class="f2"> self=</span>
|
||||
<span class="f2"> others=</span>
|
||||
<span class="f2"> macro=&{template:d10skillcheck}{{name=@{selected|character_name}}} {{roll_name=Jet de résistance}} {{result=[[?{Type|Magique, @{selected|general_skilllevel_res_magique}|Physique, @{selected|general_skilllevel_res_physique}|Voile, @{selected|general_skilllevel_res_voile}|Divine, @{selected|general_skilllevel_res_divine}|Existence, @{selected|general_skilllevel_res_omega}}+(?{Caractèristique|Volonté, @{selected|base-Volonte}+@{selected|exal-Volonte}|Force, @{selected|base-Force}+@{selected|exal-Force}|Spéciale, @{selected|base-custom}+@{selected|exal-custom}})-d?{Des}cs1]]}}</span>
|
||||
<span class="bold">diff --git a/Helpers/Characters/reginald.ini b/Helpers/Characters/reginald.ini</span>
|
||||
<span class="bold">index 6199a7e..7d721e7 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/reginald.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/reginald.ini</span>
|
||||
<span class="f6">@@ -54,11 +54,11 @@</span>
|
||||
[parade_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield1} + @{{you}|general_effective_shield2} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} v @{{you}|cylpeos_res} + @{{you}|temp_def} + ?{Type d'attaque|Physique,@{{you}|general_skilllevel_res_physique_effective}|Magique,@{{you}|general_skilllevel_res_magique_effective}|Voile,@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0} + @{{you}|general_skilllevel_res_omega_effective}
|
||||
!setattr <span class="f1">--name @{{you}|character_name}</span><span class="f2">--charid @{{you}|charid}</span> --temp_pdef|0 --temp_def|0
|
||||
|
||||
[turn]
|
||||
description=Début du tour
|
||||
self=
|
||||
others=
|
||||
<span class="f6">@@ -383,14 +383,14 @@</span>
|
||||
cost=4
|
||||
level = Avancée
|
||||
display_name = Praeter Arcanum : Despectio
|
||||
type = Actif | Buff
|
||||
description =
|
||||
self =
|
||||
<span class="f2">others =</span> [Cout: {b_despectio_cost}] Reaction - Augmentez vos resistances pour la prochaine action de [[{X}*{b_despectio}]]&#37; par carte en main.<span class="f1">others =</span>
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQX-7OEF6WHkQtzrfQ_magic_arcanist_skilllevel}
|
||||
macro = !setattr --name Reginald --fluctus|[[@{Reginald|fluctus}-{b_despectio_cost}]] <span class="f1">--temp_pdef|[[{{X}*?{Nombre</span><span class="f2">--temp_pdef|[[-1*{{X}*?{Nombre</span> de cartes en main}*{b_despectio},99}kl1]]
|
||||
special =
|
||||
|
||||
[celeritas]
|
||||
cost=8
|
||||
level = Avancée
|
||||
<span class="bold">diff --git a/Helpers/Characters/voile.ini b/Helpers/Characters/voile.ini</span>
|
||||
<span class="bold">index 9a74b32..71d4a2b 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/voile.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/voile.ini</span>
|
||||
<span class="f6">@@ -69,11 +69,11 @@</span>
|
||||
!setattr --name Voile --momentum_dmg|[[{b_momentum_dmg}*{momentum}]] --momentum_par|[[{b_momentum_dmg}*{momentum}]] --momentum_esq|[[{b_momentum_esq}*{momentum}]] --{Course_m}|[[floor({Course}+{momentum}*{b_momentum_sec})]] --{Saut_m}|[[floor({Saut}+{momentum}*{b_momentum_sec})]] --{Accrobatie_m}|[[floor({Accrobatie}+{momentum}*{b_momentum_sec})]]
|
||||
|
||||
[change_momentum]
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --name Voile --momentum|[[{{b_momentum_max}*{momentum_max},{momentum}+1}kl1]] <span class="f1">--momentum_dmg|[[{b_momentum_dmg}*({momentum}+1)]] --momentum_par|[[{b_momentum_dmg}*({momentum}+1)]] --momentum_esq|[[{b_momentum_esq}*({momentum}+1)]]</span><span class="f2">--momentum_dmg|[[{b_momentum_dmg}*({momentum}+{b_add_momentum})]] --momentum_par|[[{b_momentum_dmg}*({momentum}+{b_add_momentum})]] --momentum_esq|[[{b_momentum_esq}*({momentum}+{b_add_momentum})]]</span> --{Course_m}|[[floor({Course}+{momentum}*{b_momentum_sec})]] --{Saut_m}|[[floor({Saut}+{momentum}*{b_momentum_sec})]] --{Accrobatie_m}|[[floor({Accrobatie}+{momentum}*{b_momentum_sec})]]
|
||||
|
||||
[show_blood]
|
||||
description=
|
||||
others=
|
||||
B = @{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel}
|
||||
<span class="f6">@@ -294,14 +294,14 @@</span>
|
||||
display_name=Lune de sang
|
||||
cost=2
|
||||
type=Actif/Empower
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0IPjvvYGG2jNhSLZL_magic_vital_skilllevel}
|
||||
description=Consomme {b_lune_de_sang_charge_level} points de la Porte de Sang, crée un bouclier de valeur {b_sceaulunesang_shield}*{X} pour parer une attaque unique
|
||||
self=Crée un bouclier d’une valeur <span class="f1">[[{b_sceaulunesang_shield}*{X}*@{Voile|multiple_seals}]]</span><span class="f2">[[{b_sceaulunesang_shield}*({X}+{b_sceaulunesang_base})*@{Voile|multiple_seals}]]</span>
|
||||
others=** Lune de Sang ** Les veine de Voile éclatent projetant un mur de sang dans toutes les directions.
|
||||
special =
|
||||
macro = {vset} {you} --mod <span class="f1">--shield|[[{b_sceaulunesang_shield}*{X}*@{Voile|multiple_seals}]]</span><span class="f2">--shield|[[{b_sceaulunesang_shield}*({X}+{b_sceaulunesang_base})*@{Voile|multiple_seals}]]</span>
|
||||
{vset} {door} --mod --blood_gate|[[-1*{b_lune_de_sang_charge_level}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
[Sang]
|
||||
level=Mineure
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,244 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">diff --git a/Helpers/Characters/God.ini b/Helpers/Characters/God.ini</span>
|
||||
<span class="bold">index 8932663..768cd56 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/God.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/God.ini</span>
|
||||
<span class="f6">@@ -23,21 +23,23 @@</span>
|
||||
b_shadow_har_int=1.3
|
||||
b_harmony_per=1.5
|
||||
b_metal_har=1.8
|
||||
b_wind_har_act=1.2
|
||||
b_wind_har_opp=1.3
|
||||
<span class="f2">b_water_har=0.5</span>
|
||||
b_eth_har=0.5
|
||||
b_fou_dmg=0.3
|
||||
b_add_momentum=2
|
||||
b_momentum_dmg=3
|
||||
b_momentum_speed=1
|
||||
b_momentum_max=20
|
||||
b_momentum_esq=2
|
||||
b_momentum_sec=0.15
|
||||
<span class="f1">b_impact=4.5</span>
|
||||
<span class="f1"> b_impact_size=0.13</span>
|
||||
<span class="f1"> b_adagio=1</span><span class="f2">b_impact=2.2</span>
|
||||
<span class="f2"> b_impact_size=0.02</span>
|
||||
<span class="f2"> b_impact_size_base=4</span>
|
||||
<span class="f2"> b_adagio=2</span>
|
||||
b_tempo_dep=4
|
||||
b_tempo_degre=0.3
|
||||
b_tempo=30
|
||||
b_tempo_max=240
|
||||
b_phenix_reg=45
|
||||
<span class="bold">diff --git a/Helpers/Characters/frene.ini b/Helpers/Characters/frene.ini</span>
|
||||
<span class="bold">index bde6b0e..67004be 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/frene.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/frene.ini</span>
|
||||
<span class="f6">@@ -40,11 +40,11 @@</span>
|
||||
Si vous ne pouvez plus agir, votre aspect gagne [[floor({simu}{b_simulation_aspect})]] actions supplémentaires jusqu'à la reprise de contrôle du personnage.
|
||||
Reduit les dégats subits de [[floor({garde}*{a_air}/{b_garde_aspect})]]
|
||||
{prelude} fois par combat, si le personnage devrait subir des dégâts létaux, Stase Cryogénique est utilisé sur lui-même a la place.
|
||||
Il vous reste {colere} utilisations de **[Colere de l'Aspect]**
|
||||
others=
|
||||
macro={vset} {you} --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --mana|@{{you}|mana|max} --pctreceived_b|0 --pctreceived_s|0 <span class="f1">--general_item_shield3|[[floor({garde}*{a_air}/{b_garde_aspect})]]</span><span class="f2">--general_item_shield3|[[floor({garde}*(@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot})/{b_garde_aspect})]]</span> --colere_stacks|[[{colere}{b_colere_max}]] --elem_omega|0 --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
|
||||
[turn]
|
||||
description=Macro de début de tour
|
||||
self=
|
||||
others=
|
||||
<span class="f6">@@ -111,13 +111,14 @@</span>
|
||||
cost=2
|
||||
mp=2
|
||||
description=
|
||||
self=
|
||||
others=**Revigoration** [Coût : {mp}] Soigne {target} de [[floor({marques_s}*{X}*{a_eau}/{b_revigoration})]] points de vie.
|
||||
<span class="f2">[Appliquer le soin](!&#13;{m}healit [[{@{target|target|Life_Points}+floor(@{{you}|pcthealing}*({marques_s}*{X}*{a_eau}/{b_revigoration})/100),@{target|target|Life_Points|max}}kl1]])</span>
|
||||
special=
|
||||
macro={manasub}-{mp}
|
||||
#!setattr --charid @{target|target|character_id} <span class="f1">--Life_Points|[[{@{target|target|Life_Points}+{marques_s}*{X}*{a_eau}/{b_revigoration},@{target|target|Life_Points|max}}kl1]]</span><span class="f2">--Life_Points|[[{floor(@{{you}|pcthealing}*(@{target|target|Life_Points}+{marques_s}*{X}*{a_eau}/{b_revigoration})/100),@{target|target|Life_Points|max}}kl1]]</span>
|
||||
|
||||
[transfert_froid]
|
||||
level=Avancée
|
||||
type=Actif/Instant
|
||||
display_name=Transfert de Froid
|
||||
<span class="f6">@@ -268,11 +269,11 @@</span>
|
||||
Si un ennemi voit son attaque bloquée ou son sort réfléchi,
|
||||
il subit un effet Morsure de l’hiver.
|
||||
self=[Placer le mur](!&#13;{m}place_aoe Icewall)
|
||||
others= Un mur de Glace apparaît, protégeant des attaques à venir.
|
||||
special=
|
||||
macro=**Mur réfléchissant** [Coût : {mp}] Crée un mur de [[{X}*{b_mur_size_h}]] metres de haut, [[{X}]] metres d'épaisseur et [[{X}*{b_mur_size}]] mètres de large. Bloque toutes les attaques physiques à hauteur de <span class="f1">[[{X}*({a_terre}+{a_air})*{b_mur}]]</span><span class="f2">[[floor({X}*({a_terre}+{a_air})*{b_mur})]]</span> dégâts et tout les dégâts magiques a hauteur de <span class="f1">[[{X}*({a_glace}+{a_air})*{b_mur}]]</span><span class="f2">[[floor({X}*({a_glace}+{a_air})*{b_mur})]]</span> dégâts le mur possède [[floor({X}*({a_air}+{a_bois})*{b_mur_hp})]] points de vie par 2³.
|
||||
{manasub}-{mp}
|
||||
|
||||
[vague_glace]
|
||||
level=Simple
|
||||
type=Actif/Instant/Debuff
|
||||
<span class="f6">@@ -391,11 +392,11 @@</span>
|
||||
cost=8
|
||||
mp=13
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HfYpl0l1uj9dUqVC_magic_aspected_skilllevel}
|
||||
description=Une grande explosion de glace se manifeste autour de {target}.
|
||||
self=Tous les cibles prises dans l'explosion prennent des dégâts et subissent jusqu'a {X} effets Morsure de l'Hiver. La cible ne peut subir des marques jusqu'a la fin du tour.
|
||||
[Placer <span class="f1">la brume](!&#13;{m}place_aoe</span><span class="f2">l'explosion](!&#13;{m}place_aoe</span> Freeze)
|
||||
others=
|
||||
special=
|
||||
macro=**Explosion de Glace** [Coût : {mp}] Les fragments de glace autour de @{target|T1|character_name} explosent, manifestant une énorme explosion de glace qui inflige [[floor(({X}+{b_explosion_base})*({a_feu}+{a_glace})*@{target|T1|frostdamage}*{b_explosion_dmg})]] dégats a la cible, et inflige [[floor(({X}+{b_explosion_base})*({a_feu}+{a_glace})*@{target|T1|frostdamage}*{b_explosion_dmg_aoe})]] dégats que dans une zone de [[floor(@{target|T1|frostdamage}*{b_explosion_size})]] mètres autour d'elle. La cible perd tous ses effets Morsure de l'Hiver.
|
||||
!setattr --charid @{target|T1|character_id} --frostdamage|0
|
||||
{manasub}-{mp}
|
||||
<span class="bold">diff --git a/Helpers/Characters/npc.ini b/Helpers/Characters/npc.ini</span>
|
||||
<span class="bold">index ee45d31..f8dec8a 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/npc.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/npc.ini</span>
|
||||
<span class="f6">@@ -15,25 +15,25 @@</span>
|
||||
|
||||
[attaque_macro]
|
||||
description=Macro d'attaque
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des <span class="f1">d'attaque}</span><span class="f2">d'attaque|0}</span> P @{selected|general_effective_Perfection} c @{selected|crit_level} M @{selected|skillcost_Technique_martiale} @{selected|general_effective_Technique_martiale} E @{selected|skillcost_Exploiter_les_points_faibles} @{selected|general_effective_Exploiter_les_points_faibles} F @{selected|general_effective_Fauchage} D @{selected|general_effective_Coup_dechirant} H @{selected|base_damage_dices} H @{selected|exal_damage_dices} A @{selected|Skill_general_attribute_select_attaque} s @{selected|general_attack_threshold} l @{selected|general_attack_addall} a a n @{selected|undescored_name} + @{selected|additional_damage_dices} + @{selected|general_effective_weapon1} + @{selected|general_effective_weapon2} t @{selected|transcendence} + @{selected|general_effective_weapon3} f @{selected|pctinflicted} f @{selected|pctinflicted_s} f @{selected|pctinflicted_b} + @{selected|temp_dmg} f @{selected|temp_pdmg}
|
||||
!setattr --charid @{selected|character_id} --temp_pdmg|0 --temp_dmg|0
|
||||
|
||||
[esquive_macro]
|
||||
description=Macro d'esquive
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des <span class="f1">d'esquive}</span><span class="f2">d'esquive|0}</span> I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} H @{selected|base_dodge_dices} A @{selected|Skill_general_attribute_select_dodge} t @{selected|transcendence} s ?{selected|Seuil <span class="f1">d'esquive}</span><span class="f2">d'esquive|0}</span> - ?{Dégats a esquiver|0} a e n @{selected|undescored_name} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} + @{selected|temp_esq}
|
||||
!setattr --charid @{selected|character_id} --temp_esq|0
|
||||
|
||||
[parade_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de <span class="f1">defense}</span><span class="f2">defense|0}</span> I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} S @{selected|general_skilllevel_Encaissement} @{selected|general_effective_Encaissement} H @{selected|base_defense_dices} H @{selected|exal_defense_dices} s @{selected|general_defense_threshold} l @{selected|general_defense_addall} A @{selected|Skill_general_attribute_select_defense} t @{selected|transcendence} - ?{Dégats a parer|0} a d n @{selected|undescored_name} + @{selected|general_effective_shield1} + @{selected|general_effective_shield2} + @{selected|general_effective_shield3} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} v @{selected|temp_pdef} + @{selected|temp_def} + ?{Type d'attaque|Physique,@{selected|general_skilllevel_res_physique_effective}|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0} + @{selected|general_skilllevel_res_omega_effective}
|
||||
!setattr --charid @{selected|character_id} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
<span class="f6">@@ -43,11 +43,11 @@</span>
|
||||
|
||||
[tir_macro]
|
||||
description=Macro de Tir
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de <span class="f1">tir}</span><span class="f2">tir|0}</span> T @{selected|skillcost_Tir_precis} @{selected|general_effective_Tir_precis} i @{selected|general_effective_Tir_implacable} M @{selected|skillcost_Technique_martiale} @{selected|general_effective_Technique_martiale} E @{selected|skillcost_Exploiter_les_points_faibles} @{selected|general_effective_Exploiter_les_points_faibles} L @{selected|base_shoot_dices} c @{selected|crit_level} l @{selected|add_shoot_dices} t @{selected|transcendence} s ?{Seuil de tir|6} a a n @{selected|undescored_name} f @{selected|pctinflicted} f @{selected|pctinflicted_s} f @{selected|pctinflicted_b}
|
||||
|
||||
[place_aoe]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
<span class="f6">@@ -115,6 +115,18 @@</span>
|
||||
|
||||
[resist]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=&{template:d10skillcheck}{{name=@{selected|character_name}}} {{roll_name=Jet de résistance}} {{result=[[?{Type|Magique, @{selected|general_skilllevel_res_magique}|Physique, <span class="f1">@{selected|general_skilllevel_res_physique}|Voile,</span><span class="f2">@{selected|general_skilllevel_res_physique}|Mentale, @{selected|general_skilllevel_res_mentale}|Voile,</span> @{selected|general_skilllevel_res_voile}|Divine, @{selected|general_skilllevel_res_divine}|Existence, @{selected|general_skilllevel_res_omega}}+(?{Caractèristique|Volonté, @{selected|base-Volonte}+@{selected|exal-Volonte}|Force, @{selected|base-Force}+@{selected|exal-Force}|Spéciale, @{selected|base-custom}+@{selected|exal-custom}})-d?{Des|10}cs1]]}}
|
||||
|
||||
<span class="f2">[aurore]</span>
|
||||
<span class="f2"> description=</span>
|
||||
<span class="f2"> self=</span>
|
||||
<span class="f2"> others=</span>
|
||||
<span class="f2"> macro=!setattr --sel --mod --temp_def|</span>
|
||||
|
||||
<span class="f2">[healit]</span>
|
||||
<span class="f2"> description=</span>
|
||||
<span class="f2"> self=</span>
|
||||
<span class="f2"> others=</span>
|
||||
<span class="f2"> macro=!setattr --charid @{target|character_id} --Life_Points|</span>
|
||||
<span class="bold">diff --git a/Helpers/Characters/reginald.ini b/Helpers/Characters/reginald.ini</span>
|
||||
<span class="bold">index 7d721e7..4cf8c89 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/reginald.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/reginald.ini</span>
|
||||
<span class="f6">@@ -315,11 +315,11 @@</span>
|
||||
self =
|
||||
others = **[Arcane avancée : Tenacitas]** Un grand rai de lumière entoure {target} augmentant ses defenses.
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQWmyQBIj1IRtasXuW_magic_arcanist_skilllevel}
|
||||
Y =
|
||||
special=
|
||||
macro =!setattr --name {target} <span class="f2">--fb-header "Tenacitas" --fb-content "L'arcane augmente les resistances de _CHARNAME_ de _TCURJ_"</span> --pctreceived_s|[[{@{target|target|pctreceived_s}- floor(({power}+{bois})*{b_tenacitas}),-99}kh1]]
|
||||
|
||||
[major:marcor]
|
||||
cost=16
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQWs05EBazluf88DO6_magic_arcanist_skilllevel}
|
||||
level = Avancée
|
||||
<span class="bold">diff --git a/Helpers/Characters/tian.ini b/Helpers/Characters/tian.ini</span>
|
||||
<span class="bold">index 83c57d8..d376186 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/tian.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/tian.ini</span>
|
||||
<span class="f6">@@ -108,13 +108,13 @@</span>
|
||||
|
||||
[energie_et_matiere]
|
||||
level = Ultime
|
||||
display_name = D’énergie et de matière
|
||||
description = Permet de régénérer contre du Qi le corps de l’utilisateur et/ou toute structure en harmonie(mémorisée) avec l’utilisateur.
|
||||
self = Vous régenerez [[{X}*{b_energymat_heal}]] points de vie, cette regeneration ne peut etre réduite vous pouvez regenerer une structure auquelle vous etes en harmonie a hauteur de <span class="f1">[[{X}d10]]</span><span class="f2">{X}d10</span> points de vie.
|
||||
type = Actif/Action et Réaction
|
||||
others = **D’énergie et de matière** [Coût : {b_energy_cost} {D}] *{you} se régénère de [[{X}*{b_energymat_heal}]] PV irréductibles, @{target|T1|character_name} reçoit un soin supplémentaire de <span class="f1">{X}d10</span><span class="f2">[[{X}d10]]</span> PV irréductibles.*
|
||||
cost = 8
|
||||
X = @{Tian-Hu|repeating_general-combat-skills_-LkUznJg8I5Pu2dcLVPr_general_combat_skilllevel}
|
||||
macro = !setattr --name {you} --mod --qi|-{b_energy_cost}
|
||||
!setattr --name {you} --Life_Points|[[{@{{you}|Life_Points}+{X}*{b_energymat_heal},@{{you}|Life_Points|max}}kl1]]
|
||||
special =
|
||||
<span class="bold">diff --git a/Helpers/Characters/voile.ini b/Helpers/Characters/voile.ini</span>
|
||||
<span class="bold">index 71d4a2b..026ca7b 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/voile.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/voile.ini</span>
|
||||
<span class="f6">@@ -52,11 +52,11 @@</span>
|
||||
|
||||
[show_harmony]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=/w {you} &{template:default} {{name=Etat d'harmonie}} {{initiative=+[[{harmony}*{b_harmony_init}]]}} {{perception=+[[floor({harmony}*{b_harmony_per})]]}} {{Discretion=+[[floor({harmony}*{b_shadow_har_disc})]]}} {{Nombre d'actions=[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]]}} {{Attaques d'opportunités=+[[floor({harmony}*{b_wind_har_opp})]]seuil}} {{RM=+[[floor({harmony}*{b_metal_har})]]}} {{Esquive=-[[floor({b_eth_har}*{harmony})]]DD&s}} {{Bonus action <span class="f1">mouvement=[[@{Voile|repeating_skills_-Lk0Li-kTIahFB0V9Iny_general_skilllevel}]]</span><span class="f2">mouvement=[[floor({b_water_har}*@{Voile|repeating_skills_-Lk0Li-kTIahFB0V9Iny_general_skilllevel})]]</span> degrés}}
|
||||
|
||||
[change_harmony]
|
||||
self=
|
||||
others=
|
||||
macro={vset} {you} --{Discretion_m}|[[{discretion}+floor({harmony}*{b_shadow_har_disc})]] --actions||[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]] --{Resistance_mentale_m}|[[floor({Resistance_mentale}+{harmony}*{b_metal_har})]] --Initiative|[[{initiative}+floor({b_harmony_init}*{harmony})]]
|
||||
<span class="f6">@@ -69,11 +69,11 @@</span>
|
||||
!setattr --name Voile --momentum_dmg|[[{b_momentum_dmg}*{momentum}]] --momentum_par|[[{b_momentum_dmg}*{momentum}]] --momentum_esq|[[{b_momentum_esq}*{momentum}]] --{Course_m}|[[floor({Course}+{momentum}*{b_momentum_sec})]] --{Saut_m}|[[floor({Saut}+{momentum}*{b_momentum_sec})]] --{Accrobatie_m}|[[floor({Accrobatie}+{momentum}*{b_momentum_sec})]]
|
||||
|
||||
[change_momentum]
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --name Voile <span class="f1">--momentum|[[{{b_momentum_max}*{momentum_max},{momentum}+1}kl1]]</span><span class="f2">--momentum|[[{{b_momentum_max}*{momentum_max},{momentum}+{b_add_momentum}}kl1]]</span> --momentum_dmg|[[{b_momentum_dmg}*({momentum}+{b_add_momentum})]] --momentum_par|[[{b_momentum_dmg}*({momentum}+{b_add_momentum})]] --momentum_esq|[[{b_momentum_esq}*({momentum}+{b_add_momentum})]] --{Course_m}|[[floor({Course}+{momentum}*{b_momentum_sec})]] --{Saut_m}|[[floor({Saut}+{momentum}*{b_momentum_sec})]] --{Accrobatie_m}|[[floor({Accrobatie}+{momentum}*{b_momentum_sec})]]
|
||||
|
||||
[show_blood]
|
||||
description=
|
||||
others=
|
||||
B = @{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel}
|
||||
<span class="f6">@@ -245,11 +245,11 @@</span>
|
||||
description=Dépense l’ensemble du momentum dans une charge durant une action complète.
|
||||
La puissance de l’impact fracture le sol et inflige de lourds dégâts aux
|
||||
adversaires dans une large zone dépendant du nombre de points de momentum consumés
|
||||
self=Vous perdez votre momentum
|
||||
[Placer l'Impact](!&#13;#place_aoe Impact)
|
||||
others=** Impact ** Un terrible impact sur une zone de <span class="f1">[[floor({b_impact_size}*{X}*{momentum}+0.5)]]</span><span class="f2">[[floor(({X}+{b_impact_size_base})*{b_impact_size}*{momentum})]]</span> mètres infligeant [[{X}*{b_impact}*{momentum}]] dégâts bonus à l’attaque
|
||||
special= Système de stack augmentant en combat et diminuant lors de l’utilisation active des techniques liées.
|
||||
macro = {vset} {you} --mod --temp_dmg|[[{X}*{b_impact}*{momentum}]]
|
||||
{vset} {you} --momentum|0 --momentum_dmg|0 --momentum_par|0 --momentum_esq|0
|
||||
|
||||
[adagio]
|
||||
<span class="f6">@@ -327,11 +327,11 @@</span>
|
||||
Vous regagnez {b_contresang_soin}*{X} points de vie
|
||||
self=Vous regagnez [[{b_contresang_soin}*{X}*@{Voile|multiple_seals}]] points de vie
|
||||
others=** Contresang ** Le sang jaillit des veines de la main gauche de Voile pour combler les blessures.
|
||||
special =
|
||||
macro = {vset} {door} --mod --blood_gate|[[-{b_contresang_charge_level}*@{Voile|multiple_seals}]]
|
||||
{vset} {you} <span class="f1">--Life_Points|[[{@{{you}|Life_Points}+[[{b_contresang_soin}*@{Voile|multiple_seals}]],@{{you}|Life_Points|max}}kl1]]</span><span class="f2">--Life_Points|[[{@{{you}|Life_Points}+[[floor(@{{you}|pcthealing}*{b_contresang_soin}/100)*@{Voile|multiple_seals}]],@{{you}|Life_Points|max}}kl1]]</span>
|
||||
{reset_multiple}
|
||||
|
||||
[Sang_de_Feu]
|
||||
level=Mineure
|
||||
display_name=Sang de Feu
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,199 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">diff --git a/Helpers/Characters/God.ini b/Helpers/Characters/God.ini</span>
|
||||
<span class="bold">index bbce295..9204f5a 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/God.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/God.ini</span>
|
||||
<span class="f6">@@ -190,20 +190,20 @@</span>
|
||||
b_regen_qi_flat=1
|
||||
b_apotheose=2
|
||||
b_energymat_heal=18
|
||||
b_volontee_cost=3
|
||||
b_negation_cost=4
|
||||
<span class="f1">b_negation_par=21</span>
|
||||
<span class="f1"> b_negation_pct=10</span><span class="f2">b_negation_par=60</span>
|
||||
<span class="f2"> b_negation_pct=4</span>
|
||||
b_mouvement_cost=6
|
||||
b_mouvement_power=12
|
||||
b_infusion_cost=7
|
||||
b_infusion_maintien=1
|
||||
b_infusion_dmg=9
|
||||
b_negation_range=1.7
|
||||
<span class="f1">b_inebranlable_cost=3</span>
|
||||
<span class="f1"> b_inebranlable_maintien=3</span><span class="f2">b_inebranlable_cost=4</span>
|
||||
<span class="f2"> b_inebranlable_maintien=2</span>
|
||||
b_inebranlable_encaissement=4
|
||||
b_inebranlable_reduction=-2.9
|
||||
b_inebranlable_actions=4
|
||||
b_unicite_dmg=3
|
||||
b_unicite_cost=4
|
||||
<span class="bold">diff --git a/Helpers/Characters/frene.ini b/Helpers/Characters/frene.ini</span>
|
||||
<span class="bold">index 8b8eaf0..e1bf4ab 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/frene.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/frene.ini</span>
|
||||
<span class="f6">@@ -52,11 +52,11 @@</span>
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_item_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} + @{{you}|temp_def}<span class="f1">+</span> ?{Type <span class="f1">d'attaque|Physique,@{{you}|general_skilllevel_res_physique_effective}|Magique,@{{you}|general_skilllevel_res_magique_effective}|Voile,@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0}</span><span class="f2">d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}}</span> + @{{you}|general_skilllevel_res_omega_effective} <span class="f2">v @{{you}|res_omega_pct}
|
||||
</span> !setattr --charid @{{you}|character_id} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[refresh_marques]
|
||||
description=Macro de recalcul d'etat des marques
|
||||
self=
|
||||
<span class="bold">diff --git a/Helpers/Characters/npc.ini b/Helpers/Characters/npc.ini</span>
|
||||
<span class="bold">index ae1e9d1..0cdc692 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/npc.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/npc.ini</span>
|
||||
<span class="f6">@@ -29,18 +29,20 @@</span>
|
||||
|
||||
[parade_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
<span class="f2">you=selected</span>
|
||||
macro=!crit ?{Nombre de des de defense|0} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} S @{selected|general_skilllevel_Encaissement} @{selected|general_effective_Encaissement} H @{selected|base_defense_dices} H @{selected|exal_defense_dices} s @{selected|general_defense_threshold} l @{selected|general_defense_addall} A @{selected|Skill_general_attribute_select_defense} t @{selected|transcendence} - ?{Dégats a parer|0} a d n @{selected|undescored_name} + @{selected|general_effective_shield1} + @{selected|general_effective_shield2} + @{selected|general_effective_shield3} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} v @{selected|temp_pdef} + @{selected|temp_def}<span class="f1">+</span> ?{Type <span class="f1">d'attaque|Physique,@{selected|general_skilllevel_res_physique_effective}|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0}</span><span class="f2">d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}}</span> + <span class="f1">@{selected|general_skilllevel_res_omega_effective}</span><span class="f2">@{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
</span> !setattr --charid @{selected|character_id} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
<span class="f2">you=selected</span>
|
||||
macro=!crit ?{Nombre de des de defense} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} S @{selected|general_skilllevel_Encaissement} @{selected|general_effective_Encaissement} H @{selected|base_defense_dices} H @{selected|exal_defense_dices} s @{selected|general_defense_threshold} l @{selected|general_defense_addall} A @{selected|Skill_general_attribute_select_defense} t @{selected|transcendence} - ?{Dégats a parer|0} a d n @{selected|undescored_name} + @{selected|general_item_shield3} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} v @{selected|temp_pdef} + @{selected|temp_def}<span class="f1">+</span> ?{Type <span class="f1">d'attaque|Physique,@{selected|general_skilllevel_res_physique_effective}|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0}</span><span class="f2">d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}}</span> + <span class="f1">@{selected|general_skilllevel_res_omega_effective}</span><span class="f2">@{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}</span>
|
||||
!setattr --charid @{selected|character_id} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[tir_macro]
|
||||
description=Macro de Tir
|
||||
self=
|
||||
<span class="bold">diff --git a/Helpers/Characters/reginald.ini b/Helpers/Characters/reginald.ini</span>
|
||||
<span class="bold">index 0d8aecf..448edaf 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/reginald.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/reginald.ini</span>
|
||||
<span class="f6">@@ -46,18 +46,18 @@</span>
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade magique
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} v @{{you}|cylpeos_res} + @{{you}|temp_def}<span class="f1">+</span> ?{Type <span class="f1">d'attaque|Magique,@{{you}|general_skilllevel_res_magique_effective}|Voile,@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{{you}|general_skilllevel_res_physique_effective}}</span><span class="f2">d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}}</span> + @{{you}|general_skilllevel_res_omega_effective} <span class="f2">v @{{you}|res_omega_pct}</span>
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[parade_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield1} + @{{you}|general_effective_shield2} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} v @{{you}|cylpeos_res} + @{{you}|temp_def}<span class="f1">+</span> ?{Type <span class="f1">d'attaque|Physique,@{{you}|general_skilllevel_res_physique_effective}|Magique,@{{you}|general_skilllevel_res_magique_effective}|Voile,@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0}</span><span class="f2">d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}}</span> + @{{you}|general_skilllevel_res_omega_effective} <span class="f2">v @{{you}|res_omega_pct}</span>
|
||||
!setattr --charid @{{you}|charid} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[turn]
|
||||
description=Début du tour
|
||||
self=
|
||||
<span class="f6">@@ -267,11 +267,11 @@</span>
|
||||
cost=16
|
||||
level = Ultime
|
||||
display_name = Arcanum Magnum : Aureola
|
||||
type = Arcana
|
||||
description =
|
||||
self = **[Arcane Ultime : Aureola]** Si votre cible devait mourir ce tour ci, elle devient inciblable pendant une action a la place, elle récupére <span class="f1">[[{b_aureola}*{X}]] dés de sa reserve active et [[{eau}*{X}]]</span><span class="f2">[[{eau}*({X}+3)]]</span> points de vie. Si la cible est sous l'effet d'une ou plusieurs alterations d'état négatives, retirez les, et appliquez les soins normalement.
|
||||
others = Une auréole se forme au dessus de votre tête et une voix angélique vous murmure : "N'aie peur, car je suis a tes cotés; ne crains pas l'adversité car je suis ton alliée; la mort n'aura pas de prise sur toi tant que je serai là"
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQOfa4fiV2tjKEmu7C_magic_arcanist_skilllevel}
|
||||
macro =[Appliquer l'auréole](!&#13;#placer_aureole)
|
||||
special =
|
||||
|
||||
<span class="bold">diff --git a/Helpers/Characters/tian.ini b/Helpers/Characters/tian.ini</span>
|
||||
<span class="bold">index a272e4f..10d8403 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/tian.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/tian.ini</span>
|
||||
<span class="f6">@@ -30,11 +30,11 @@</span>
|
||||
|
||||
[start]
|
||||
self = Votre déplacement est de [[{sp}*2+{ap_level}]], Il vous reste [[@{{you}|usurpation_charges}]] utilisations de *Usurpation du souffle*.
|
||||
description =
|
||||
others =
|
||||
macro = !setattr --name {you} --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --pctreceived_b|0 --pctreceived_s|0 --elem_omega|0 --qi|0|[[{qi_level}*{b_qimax}]] --element|0 --element_dmg|0 --general_item_shield3|[[{b_apotheose}*{ap_level}*@{Tian-Hu|base-custom}]] --general_skilllevel_Endurance_surnaturelle|[[{end}+{ap_level}]] <span class="f1">--parry_power|[[{neg_level}*{b_negation_par}]]</span><span class="f2">--negation_pdef|[[{neg_level}*{b_negation_pct}]] --parry_power|[[({neg_level}+3)*{b_negation_par}]]</span> --maintien_qi|0 --elemental_dmg|0 --pctreceived_in|0 --usurpation_charges|{usur_level} --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
|
||||
[turn]
|
||||
self =
|
||||
description =
|
||||
others =
|
||||
<span class="f6">@@ -49,18 +49,18 @@</span>
|
||||
|
||||
[parade]
|
||||
self =
|
||||
description =
|
||||
others =
|
||||
macro = !crit ?{Nombre de des de defense} I @{Tian-Hu|skillcost_Defense_impenetrable} @{Tian-Hu|general_effective_Defense_impenetrable} R @{Tian-Hu|general_effective_Rempart_parfait} c @{Tian-Hu|crit_level} S @{Tian-Hu|general_skilllevel_Encaissement} @{Tian-Hu|general_effective_Encaissement} H @{Tian-Hu|base_defense_dices} H @{Tian-Hu|exal_defense_dices} s @{Tian-Hu|general_defense_threshold} l @{Tian-Hu|general_defense_addall} A @{Tian-Hu|Skill_general_attribute_select_defense} t @{Tian-Hu|transcendence} - ?{Dégats a parer|0} a d n @{Tian-Hu|undescored_name} + @{Tian-Hu|general_effective_shield1} + @{Tian-Hu|general_effective_shield2} + @{Tian-Hu|general_effective_shield3} v @{Tian-Hu|pctreceived} v @{Tian-Hu|pctreceived_s} v @{Tian-Hu|pctreceived_b} v @{Tian-Hu|temp_pdef} + @{Tian-Hu|temp_def} v @{Tian-Hu|pctreceived_in}<span class="f1">+ @{Tian-Hu|elemental_dmg} +</span> ?{Type <span class="f1">d’attaque|Physique,@{{you}|general_skilllevel_res_physique_effective}|Magique,@{{you}|general_skilllevel_res_magique_effective}|Voile,@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0}</span><span class="f2">d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}}</span> + @{{you}|general_skilllevel_res_omega_effective} <span class="f2">v @{{you}|res_omega_pct}</span>
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[parade_brute_macro]
|
||||
self =
|
||||
description = Macro de parade magique
|
||||
others =
|
||||
macro =!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} + @{{you}|temp_def}<span class="f1">+ @{Tian-Hu|elemental_dmg} +</span> ?{Type <span class="f1">d'attaque|Magique,@{{you}|general_skilllevel_res_magique_effective}|Voile,@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{{you}|general_skilllevel_res_physique_effective}}</span><span class="f2">d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}}</span> + @{{you}|general_skilllevel_res_omega_effective} <span class="f2">v @{{you}|res_omega_pct}</span>
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[esquive]
|
||||
self =
|
||||
description =
|
||||
<span class="f6">@@ -147,24 +147,24 @@</span>
|
||||
|
||||
[negation_selon_tian]
|
||||
level = Avancée
|
||||
display_name = Négation selon Tian
|
||||
description = Technique de parade utilisant du Qi. Cette technique permet de parer des énergies (divin/magique/voile).
|
||||
self = Vous pouvez parer toute attaque quelqu’en soit le type. Si cette parade est totale, vous effectuez un bloquage total dans une zone de <span class="f1">[[{neg_level}*{b_negation_range}]]</span><span class="f2">[[({neg_level}+1)*{b_negation_range}]]</span> mètres.
|
||||
type = Actif/Empower
|
||||
others = **Négation selon Tian** [Coût : {b_negation_cost} {D}] *{you} joint ses mains, un dôme de Qi de [[{neg_level}*{b_negation_range}]] mètres s’érige autour de Tian, toute attaque s’y éffrite puis se nullifie.*
|
||||
cost = 8
|
||||
macro = !setattr --name {you} --mod --qi|-{b_negation_cost}
|
||||
!crit ?{Nombre de des de defense} I @{Tian-Hu|skillcost_Defense_impenetrable} @{Tian-Hu|general_effective_Defense_impenetrable} R @{Tian-Hu|general_effective_Rempart_parfait} c @{Tian-Hu|crit_level} S @{Tian-Hu|general_skilllevel_Encaissement} @{Tian-Hu|general_effective_Encaissement} H @{Tian-Hu|base_defense_dices} H @{Tian-Hu|exal_defense_dices} s @{Tian-Hu|general_defense_threshold} l @{Tian-Hu|general_defense_addall} A @{Tian-Hu|Skill_general_attribute_select_defense} t @{Tian-Hu|transcendence} - ?{Dégats a parer|0} a d n @{Tian-Hu|undescored_name} + @{Tian-Hu|general_effective_shield1} + @{Tian-Hu|general_effective_shield2} + @{Tian-Hu|general_effective_shield3} v @{Tian-Hu|pctreceived} v @{Tian-Hu|pctreceived_s} v @{Tian-Hu|pctreceived_b} v @{Tian-Hu|temp_pdef} + @{Tian-Hu|temp_def} + @{Tian-Hu|parry_power} v @{Tian-Hu|pctreceived_in}<span class="f1">+ @{Tian-Hu|elemental_dmg}</span> v <span class="f1">{b_negation_pct} +</span><span class="f2">@{Tian-Hu|negation_pdef}</span> ?{Type <span class="f1">d’attaque|Magique,@{selected|general_skilllevel_res_magique_effective}|Voile,@{selected|general_skilllevel_res_voile_effective}|Divine,@{selected|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{selected|general_skilllevel_res_physique_effective}}</span><span class="f2">d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}}</span> + <span class="f1">@{selected|general_skilllevel_res_omega_effective}</span><span class="f2">@{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
</span> !setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
special =
|
||||
|
||||
[inebranlable]
|
||||
level = Avancée
|
||||
display_name = Inébranlable
|
||||
description = Technique de Qi rendant l’utilisateur bien plus résistance aux dommages. Ce dernier gagne de la réduction de dégats et de l’encaissement.
|
||||
self = Vous gagnez <span class="f1">[[floor({X}*{b_inebranlable_reduction})]]</span><span class="f2">[[floor(({X}+3)*{b_inebranlable_reduction})]]</span> pourcentage de dégats reduits et [[{X}*{b_inebranlable_encaissement}]] en Encaissement payez {b_inebranlable_actions} actions en tant que cout supplémentaires. # ptct received
|
||||
type = Actif/Buff/Maintenu
|
||||
others = **Inébranlable** [Coût : {b_inebranlable_cost} {D} | Maintien : {b_inebranlable_maintien} {D}] *Le corps de {you} semble surchargé d’énergie, une aura défensive émane de son corps. *
|
||||
cost = 4
|
||||
X = @{Tian-Hu|repeating_defensive-combat-skills_-LkV8Z5ezvreujA1cBnz_defensive_combat_skilllevel}
|
||||
macro = !setattr --name {you} --mod --maintien_qi|{b_inebranlable_maintien} --qi|{b_inebranlable_cost} --general_skilllevel_Encaissement|[[{Encaissement}+{X}*{b_inebranlable_encaissement}]] --pctreceived_in|[[floor({X}*{b_inebranlable_reduction})]]
|
||||
<span class="bold">diff --git a/Helpers/Characters/voile.ini b/Helpers/Characters/voile.ini</span>
|
||||
<span class="bold">index 8bfaa01..fffc675 100644</span>
|
||||
<span class="bold">--- a/Helpers/Characters/voile.ini</span>
|
||||
<span class="bold">+++ b/Helpers/Characters/voile.ini</span>
|
||||
<span class="f6">@@ -112,19 +112,19 @@</span>
|
||||
|
||||
[parade_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield1} + @{{you}|general_effective_shield2} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} + @{{you}|temp_def} + @{{you}|momentum_esq} + @{{you}|tempo_par}<span class="f1">+</span> ?{Type <span class="f1">d'attaque|Physique,@{{you}|general_skilllevel_res_physique_effective}|Magique,@{{you}|general_skilllevel_res_magique_effective}|Voile,@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0}</span><span class="f2">d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}}</span> + @{{you}|general_skilllevel_res_omega_effective} <span class="f2">v @{{you}|res_omega_pct}</span>
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0 --tempo_par|0
|
||||
{m}change_momentum
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade magique
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} + @{{you}|temp_def} + @{{you}|momentum_esq}<span class="f1">+</span> ?{Type <span class="f1">d'attaque|Magique,@{{you}|general_skilllevel_res_magique_effective}|Voile,@{{you}|general_skilllevel_res_voile_effective}|Divine,@{{you}|general_skilllevel_res_divine_effective}|Existence,0|Physique,@{{you}|general_skilllevel_res_physique_effective}}</span><span class="f2">d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}}</span> + @{{you}|general_skilllevel_res_omega_effective} <span class="f2">v @{{you}|res_omega_pct}</span>
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
{m}change_momentum
|
||||
|
||||
[harmony]
|
||||
level=Ultime
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">Liste des fichiers</span>
|
||||
<span class="bold"><a href="./190812 04h49 Bloodmagic changes & very small bugfixes.html">› 190812 04H49 Bloodmagic Changes & Very Small Bugfixes</a></span>
|
||||
<span class="bold"><a href="./190813 20h15 Tian&Voile Rework, huge refactor.html">› 190813 20H15 Tian&Voile Rework, Huge Refactor</a></span>
|
||||
<span class="bold"><a href="./190824 08h50 Barely noticable changes.html">› 190824 08H50 Barely Noticable Changes</a></span>
|
||||
<span class="bold"><a href="./190824 20h44 Many balancing issues.html">› 190824 20H44 Many Balancing Issues</a></span>
|
||||
<span class="bold"><a href="./190914 18h14 PctResists plus Tian&Reginald.html">› 190914 18H14 Pctresists Plus Tian&Reginald</a></span>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,220 @@
|
|||
[DEFAULT]
|
||||
fo = (@{base-Force}+@{exal-Force})
|
||||
ag = (@{base-Agilite}+@{exal-Agilite})
|
||||
pe = (@{base-Perception}+@{exal-Perception})
|
||||
ca = (@{base-Charisme}+@{exal-Charisme})
|
||||
in = (@{base-Intelligence}+@{exal-Intelligence})
|
||||
vo = (@{base-Volonte}+@{exal-Volonte})
|
||||
ps = (@{base-Psyche}+@{exal-Psyche})
|
||||
cn = (@{base-Chance}+@{exal-Chance})
|
||||
sp = (@{base-special}+@{exal-special})
|
||||
vset = !setattr --name
|
||||
m=#
|
||||
#affinitées
|
||||
|
||||
#Remplacer stack par marque
|
||||
target=@{target|target|character_name}
|
||||
|
||||
[Characters/voile.ini]
|
||||
b_harmony_init=2
|
||||
harmony_charge=un point par semaine
|
||||
b_shadow_har=10
|
||||
b_shadow_har_disc=1.3
|
||||
b_shadow_har_int=1.3
|
||||
b_harmony_per=1.5
|
||||
b_metal_har=1.8
|
||||
b_wind_har_act=1.2
|
||||
b_wind_har_opp=1.3
|
||||
b_water_har=0.5
|
||||
b_eth_har=0.5
|
||||
b_fou_dmg=0.3
|
||||
b_add_momentum=2
|
||||
b_momentum_dmg=3.7
|
||||
b_momentum_speed=1
|
||||
b_momentum_max=20
|
||||
b_momentum_esq=2.2
|
||||
b_momentum_sec=0.15
|
||||
b_impact=2.2
|
||||
b_impact_size=0.02
|
||||
b_impact_size_base=4
|
||||
b_adagio=2
|
||||
b_tempo_dep=4
|
||||
b_tempo_degre=0.3
|
||||
b_tempo=30
|
||||
b_tempo_max=240
|
||||
b_phenix_reg=45
|
||||
sceau_du_phenix_charge_level=80
|
||||
b_phenix_alt_charge=15
|
||||
b_bis_repetitas_charge_level=4
|
||||
b_bis_repetitas_onhit= 50
|
||||
b_lune_de_sang_charge_level=25
|
||||
b_sceaulunesang_shield=22
|
||||
b_sceaulunesang_base=3
|
||||
b_sang_charge_level=35
|
||||
b_sang_dmg=50
|
||||
b_temps_charge_level=6
|
||||
b_souffle_de_sang_charge_level=15
|
||||
b_souffle_de_sang=2
|
||||
b_influx_charge_level=3
|
||||
b_influx_phys=2
|
||||
b_contresang_soin=30
|
||||
b_contresang_charge_level=30
|
||||
b_ame_charge_level=5
|
||||
b_ame_target=2
|
||||
b_ame_alt_range=10
|
||||
b_veine_charge_level=20
|
||||
b_veine_duree=1
|
||||
b_sangfeu_charge_level=30
|
||||
b_sangfeu_dmg=50
|
||||
b_amplitude_chargelevel=10
|
||||
b_amplitude_percent=45
|
||||
b_ombre_chargelevel=20
|
||||
b_ombre_discretion=4
|
||||
b_iresanglante_dmg=25
|
||||
b_brumesang_value=20
|
||||
b_torrentpourpre_abysse=20
|
||||
b_base_abysse=100
|
||||
b_torrentpourpre_souffrance=20
|
||||
b_base_souffrance=50
|
||||
b_torrentpourpre_sang=10
|
||||
b_base_sang=25
|
||||
b_soifimpie_rgn=2
|
||||
d_soif_heal=10
|
||||
b_bloodbath=42
|
||||
b_bloodbath_heal=20
|
||||
b_bloodbath_act=6
|
||||
|
||||
[Characters/frene.ini]
|
||||
b_revigoration=0.5
|
||||
b_morsure_hiver=4
|
||||
b_robustesse_hiver=5
|
||||
b_transfert=7
|
||||
b_symbiose=0.1
|
||||
b_simulation_aspect=
|
||||
b_colere_aspect=8
|
||||
b_colere_max=
|
||||
b_garde_aspect=2
|
||||
b_armure_givre=6.5
|
||||
b_rayon_glace=0.5
|
||||
b_rayon_glace_dmg=2.2
|
||||
b_stase_cryogenique=0.8
|
||||
b_stase_cc=8
|
||||
b_brume_gelee=9
|
||||
b_vague_glace=5
|
||||
b_vague_glace_cc=6
|
||||
b_etreinte_glaciale=4.5
|
||||
b_etreinte_glaciale_res=3
|
||||
d_hivers_sans_fin=60
|
||||
b_omega_max=10
|
||||
b_benediction_hivers=2
|
||||
b_mur=3
|
||||
b_mur_hp=5
|
||||
b_mur_size_h=2
|
||||
b_mur_size=3
|
||||
b_blizzard=5
|
||||
b_blizzard_size=8
|
||||
b_dome_hivers_size=3
|
||||
b_dome_hivers_prot=0.8
|
||||
b_dome_hivers_shield=15
|
||||
b_bourrasque=0.21
|
||||
b_bourrasque_dmg=2.5
|
||||
b_bourrasque_size=2
|
||||
b_explosion_dmg=1.1
|
||||
b_explosion_dmg_aoe=0.55
|
||||
b_explosion_size=1.8
|
||||
b_explosion_base=3
|
||||
b_voile_aurore=4.5
|
||||
b_voile_aurore_base=3
|
||||
b_voile_aurore_buff=0.1
|
||||
|
||||
[Characters/reginald.ini]
|
||||
b_power_arcana=2
|
||||
b_elem=1.8
|
||||
b_power=5r<2
|
||||
b_d_cc=3
|
||||
b_quake=2
|
||||
b_zone=3
|
||||
b_duration=d2
|
||||
b_heal=1.5
|
||||
b_shield=2
|
||||
b_cc_physique=16
|
||||
b_cc_magique=16
|
||||
b_buff_phy=8
|
||||
b_buff_phy_res=2
|
||||
b_maladie=1.3
|
||||
b_buff_mag=7
|
||||
b_buff_mag_res=5
|
||||
b_diminution_degats=3
|
||||
b_diminution_degats_rec=4
|
||||
b_augmentation_degats=3
|
||||
b_diminution_shield=9.1
|
||||
b_pyroclasme=8
|
||||
b_tidialwave=0.5
|
||||
b_d_tidialwave=2
|
||||
b_tornado=2
|
||||
b_suspension=4
|
||||
b_burning=4
|
||||
b_artificer=4
|
||||
b_d_corrosion=3
|
||||
b_corrosion=8
|
||||
b_incontrolable=8
|
||||
b_split_sec=4
|
||||
b_d_split_sec=4
|
||||
b_aureola=2
|
||||
b_fluctus_res=0.13
|
||||
b_fluctus_base_res=2
|
||||
b_fluctus_dmg=0.27
|
||||
b_fluctus_max=40
|
||||
b_dilluvium=4
|
||||
b_tenacitas=1.1
|
||||
b_dementia=2
|
||||
b_marcor=4
|
||||
b_marcor_d=4r<2
|
||||
b_despectio=1
|
||||
b_despectio_cost=2
|
||||
b_celeritas=2
|
||||
b_scientia=3
|
||||
b_praesagio=3
|
||||
b_cylpeos=-0.9
|
||||
b_cylpeos_pct=1.2
|
||||
b_cylpeos_shield=22
|
||||
b_navia=2
|
||||
b_fluctus_gain=2
|
||||
|
||||
[Characters/tian.ini]
|
||||
b_qimax=10
|
||||
b_unification=6
|
||||
b_unification_sc=2
|
||||
b_energy_cost=4
|
||||
b_regen_qi=2
|
||||
b_regen_qi_flat=1
|
||||
b_apotheose=2
|
||||
b_energymat_heal=18
|
||||
b_volontee_cost=3
|
||||
b_negation_cost=4
|
||||
b_negation_par=66
|
||||
b_negation_pct=4
|
||||
b_mouvement_cost=6
|
||||
b_mouvement_power=12
|
||||
b_infusion_cost=7
|
||||
b_infusion_maintien=1
|
||||
b_infusion_dmg=9
|
||||
b_negation_range=1.7
|
||||
b_inebranlable_cost=4
|
||||
b_inebranlable_maintien=2
|
||||
b_inebranlable_encaissement=5
|
||||
b_inebranlable_reduction=-3.2
|
||||
b_inebranlable_actions=4
|
||||
b_unicite_dmg=3
|
||||
b_unicite_cost=4
|
||||
b_unicite_maintien=3
|
||||
b_peaume_cost=6
|
||||
b_peaume_DD=1
|
||||
b_peaume_dmg=-25
|
||||
b_usurpation=6
|
||||
b_usurpation_cost=2
|
||||
b_monde_reduct=0.5
|
||||
b_monde_qi=2
|
||||
b_chatiment_cost=-11
|
||||
b_chatiment_dmg=18
|
||||
b_chatiment_pct=9
|
||||
|
|
@ -0,0 +1,420 @@
|
|||
[DEFAULT]
|
||||
#Penser a tout faire scale avec les affinitées
|
||||
a_eau=(@{Jinyah|elem_eau_tot}/2+@{Eisvogel|elem_eau_tot}+@{Jinyah|elem_omega})
|
||||
a_air=(@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})
|
||||
a_feu=(@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})
|
||||
a_terre=(@{Jinyah|elem_terre_tot}/2+@{Eisvogel|elem_terre_tot}+@{Jinyah|elem_omega})
|
||||
a_glace=(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})
|
||||
a_metal=(@{Jinyah|elem_metal_tot}/2+@{Eisvogel|elem_metal_tot}+@{Jinyah|elem_omega})
|
||||
a_magma=(@{Jinyah|elem_magma_tot}/2+@{Eisvogel|elem_metal_tot}+@{Jinyah|elem_omega})
|
||||
a_vapeur=(@{Jinyah|elem_vapeur_tot}/2+@{Eisvogel|elem_vapeur_tot}+@{Jinyah|elem_omega})
|
||||
a_bois=(@{Jinyah|elem_bois_tot}/2+@{Eisvogel|elem_bois_tot}+@{Jinyah|elem_omega})
|
||||
a_foudre=(@{Jinyah|elem_foudre_tot}/2+@{Eisvogel|elem_foudre_tot}+@{Jinyah|elem_omega})
|
||||
eau=(@{Jinyah|elem_eau_tot}+@{Jinyah|elem_omega})
|
||||
air=(@{Jinyah|elem_air_tot}+@{Jinyah|elem_omega})
|
||||
feu=(@{Jinyah|elem_feu_tot}+@{Jinyah|elem_omega})
|
||||
terre=(@{Jinyah|elem_terre_tot}+@{Jinyah|elem_omega})
|
||||
glace=(@{Jinyah|elem_glace_tot}+@{Jinyah|elem_omega})
|
||||
metal=(@{Jinyah|elem_metal_tot}+@{Jinyah|elem_omega})
|
||||
magma=(@{Jinyah|elem_magma_tot}+@{Jinyah|elem_omega})
|
||||
vapeur=(@{Jinyah|elem_vapeur_tot}+@{Jinyah|elem_omega})
|
||||
bois=(@{Jinyah|elem_bois_tot}+@{Jinyah|elem_omega})
|
||||
foudre=(@{Jinyah|elem_foudre_tot}+@{Jinyah|elem_omega})
|
||||
you=Jinyah
|
||||
him=Eisvogel
|
||||
simu=@{Jinyah|repeating_magic-aspected-skills_-Lk-H0A4ZvDP4YcBL1NS_magic_aspected_skilllevel}
|
||||
garde=@{Jinyah|repeating_magic-aspected-skills_-Lk-H3by-ofAR9GZF4QH_magic_aspected_skilllevel}
|
||||
prelude=@{Jinyah|repeating_magic-aspected-skills_-Lk-H7EpWwfDnT1p0ZH7_magic_aspected_skilllevel}
|
||||
colere=@{Jinyah|repeating_magic-aspected-skills_-Lk-H4mC0xWsyjFR0rGK_magic_aspected_skilllevel}
|
||||
marques_d=@{target|target|frostdamage}
|
||||
marques_s=@{target|target|frostshield}
|
||||
# Base = 4, Good = 11
|
||||
#!token-mod --set statusmarkers|frozen-orb:[[2+2]]
|
||||
#/em @{selected|character_name}
|
||||
manasub=!setattr --name Jinyah --mod --mana|
|
||||
manaregen=[[{@{Jinyah|mana}+floor((@{Jinyah|base-psyche}+@{Eisvogel|base-psyche})/2+@{Jinyah|magic_skilllevel_vortex_mana}+@{Eisvogel|magic_skilllevel_vortex_mana}),@{Jinyah|mana|max}}kl1]]
|
||||
|
||||
[start]
|
||||
description=Macro de début de combat
|
||||
self=Début du combat
|
||||
Si vous ne pouvez plus agir, votre aspect gagne [[floor({simu}{b_simulation_aspect})]] actions supplémentaires jusqu'à la reprise de contrôle du personnage.
|
||||
Reduit les dégats subits de [[floor({garde}*{a_air}/{b_garde_aspect})]]
|
||||
{prelude} fois par combat, si le personnage devrait subir des dégâts létaux, Stase Cryogénique est utilisé sur lui-même a la place.
|
||||
Il vous reste {colere} utilisations de **[Colere de l'Aspect]**
|
||||
others=
|
||||
macro={vset} {you} --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --mana|@{{you}|mana|max} --pctreceived_b|0 --pctreceived_s|0 --general_item_shield3|[[floor({garde}*(@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot})/{b_garde_aspect})]] --colere_stacks|[[{colere}{b_colere_max}]] --elem_omega|0 --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
|
||||
[turn]
|
||||
description=Macro de début de tour
|
||||
self=
|
||||
others=
|
||||
macro={vset} {you} --Life_Points|[[{@{{you}|Life_Points}+floor(@{{you}|regen}*@{{you}|pcthealing}/100)-1*(@{{you}|dot}),@{{you}|Life_Points|max}}kl1]] --mana|{manaregen}
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_item_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} + @{{you}|temp_def} ?{Type d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}} + @{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
!setattr --charid @{{you}|character_id} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[refresh_marques]
|
||||
description=Macro de recalcul d'etat des marques
|
||||
self=
|
||||
others=
|
||||
macro=!token-mod --ignore-selected --set statusmarkers|frozen-orb:[[@{target|target|frostdamage}]]|bolt-shield:[[@{target|target|frostshield}]] --ids @{target|target|token_id}
|
||||
!setattr --charid @{target|target|character_id} --pctreceived_b|[[@{target|target|frostdamage}*floor((({a_glace}+{a_feu})/2)/{b_morsure_hiver})-@{target|target|frostshield}*floor((({a_air}+{a_bois})/2)/{b_robustesse_hiver})]]
|
||||
|
||||
[refresh_all]
|
||||
description=Refresh all marks
|
||||
self=
|
||||
others=
|
||||
macro=
|
||||
|
||||
[set_marques]
|
||||
description=Met les marques a une valeur spécifiée par l'utilisateur
|
||||
X=@{Jinyah|repeating_magic-aspected-skills_-Lk-DqcizrsE0yPbyAb7_magic_aspected_skilllevel}
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --name {target} ?{Changement|Robustesse de l'hiver, --frostshield|Morsure de l'hiver, --frostdamage}|[[{?{Valeur },{X}}kl1]]
|
||||
|
||||
[morsure_hiver]
|
||||
level=Ultime
|
||||
type=Passif
|
||||
display_name=Morsure de l'Hiver
|
||||
X=@{Jinyah|repeating_magic-aspected-skills_-Lk-DqcizrsE0yPbyAb7_magic_aspected_skilllevel}
|
||||
cost=8
|
||||
description=Sous certaines conditions, ou si un sort de glace atteint un ennemi directement,
|
||||
il appliquera un stack de cet effet. Plus cet effet aura été appliqué, plus la cible subira de dégâts supplémentaires.
|
||||
self=Durent jusqu'a la fin du combat, et peuvent stacker jusqu'a {X} fois. Ces marques augmentent de [[floor((({a_glace}+{a_feu})/2)/{b_morsure_hiver})]]% les dégats subit
|
||||
others={target} est sous l'effet Morsure de l'Hiver et prend des dégâts supplémentaires
|
||||
special=
|
||||
macro=
|
||||
|
||||
[robustesse_hiver]
|
||||
level=Ultime
|
||||
type=Passif
|
||||
display_name=Robustesse de l'Hiver
|
||||
X=@{Jinyah|repeating_magic-aspected-skills_-Lk-DqcizrsE0yPbyAb7_magic_aspected_skilllevel}
|
||||
cost=8
|
||||
description=Sous certaines conditions, ou si un sort de glace atteint un allié directement,
|
||||
il appliquera un stack de cet effet. La cible gagne des résistances aux dégâts pour chaque stack.
|
||||
self=Durent jusqu'a la fin du combat, et peuvent stacker jusqu'a [[{X}]] fois. Ces marques reduisent de [[floor((({a_air}+{a_bois})/2)/{b_robustesse_hiver})]]% les dégats subits
|
||||
others={target} est sous l'effet Robustesse de l'Hiver et subit donc moins de dégâts.
|
||||
special=
|
||||
macro=
|
||||
|
||||
[revigoration]
|
||||
level=Avancée
|
||||
type=Actif/Instant
|
||||
display_name=Revigoration
|
||||
X=@{Jinyah|repeating_magic-aspected-skills_-Lk-Gm0UQajXFD5z2zat_magic_aspected_skilllevel}
|
||||
cost=2
|
||||
mp=2
|
||||
description=
|
||||
self=
|
||||
others=**Revigoration** [Coût : {mp}] Soigne {target} de [[floor(@{target|pcthealing}*{marques_s}*{X}*{a_eau}*{b_revigoration}/100)]] points de vie.
|
||||
[Appliquer le soin](! {m}healit [[floor(@{target|pcthealing}*{marques_s}*{X}*{a_eau}*{b_revigoration}/100)]])
|
||||
special=
|
||||
macro={manasub}-{mp}
|
||||
|
||||
[transfert_froid]
|
||||
level=Avancée
|
||||
type=Actif/Instant
|
||||
display_name=Transfert de Froid
|
||||
cost=2
|
||||
mp=3
|
||||
X=@{Jinyah|repeating_magic-aspected-skills_-Lk-Gn2T4CvHCEcxPHaZ_magic_aspected_skilllevel}
|
||||
description=
|
||||
self=
|
||||
others=**Transfert de Froid** [Coût : {mp}] Test DD+[[floor({a_glace}/{b_transfert})]] pour resister. Transfère jusqu'à {X} effets Morsure de l'hiver d'une cible ennemie vers une autre au choix.
|
||||
special=
|
||||
macro={manasub}-{mp}
|
||||
|
||||
[symbiose_aspect]
|
||||
level=Avancée
|
||||
type=Actif/Instant
|
||||
display_name=Symbiose de l'aspect
|
||||
cost=2
|
||||
mp=1
|
||||
X=@{Jinyah|repeating_magic-aspected-skills_-Lk-GphCfAF2s1firmtm_magic_aspected_skilllevel}
|
||||
description=Appliquer des effets Morsure de l'Hiver permet d'appliquer {X} effets Robustesse de l'Hiver sur une cible alliée au choix, tandis qu'appliquer des effets Robustesse de l'Hiver permet d'appliquer {X} effets Morsure de l'Hiver sur un ennemi au choix. (Test de résistance magique)
|
||||
self=Appliquez jusqu'a {X} marques de Robustesse de l'Hivers a un allié au choix, Appliquez {X} marques de Morsure de l'Hivers sur un ennemi au choix. DD+[[floor({a_glace}*{b_symbiose})]]
|
||||
others=
|
||||
special=
|
||||
macro={manasub}-{mp}
|
||||
|
||||
[stimulation_aspect]
|
||||
level=Avancée
|
||||
type=Passif/Buff
|
||||
display_name=Stimulation de l'aspect
|
||||
cost=4
|
||||
mp=0
|
||||
simu=@{Jinyah|repeating_magic-aspected-skills_-Lk-H0A4ZvDP4YcBL1NS_magic_aspected_skilllevel}
|
||||
description=Si le personnage ne peut plus agir quelqu'en soit la raison,
|
||||
l'aspect gagne [[floor({simu}{b_simulation_aspect})]] actions supplémentaires jusqu'à la reprise de contrôle du personnage.
|
||||
self=
|
||||
others=
|
||||
special=Jinyah ne peut plus agir, mais son aspect s'en voit renforcé.
|
||||
macro=
|
||||
|
||||
[garde_aspect]
|
||||
level=Avancée
|
||||
type=Passif/Instant
|
||||
display_name=Garde de l'aspect
|
||||
cost=4
|
||||
mp=0
|
||||
description=Lorsque vous allez subir des dégâts, réduisez ces derniers.
|
||||
self=
|
||||
others=
|
||||
special=
|
||||
macro= #ADD TO RECAP
|
||||
|
||||
[colere_aspect]
|
||||
level=Avancée
|
||||
type=Actif/Empower
|
||||
display_name=Colère de l'aspect
|
||||
cost=4
|
||||
mp=0
|
||||
description=Peut convertir les effets Morsure de l'Hiver d'une cible pour regagner du Mana.
|
||||
self=Il vous reste [[@{Jinyah|colere_stacks}-1]] utilisations de **[Colere de l'aspect]**
|
||||
others=**Colère de l'aspect** [Coût : {mp}] Régenère [[floor({marques_d}*{colere}*{a_eau}/{b_colere_aspect})]] points de Mana en drainant les marques de {target}.
|
||||
Jinyah se couvre de froid et regagne du Mana.
|
||||
special=
|
||||
macro= {manasub}-{mp}
|
||||
{vset} {you} --mana|[[{@{{you}|mana}+floor({marques_d}*{colere}*{a_eau}/{b_colere_aspect}), @{{you}|mana|max}}kl1]] --colere_stacks|[[@{Jinyah|colere_stacks}-1]]
|
||||
{vset} {target} --frostdamage|0
|
||||
|
||||
[prelude_hiver]
|
||||
level=Avancée
|
||||
type=Passif/Instant/Buff
|
||||
display_name=prélude de l'hiver
|
||||
cost=16
|
||||
prelude=@{Jinyah|repeating_magic-aspected-skills_-Lk-H7EpWwfDnT1p0ZH7_magic_aspected_skilllevel}
|
||||
description={prelude} fois par combat, si le personnage devrait subir des dégâts létaux, Stase Cryogénique est utilisé sur lui-même a la place.
|
||||
Jinyah se recouvre de glace, la protégeant ainsi des dégâts.
|
||||
self=
|
||||
others=
|
||||
special= Voir le sort Stase Cryogénique, situé 3 sorts plus bas
|
||||
macro=
|
||||
|
||||
[armure_givre]
|
||||
level=Simple
|
||||
type=Actif/Buff
|
||||
display_name=Armure de Givre
|
||||
cost=4
|
||||
mp=8
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HFQx4xIxRZTRebBS_magic_aspected_skilllevel}
|
||||
description=Crée une armure de Givre sur une cible, lui conférant {X} effet Robustesse de l’hiver,
|
||||
tout en créant un bouclier sur la cible.
|
||||
self=
|
||||
others= {target} reçoit un bouclier de Givre ainsi que [[{X}-1]] marques Robustesse de l'Hiver supplementaire.
|
||||
special=
|
||||
macro=**Armure de Givre** [Coût : {mp}] Crée un bouclier mitigeant jusqu'a [[floor({X}*{a_air}*{b_armure_givre})]]
|
||||
{manasub}-{mp}
|
||||
|
||||
[rayon_glace]
|
||||
level=Simple
|
||||
type=Actif/Instant
|
||||
display_name=Rayon de Glace
|
||||
cost=4
|
||||
mp=4
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HKdLOZtOyW28mQ5v_magic_aspected_skilllevel}
|
||||
description=Frappe un ennemi avec la puissance brute de la Glace, occasionnant de lourds dégâts si l’attaque touche.
|
||||
self=
|
||||
others=**Rayon** [Coût : {mp}] Envoie un rayon de Glace vers {target}. Dodge DD+[[{X}]]. Inflige [[floor({X}*({a_feu}+{a_glace})*{b_rayon_glace_dmg})]] dégâts. Si cette attaque inflige des dégats, elle inflige [[floor({X}*{b_rayon_glace})]] effets Morsure de l’Hiver supplémentaires.
|
||||
special=
|
||||
macro={manasub}-{mp}
|
||||
|
||||
[stase_cryogenique]
|
||||
level=Avancée
|
||||
type=Actif/Empower
|
||||
display_name=Stase Cryogénique
|
||||
cost=4
|
||||
mp=6
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HKdLOZtOyW28mQ5v_magic_aspected_skilllevel}
|
||||
description= Protège une cible des dégâts, l’empêche d’utiliser des actions.
|
||||
Régénère {X}*{b_stase_cryogenique} points de vie par marque de Robustesse de l’Hiver sur la cible.
|
||||
Peut-être utilisé sur un ennemi affecté par Morsure de l’hiver pour les mêmes effets.
|
||||
Dure jusqu’au prochain tour de la cible.
|
||||
self=
|
||||
others= {target} ne peut pas agir jusqu'à son prochain tour et ne prendra pas de dégâts.
|
||||
special=
|
||||
macro=**Stase Cryogénique** [Coût : {mp}] Test DD+[[floor({a_glace}/{b_stase_cc})]]. Régénère [[floor({marques_s}*{X}*{a_eau}*{b_stase_cryogenique})]] points de vie.
|
||||
{vset} {target} --Life_Points|[[{@{target|target|Life_Points}+floor({marques_s}*{X}*{a_eau}*{b_stase_cryogenique}),@{target|target|Life_Points|max}}kl1]]
|
||||
{manasub}-{mp}
|
||||
|
||||
[brume_gelee]
|
||||
level=Simple
|
||||
type=Actif/Buff/Durée
|
||||
display_name=Brume Gelée
|
||||
cost=4
|
||||
mp=9
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HO1ii7biiKBDKj6n_magic_aspected_skilllevel}
|
||||
description=Invoque une brume qui recouvre une zone de {X}*{b_brume_gelee} metres de rayon handicapant la vision des ennemis, et donnant un effet Robustesse de l’hiver aux alliés à l’intérieur chaque tour. La Brume dure {X} tours.
|
||||
self=[Placer la brume](! {m}place_aoe Fog)
|
||||
others=Une brume gelée apparaît, recouvre une zone de [[{X}*{b_brume_gelee}]] metres handicapant la vision des ennemis et donnant un effet Robustesse de l’hiver aux alliés à l’intérieur chaque tour. La Brume dure {X} tours.
|
||||
special=
|
||||
macro=**Brume gelée** [Coût : {mp}] Augmente les seuils pour toucher des attaques de [[floor(({a_glace}+{a_metal})/{b_brume_gelee})]] pendant {X} tours
|
||||
{manasub}-{mp}
|
||||
|
||||
[mur_reflechissant]
|
||||
level=Avancée
|
||||
type=Actif/Debuff
|
||||
display_name=Mur réfléchissant
|
||||
cost=4
|
||||
mp=8
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HQ4iwZ5QDsheGnmI_magic_aspected_skilllevel}
|
||||
description=Invoque un grand mur qui bloque les attaques physiques et réfléchit les sorts.
|
||||
Si un ennemi voit son attaque bloquée ou son sort réfléchi,
|
||||
il subit un effet Morsure de l’hiver.
|
||||
self=[Placer le mur](! {m}place_aoe Icewall)
|
||||
others= Un mur de Glace apparaît, protégeant des attaques à venir.
|
||||
special=
|
||||
macro=**Mur réfléchissant** [Coût : {mp}] Crée un mur de [[{X}*{b_mur_size_h}]] metres de haut, [[{X}]] metres d'épaisseur et [[{X}*{b_mur_size}]] mètres de large. Bloque toutes les attaques physiques à hauteur de [[floor({X}*({a_terre}+{a_air})*{b_mur})]] dégâts et tout les dégâts magiques a hauteur de [[floor({X}*({a_glace}+{a_air})*{b_mur})]] dégâts le mur possède [[floor({X}*({a_air}+{a_bois})*{b_mur_hp})]] points de vie par 2³.
|
||||
{manasub}-{mp}
|
||||
|
||||
[vague_glace]
|
||||
level=Simple
|
||||
type=Actif/Instant/Debuff
|
||||
display_name=Vague de Glace
|
||||
cost=4
|
||||
mp=3
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HR949Z-LVJ-tgb3C_magic_aspected_skilllevel}
|
||||
description=Crée une grande vague de glace qui part du lanceur, occasionnant des dégâts,
|
||||
applique Morsure de l’hiver, et entrave tout ennemi n’ayant pas réussi à l’esquiver.
|
||||
self=Placer l'AOE [∇](! {m}direction_aoe Vague_glace) [✸](! {m}place_aoe Vague_glace)
|
||||
others= Une vague de Glace part de Jinyah, entravant tout ennemi pris dedans.
|
||||
special=
|
||||
macro=**Vague de Glace** [Coût : {mp}] Dodge DD+[[{X}]], cone de 30 degrés sur [[{X}*{b_vague_glace}]] mètres. Résistance à l'effet DD+[[floor({a_glace}/{b_vague_glace_cc})]]. CC dure autant de tours que les degrés d'échec. Peut etre retenté chaque tour avec un DD inferieur.
|
||||
{manasub}-{mp}
|
||||
|
||||
|
||||
[etreinte_glaciale]
|
||||
level=Avancée
|
||||
type=Actif/Instant/Durée
|
||||
display_name=Etreinte Glaciale
|
||||
cost=4
|
||||
mp=7
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HTf54N8R6eNDEwxc_magic_aspected_skilllevel}
|
||||
description= Ce sort nécessite que la cible soit affectée par au moins 3 effets Morsure de l’hiver.
|
||||
Tant que la cible est affectée par Morsure de l’hiver,
|
||||
elle prendra d’importants dégâts à chaque tour.
|
||||
|
||||
self=
|
||||
others=**Etreinte Glaciale** [Coût : {mp}] Resistance DD+[[floor({a_magma}/{b_etreinte_glaciale_res})]]. Inflige [[floor({X}*{marques_d}*({a_feu}+{a_glace})/{b_etreinte_glaciale})]] dégâts par tour à {target} jusqu'à perte des marques de Morsure.
|
||||
special=
|
||||
macro={manasub}-{mp}
|
||||
|
||||
[benediction_hiver]
|
||||
level=Avancée
|
||||
type=Actif/Buff/Durée
|
||||
display_name=Bénédiction de l'hiver
|
||||
cost=4
|
||||
mp=6
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HXdpOLN295YW3N0p_magic_aspected_skilllevel}
|
||||
description=Ce sort nécessite que la cible soit affectée par au moins 3 effets Robustesse de l’hiver.
|
||||
La cible voit ses dégâts augmenter pendant {X} tours et gagne un effet Robustesse de l’hiver.
|
||||
self=
|
||||
others=**Bénédiction de l'Hiver** [Coût : {mp}] {target} reçoit une bénédiction de Givre. Sa prochaine action infligera [[floor({X}*{a_feu}*{marques_s}/{b_benediction_hivers})]]% dégats supplémentaires.
|
||||
special=
|
||||
macro={manasub}-{mp}
|
||||
{vset} {target} --mod --temp_pdmg|[[floor({X}*{a_feu}*{marques_s}/{b_benediction_hivers})]]
|
||||
|
||||
[blizzard]
|
||||
level=Avancée
|
||||
type=Actif/Durée
|
||||
display_name=Blizzard
|
||||
cost=16
|
||||
mp=7
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HZdpjSmhjPPyclyE_magic_aspected_skilllevel}
|
||||
description= Crée une tempête dévastatrice dans une grande zone pendant {X} tours.
|
||||
Les ennemis pris dans le Blizzard prennent d’importants dégâts et subissent deux effets Morsure de l’hiver
|
||||
chaque tour commencé dans cette zone.
|
||||
self=[Placer le blizzard](! {m}place_aoe Freeze)
|
||||
others=**Blizzard** [Coût : {mp}] Invoque un blizzard dans une zone de [[floor({X}*{b_blizzard_size})]] mètres de rayon qui inflige [[floor(({a_feu}+{a_glace})*{b_blizzard})]] par tour, dure {X} tours
|
||||
special=
|
||||
macro={manasub}-{mp}
|
||||
|
||||
[dome_hiver]
|
||||
level=Avancée
|
||||
type=Actif/Canalisation/Buff
|
||||
display_name=Dôme de l'hiver
|
||||
cost=14
|
||||
mp=12
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HZShTmq5wdHs0Ug3_magic_aspected_skilllevel}
|
||||
description=Invoque un grand dôme protecteur autour du lanceur.
|
||||
Ce dôme va protéger tous les alliés qui se trouvent à l’intérieur d’une énorme quantité de dégâts,
|
||||
et leur conférer deux effets Robustesse de l’hiver chaque tour. S’il s’avère qu’un ennemi se trouve au sein de ce dôme,
|
||||
il subira un effet Morsure de l’Hiver, et un de plus pour chaque action qu’il effectuera à l’intérieur.
|
||||
Les alliés peuvent quitter le Dôme ou rentrer dedans à tout moment.
|
||||
|
||||
self=[Placer le dome](! {m}place_aoe Dome)
|
||||
others=[Ajouter Resistance](! {m}dmg_received [[{floor(({a_air}+{a_glace})*{b_dome_hivers_prot}),89+{X}}kl1]])
|
||||
[Enlever Resistance](! {m}dmg_received [[-1*{floor(({a_air}+{a_glace})*{b_dome_hivers_prot}),89+{X}}kl1]])
|
||||
special=
|
||||
macro=**Dôme de l'Hiver** [Coût : {mp}] Dôme canalisé dans un cercle de [[{X}*{b_dome_hivers_size}]] metres de rayon autour du lanceur. Réduit les dégâts subis de [[{floor(({a_air}+{a_glace})*{b_dome_hivers_prot}),89+{X}}kl1]]%, et génère un bouclier protégeant de [[floor({a_air}*{b_dome_hivers_shield})]] points de dégats au début de chaque tour. Dure jusqu'a {X} tours. (Canalisé)
|
||||
{manasub}-{mp}
|
||||
|
||||
[hiver_sans_fin]
|
||||
level=Avancée
|
||||
type=Actif/Instant/Buff/Durée
|
||||
display_name=Hiver sans fin
|
||||
cost=8
|
||||
mp=4
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HaVh4E6T6BvNJZu-_magic_aspected_skilllevel}
|
||||
description=Sacrifie tous vos effets Robustesse de l’hiver
|
||||
self=
|
||||
others=**Hiver sans fin** [Coût : {mp}] Votre affinité *Omega* augmente de [[floor({X}*@{{you}|frostshield}*({a_vapeur}+{a_metal})/{d_hivers_sans_fin})]] jusqu'à la fin du combat.
|
||||
special=
|
||||
macro={manasub}-{mp}
|
||||
{vset} {you} --elem_omega|[[{@{{you}|elem_omega}+floor({X}*@{{you}|frostshield}*({a_vapeur}+{a_metal})/{d_hivers_sans_fin}), {X}*{b_omega_max}}kl1]]
|
||||
{vset} {you} --frostshield|0
|
||||
|
||||
[bourrasque_gelee]
|
||||
level=Simple
|
||||
type=Actif/Instant/Debuff
|
||||
display_name=Bourrasque Gelée
|
||||
cost=4
|
||||
mp=3
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HdJw9y7nRiMbXl8s_magic_aspected_skilllevel}
|
||||
description=Envoie une grosse bourrasque d’air glacé qui inflige des dégâts,
|
||||
un effet Morsure de l’hiver, et repousse les ennemis autour du lanceur.
|
||||
self=[Placer la Bourrasque](! {m}place_aoe Freeze)
|
||||
others=**Bourrasque gelée** [Coût : {mp}] Inflige [[floor(({a_feu}+{a_glace}+{X})*{b_bourrasque_dmg})]] dégâts sur une zone de [[{X}*{b_bourrasque_size}]] mètres autours de vous, et tente de repousser les ennemis. DD+[[floor({a_terre}*{b_bourrasque})]].
|
||||
special=
|
||||
macro={manasub}-{mp}
|
||||
|
||||
[explosion_glace]
|
||||
level=Ultime
|
||||
type=Actif/Instant
|
||||
display_name=Explosion de Glace
|
||||
cost=8
|
||||
mp=13
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-HfYpl0l1uj9dUqVC_magic_aspected_skilllevel}
|
||||
description=Une grande explosion de glace se manifeste autour de {target}.
|
||||
self=Tous les cibles prises dans l'explosion prennent des dégâts et subissent jusqu'a {X} effets Morsure de l'Hiver. La cible ne peut subir des marques jusqu'a la fin du tour.
|
||||
[Placer l'explosion](! {m}place_aoe Freeze)
|
||||
others=
|
||||
special=
|
||||
macro=**Explosion de Glace** [Coût : {mp}] Les fragments de glace autour de @{target|T1|character_name} explosent, manifestant une énorme explosion de glace qui inflige [[floor(({X}+{b_explosion_base})*({a_feu}+{a_glace})*@{target|T1|frostdamage}*{b_explosion_dmg})]] dégats a la cible, et inflige [[floor(({X}+{b_explosion_base})*({a_feu}+{a_glace})*@{target|T1|frostdamage}*{b_explosion_dmg_aoe})]] dégats que dans une zone de [[floor(@{target|T1|frostdamage}*{b_explosion_size})]] mètres autour d'elle. La cible perd tous ses effets Morsure de l'Hiver.
|
||||
!setattr --charid @{target|T1|character_id} --frostdamage|0
|
||||
{manasub}-{mp}
|
||||
|
||||
|
||||
[voile_aurore]
|
||||
level=Ultime
|
||||
type=Actif/Buff/Durée
|
||||
display_name=Voile de l'aurore
|
||||
cost=8
|
||||
mp=10
|
||||
X=@{Eisvogel|repeating_magic-aspected-skills_-Lk-Hga0BioOZVTROln9_magic_aspected_skilllevel}
|
||||
description=Projette un voile sur toutes les cibles alliées affectés par Robustesse de l’hiver.
|
||||
Ce voile annule les dégâts des [[{X}*{b_voile_aurore}]] prochaines attaques/sorts.
|
||||
Tant que le voile n’est pas brisé, la Volonté des personnes affectées augmente de {X} points.
|
||||
self=
|
||||
others= Un voile recouvre les alliés aux alentours, protégeant des dégâts et renforçant leur volonté.
|
||||
special=
|
||||
macro=**Voile de l'aurore** [Coût : {mp}] Toutes les cibles affectées par un effet *Robustesse de l'Hiver* recoivent une protection de [[floor(({X}+{b_voile_aurore_base})*({a_air}+{a_bois})*{b_voile_aurore})]] sur la prochaine attaque. Tant qu'ils ont des marques de *Robustesse de l'Hiver* ils beneficient d'un bonus de [[floor({X}*{a_vapeur}*{b_voile_aurore_buff})]] en volonté (cet effet est cumulable jusqu'a [[{X}+1]] fois)
|
||||
{manasub}-{mp}
|
||||
[Protection de l'aurore](! #aurore [[floor(({X}+{b_voile_aurore_base})*({a_air}+{a_bois})*{b_voile_aurore})]])
|
||||
#zone et prot
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
[DEFAULT]
|
||||
you=gm
|
||||
|
||||
[start]
|
||||
description=Macro de début de combat
|
||||
self=Initialisation de @{selected|character_name}
|
||||
others=
|
||||
macro=!setattr --sel --momentum|0 --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --mana|@{selected|mana|max} --pctreceived_b|0 --pctreceived_s|0 --elem_omega|0 --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
|
||||
[turn]
|
||||
description=Macro de tour
|
||||
self=Tour de @{selected|character_name}
|
||||
others=
|
||||
macro=!setattr --sel --Life_Points|[[{@{selected|Life_Points}+floor(@{selected|regen}*@{selected|pcthealing}/100)-1*(@{selected|dot}),@{selected|Life_Points|max}}kl1]] --shield|[[{@{selected|shield}+@{selected|shieldregen},@{selected|shield|max}}]]
|
||||
|
||||
[attaque_macro]
|
||||
description=Macro d'attaque
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des d'attaque|0} P @{selected|general_effective_Perfection} c @{selected|crit_level} M @{selected|skillcost_Technique_martiale} @{selected|general_effective_Technique_martiale} E @{selected|skillcost_Exploiter_les_points_faibles} @{selected|general_effective_Exploiter_les_points_faibles} F @{selected|general_effective_Fauchage} D @{selected|general_effective_Coup_dechirant} H @{selected|base_damage_dices} H @{selected|exal_damage_dices} A @{selected|Skill_general_attribute_select_attaque} s @{selected|general_attack_threshold} l @{selected|general_attack_addall} a a n @{selected|undescored_name} + @{selected|additional_damage_dices} + @{selected|general_effective_weapon1} + @{selected|general_effective_weapon2} t @{selected|transcendence} + @{selected|general_effective_weapon3} f @{selected|pctinflicted} f @{selected|pctinflicted_s} f @{selected|pctinflicted_b} + @{selected|temp_dmg} f @{selected|temp_pdmg}
|
||||
!setattr --charid @{selected|character_id} --temp_pdmg|0 --temp_dmg|0
|
||||
|
||||
[esquive_macro]
|
||||
description=Macro d'esquive
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des d'esquive|0} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} H @{selected|base_dodge_dices} A @{selected|Skill_general_attribute_select_dodge} t @{selected|transcendence} s ?{selected|Seuil d'esquive|0} - ?{Dégats a esquiver|0} a e n @{selected|undescored_name} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} + @{selected|temp_esq}
|
||||
!setattr --charid @{selected|character_id} --temp_esq|0
|
||||
|
||||
[parade_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
you=selected
|
||||
macro=!crit ?{Nombre de des de defense|0} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} S @{selected|general_skilllevel_Encaissement} @{selected|general_effective_Encaissement} H @{selected|base_defense_dices} H @{selected|exal_defense_dices} s @{selected|general_defense_threshold} l @{selected|general_defense_addall} A @{selected|Skill_general_attribute_select_defense} t @{selected|transcendence} - ?{Dégats a parer|0} a d n @{selected|undescored_name} + @{selected|general_effective_shield1} + @{selected|general_effective_shield2} + @{selected|general_effective_shield3} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} v @{selected|temp_pdef} + @{selected|temp_def} ?{Type d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}} + @{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
!setattr --charid @{selected|character_id} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
you=selected
|
||||
macro=!crit ?{Nombre de des de defense} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} S @{selected|general_skilllevel_Encaissement} @{selected|general_effective_Encaissement} H @{selected|base_defense_dices} H @{selected|exal_defense_dices} s @{selected|general_defense_threshold} l @{selected|general_defense_addall} A @{selected|Skill_general_attribute_select_defense} t @{selected|transcendence} - ?{Dégats a parer|0} a d n @{selected|undescored_name} + @{selected|general_item_shield3} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} v @{selected|temp_pdef} + @{selected|temp_def} ?{Type d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}} + @{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
!setattr --charid @{selected|character_id} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[tir_macro]
|
||||
description=Macro de Tir
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de tir|0} T @{selected|skillcost_Tir_precis} @{selected|general_effective_Tir_precis} i @{selected|general_effective_Tir_implacable} M @{selected|skillcost_Technique_martiale} @{selected|general_effective_Technique_martiale} E @{selected|skillcost_Exploiter_les_points_faibles} @{selected|general_effective_Exploiter_les_points_faibles} L @{selected|base_shoot_dices} c @{selected|crit_level} l @{selected|add_shoot_dices} t @{selected|transcendence} s ?{Seuil de tir|6} a a n @{selected|undescored_name} f @{selected|pctinflicted} f @{selected|pctinflicted_s} f @{selected|pctinflicted_b}
|
||||
|
||||
[place_aoe]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!areasOfEffectApplyEffectAtToken @{target|token_id} ?{Specify radius:}
|
||||
|
||||
[direction_aoe]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!areasOfEffectApplyEffectAtCone @{selected|token_id} ?{Specify radius:}
|
||||
|
||||
[add-regen]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --charid @{target|T1|character_id} --mod --regen|[[?{Dégats }]]
|
||||
|
||||
[add-dot]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --charid @{target|T1|character_id} --mod --dot|[[?{Dégats }]]
|
||||
[def_pct.t]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --mod --charid @{target|T1|character_id} --temp_pdef|?{% Dégats reduits}
|
||||
[def_pct]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --mod --charid @{target|T1|character_id} --pctreceived|?{% Dégats reduits}
|
||||
[dmg_pct.t]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --mod --charid @{target|T1|character_id} --temp_pdmg|?{% Dégats supplementaire}
|
||||
[dmg_pct]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --mod --charid @{target|T1|character_id} --pctinflicted|?{% Dégats supplementaire}
|
||||
[cond_list]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!ct show
|
||||
[seuil]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --sel --
|
||||
|
||||
[def.threshold]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --charid @{target|T1|character_id} --general_defense_threshold|?{Seuil de defence}
|
||||
|
||||
[dmg.threshold]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --charid @{target|T1|character_id} --general_attack_threshold|?{Seuil de defence}
|
||||
|
||||
[resist]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=&{template:d10skillcheck}{{name=@{selected|character_name}}} {{roll_name=Jet de résistance}} {{result=[[?{Type|Magique, @{selected|general_skilllevel_res_magique}|Physique, @{selected|general_skilllevel_res_physique}|Mentale, @{selected|general_skilllevel_res_mentale}|Voile, @{selected|general_skilllevel_res_voile}|Divine, @{selected|general_skilllevel_res_divine}|Existence, @{selected|general_skilllevel_res_omega}}+(?{Caractèristique|Volonté, @{selected|base-Volonte}+@{selected|exal-Volonte}|Force, @{selected|base-Force}+@{selected|exal-Force}|Spéciale, @{selected|base-custom}+@{selected|exal-custom}})-d?{Des|10}cs1]]}}
|
||||
|
||||
[aurore]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --sel --mod --temp_def|
|
||||
|
||||
[healit]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --charid @{target|character_id} --Life_Points|
|
||||
|
||||
[heal]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --charid @{target|T1|character_id} --modb --Life_Points|[[@{target|T1|Life_Points}+floor(?{Soins|0}*@{target|T1|pcthealing}/100)]]
|
||||
|
|
@ -0,0 +1,458 @@
|
|||
[DEFAULT]
|
||||
you=Reginald
|
||||
eau=(@{Reginald|elem_eau_tot}+@{Reginald|elem_omega})
|
||||
air=(@{Reginald|elem_air_tot}+@{Reginald|elem_omega})
|
||||
feu=(@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})
|
||||
terre=(@{Reginald|elem_terre_tot}+@{Reginald|elem_omega})
|
||||
glace=(@{Reginald|elem_glace_tot}+@{Reginald|elem_omega})
|
||||
metal=(@{Reginald|elem_metal_tot}+@{Reginald|elem_omega})
|
||||
magma=(@{Reginald|elem_magma_tot}+@{Reginald|elem_omega})
|
||||
vapeur=(@{Reginald|elem_vapeur_tot}+@{Reginald|elem_omega})
|
||||
bois=(@{Reginald|elem_bois_tot}+@{Reginald|elem_omega})
|
||||
foudre=(@{Reginald|elem_foudre_tot}+@{Reginald|elem_omega})
|
||||
power=?{Magna Arcanum|0}*@{God|b_power_arcana}
|
||||
inline_power=?{Magna Arcanum|0}*@{God|b_power_arcana}
|
||||
U=❖
|
||||
A=★
|
||||
celeritas_level = @{Reginald|repeating_magic-arcanist-skills_-LkQX0DClz2M8VxOowqB_magic_arcanist_skilllevel}
|
||||
inspiration = @{Reginald|repeating_magic-arcanist-skills_-LlDufu7rs3DASaoHMiR_magic_arcanist_skilllevel}
|
||||
grandeur = @{Reginald|repeating_magic-arcanist-skills_-LlDumsZJAUiKOWyYmCJ_magic_arcanist_skilllevel}
|
||||
instinct = @{Reginald|repeating_magic-arcanist-skills_-LlDupiroKLZ178dNUab_magic_arcanist_skilllevel}
|
||||
vivacite = @{Reginald|repeating_magic-arcanist-skills_-LlDusTdSp8USpTbe0Z0_magic_arcanist_skilllevel}
|
||||
incandescance = @{Reginald|repeating_magic-arcanist-skills_-LlDv0eJhZrBtn8bzu1c_magic_arcanist_skilllevel}
|
||||
|
||||
[elemental_damage]
|
||||
description=Inflige des dégats élémentaires d'un type
|
||||
self=
|
||||
others=
|
||||
macro=?{Element utilisé|
|
||||
Eau, [Elemental Arcana : Eau] {you} inflige [[[[floor({eau}*{b_elem}+{feu}+{inline_power})]]d{b_power}]] dégats |
|
||||
Air, [Elemental Arcana : Air] {you} inflige [[[[floor({air}*{b_elem}+{feu}+{inline_power})]]d{b_power}]] dégats |
|
||||
Terre, [Elemental Arcana : Terre] {you} inflige [[[[floor({terre}*{b_elem}+{feu}+{inline_power})]]d{b_power}]] dégats |
|
||||
Feu, [Elemental Arcana : Feu] {you} inflige [[[[floor({feu}*{b_elem}+{feu}+{inline_power})]]d{b_power}]] dégats |
|
||||
Glace, [Elemental Arcana : Glace] {you} inflige [[[[floor({glace}*{b_elem}+{feu}+{inline_power})]]d{b_power}]] dégats |
|
||||
Metal, [Elemental Arcana : Metal] {you} inflige [[[[floor({metal}*{b_elem}+{feu}+{inline_power})]]d{b_power}]] dégats |
|
||||
Magma, [Elemental Arcana : Magma] {you} inflige [[[[floor({magma}*{b_elem}+{feu}+{inline_power})]]d{b_power}]] dégats |
|
||||
Vapeur, [Elemental Arcana : Vapeur] {you} inflige [[[[floor({vapeur}*{b_elem}+{feu}+{inline_power})]]d{b_power}]] dégats |
|
||||
Bois, [Elemental Arcana : Bois] {you} inflige [[[[floor({bois}*{b_elem}+{feu}+{inline_power})]]d{b_power}]] dégats |
|
||||
Foudre, [Elemental Arcana : Foudre] {you} inflige [[[[floor({foudre}*{b_elem}+{feu}+{inline_power})]]d{b_power}]] dégats
|
||||
}
|
||||
|
||||
[start]
|
||||
description=Début du combat
|
||||
self=&{template:default} {{name=Recap}} {{Pioche=[[{inspiration}+1]]}} {{Main=[[{grandeur}+2]] cartes}} {{Garde=[[{instinct}]]}} {{Repioche=[[{incandescance}+1]] c/tour}}
|
||||
others=
|
||||
macro= !setattr --name {you} --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --pctreceived_b|0 --pctreceived_s|0 --elem_omega|0 --fluctus|0|{b_fluctus_max} --celeritas_rem|{celeritas_level} --cylpeos_res|0 --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade magique
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} v @{{you}|cylpeos_res} + @{{you}|temp_def} ?{Type d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}} + @{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[parade_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield1} + @{{you}|general_effective_shield2} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} v @{{you}|cylpeos_res} + @{{you}|temp_def} ?{Type d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}} + @{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
!setattr --charid @{{you}|character_id} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[turn]
|
||||
description=Début du tour
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --name {you} --Life_Points|[[{@{{you}|Life_Points}+floor(@{{you}|regen}*@{{you}|pcthealing}/100)-1*(@{{you}|dot}),@{{you}|Life_Points|max}}kl1]]
|
||||
|
||||
[zone]
|
||||
description=L'arcane couvre une zone
|
||||
self=[Placer la zone](! #place_aoe Arcana)
|
||||
others=
|
||||
macro=L'arcane couvre une zone de [[[[{power}+1]]d{b_zone}]] metres
|
||||
|
||||
[durée]
|
||||
description=Durée de l'arcane
|
||||
self=
|
||||
others=
|
||||
macro=L'arcane dure [[({power}+1){b_duration}]] tours
|
||||
|
||||
[eau:soin]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane d'Eau:** Votre arcanum soigne de [[floor(([[floor({eau}+{power})]]d{b_power})*{b_heal})]]
|
||||
|
||||
[air:bouclier]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane d'Air:** Votre arcanum protege de [[floor([[floor({air}+{power})]]d{b_power}*{b_shield})]] points de boucliers
|
||||
|
||||
[terre:cc_physique]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane de Terre:** Votre arcanum effectue une action de controle physique DD+[[floor([[floor({terre}+{power})]]d{b_d_cc}/{b_cc_physique})]]
|
||||
|
||||
[glace:cc_magique]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane de Glace:** Votre arcanum effectue une action de controle magique DD+[[floor([[floor({glace}+{power})]]d{b_d_cc}/{b_cc_magique})]]
|
||||
|
||||
[metal:buff_phy]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane de Metal:** Votre arcanum renforce une ou plusieurs caractéristique physiques de [[floor([[floor({metal}+{power})]]d{b_d_cc}/{b_buff_phy})]]
|
||||
|
||||
[metal:res_phy]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane de Metal:** Votre arcanum renforce une ou plusieurs resistances physiques de [[floor([[floor({metal}+{power})]]d{b_d_cc}/{b_buff_phy_res})]]
|
||||
|
||||
[magma:maladie]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane de Magma:** Votre arcanum inflige une affliction, infligeant [[floor([[floor({magma}+{power})]]d{b_d_cc}/{b_maladie})]] dégats chaque tour.
|
||||
|
||||
[vapeur:buff_mag]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane de Vapeur:** Votre arcanum renforce une ou plusieurs caractéristique magique de [[floor([[floor({metal}+{power})]]d{b_d_cc}/{b_buff_mag})]]
|
||||
|
||||
[vapeur:res_mag]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane de Vapeur:** Votre arcanum augmente une ou plusieurs resistances magiques de [[floor([[floor({vapeur}+{power})]]d{b_d_cc}/{b_buff_mag_res})]]
|
||||
|
||||
[bois:diminution_degats]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane de Bois:** Votre arcanum diminue les dégats infligés de [[floor([[floor({bois}+{power})]]d{b_d_cc}/{b_diminution_degats})]]%
|
||||
|
||||
[bois:resistances]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane de Bois:** Votre arcanum augmente votre résistances aux dégats de [[floor([[floor({bois}+{power})]]d{b_d_cc}/{b_diminution_degats_rec})]]%
|
||||
|
||||
[foudre:diminution_defences]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane de Foudre:** Votre arcanum augmente les dégats subits de [[floor([[floor({foudre}+{power})]]d{b_d_cc}/{b_augmentation_degats})]]%
|
||||
|
||||
[foudre:diminution_shields]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=**Arcane de Foudre:** Votre arcanum détruit les boucliers a hauteur de [[floor([[floor({foudre}+{power})]]d{b_d_cc}*{b_diminution_shield})]]
|
||||
|
||||
[major:pyroclasm]
|
||||
display_name=Pyroclasme
|
||||
level=Avancée
|
||||
cost=0
|
||||
type=Arcana
|
||||
special=
|
||||
description=
|
||||
self=
|
||||
others=**[Arcane Majeure: Pyroclasme]** Un incontrolable pyroclasme s'emparre de l'arcanum, se répendant de cible en cible. L'arcane touche [[[[floor({power}+1)]]d[[floor({feu}/{b_pyroclasme})]]]] cibles aléatoires supplémentaires
|
||||
macro=
|
||||
|
||||
[major:tidial_wave]
|
||||
display_name=Raz de marée
|
||||
level=Avancée
|
||||
cost=0
|
||||
type=Arcana
|
||||
special=
|
||||
description=
|
||||
self=[Placer la zone](! #place_aoe Wave)
|
||||
others=
|
||||
macro=**[Arcane Majeure: Raz de marée]** Un raz de marée de puissance s'emparre de l'arcanum, se répandant en ligne droite engloutissant tout sur son passage. L'arcane s'étend sur [[[[floor(({power}+{eau})*{b_tidialwave})]]d{b_d_tidialwave}]] metres de long et [[{eau}+2d{b_d_tidialwave}]] de large.
|
||||
|
||||
[major:earthquake]
|
||||
display_name=Seisme
|
||||
level=Avancée
|
||||
cost=0
|
||||
type=Arcana
|
||||
special=
|
||||
description=
|
||||
self=[Placer la zone](! #place_aoe Impact)
|
||||
others=
|
||||
macro=**[Arcane Majeure: Seïsme]** Une onde sismique s'emparre de l'arcanum, radiant du lanceur sur une distance de [[[[floor({power}+{terre})]]d{b_quake}]] metres, les cibles a une distance de [[{terre}]] metres du lanceur subissent le double de l'effet de l'arcane.
|
||||
|
||||
[major:tornado]
|
||||
display_name=Tornade
|
||||
level=Avancée
|
||||
cost=0
|
||||
type=Arcana
|
||||
special=
|
||||
description=
|
||||
self=[Placer la zone](! #place_aoe Cyclone)
|
||||
others=**[Arcane Majeure: Tornade]** Une puissante tornade s'emparre de l'arcanum, radiant autour du lanceur sur une distance de [[[[floor({power}+1)]]d{b_tornado}+{air}]] metres, laissant l'oeil du cyclone *([[floor({air}/2)]] metres)* intact.
|
||||
macro=
|
||||
|
||||
[major:suspension]
|
||||
display_name=Suspension
|
||||
level=Avancée
|
||||
cost=0
|
||||
type=Arcana
|
||||
special=
|
||||
description=
|
||||
self=Vous pouver choisir un nombre de tours plus court a la création, mais ne pouvez le changer après cela
|
||||
others=**[Arcane Majeure: Suspension]** Votre arcanum est mise en suspens, prise dans la glace. L'arcanum s'activera au début d'un tour choisi entre le suivant et [[floor(([[floor({power}+{glace})]]d2)/{b_suspension})]] tours.
|
||||
macro=
|
||||
|
||||
[major:burning_ashes]
|
||||
display_name=Nuées ardentes
|
||||
level=Avancée
|
||||
cost=0
|
||||
type=Arcana
|
||||
special=
|
||||
description=
|
||||
self=
|
||||
others=**[Arcane Majeure: Nuées ardentes]** Une nuée ardante s'emparre de l'arcanum, démultipliant sa démence. Votre arcanum cible jusqu'a [[floor(([[floor({magma}+{power})]]d2)/{b_burning})]] cibles supplémentaires.
|
||||
macro=
|
||||
|
||||
[major:artificer]
|
||||
display_name=Artificier
|
||||
level=Avancée
|
||||
cost=0
|
||||
type=Arcana
|
||||
special=
|
||||
description=
|
||||
self=
|
||||
others=**[Arcane Majeure: Artificier]** La main de l'artificier universel s'emparre de l'arcanum. Votre arcanum est désormais a votre disposition comme une réaction pour [[floor(([[floor({metal}+{power})]]d2)/{b_artificer})]] tours.
|
||||
macro=
|
||||
|
||||
[major:corrosion]
|
||||
display_name=Corrosion
|
||||
level=Avancée
|
||||
cost=0
|
||||
type=Arcana
|
||||
special=
|
||||
description=
|
||||
self=
|
||||
others=**[Arcane Majeure: Corrosion]** Une essence corrosive transfigure l'arcanum. Celle-ci reste presente sous la forme d'un effet persistant pendant [[floor([[floor({vapeur}+{power})]]d{b_d_corrosion}/{b_corrosion})]] tours, infligeant un effet réduit.
|
||||
macro=
|
||||
|
||||
[major:incontrolable_growth]
|
||||
description=Croissance incontrolable
|
||||
level=Avancée
|
||||
cost=0
|
||||
type=Arcana
|
||||
special=
|
||||
self=
|
||||
others=**[Arcane Majeure: Croissance incontrolable]** Une croissance incontrolable s'emparre de l'arcanum. Celle-ci se relancera pendant [[[[floor(({power}+{bois})/{b_incontrolable})]]d3!!]] tours
|
||||
macro=
|
||||
|
||||
[major:split_second]
|
||||
display_name=Fraction d'instant
|
||||
level=Avancée
|
||||
cost=0
|
||||
type=Arcana
|
||||
special=
|
||||
description=
|
||||
self=
|
||||
others=**[Arcane Majeure: Fraction d'instant]** Une fulgurance s'empare de l'arcanum. Lancez cette derniere comme si elle avait [[[[({foudre}+floor({power})/{b_split_sec})]]d{b_d_split_sec}!]] d'initiative de plus.
|
||||
macro=
|
||||
|
||||
[aureola]
|
||||
cost=16
|
||||
level = Ultime
|
||||
display_name = Arcanum Magnum : Aureola
|
||||
type = Arcana
|
||||
description =
|
||||
self = **[Arcane Ultime : Aureola]** Si votre cible devait mourir ce tour ci, elle devient inciblable pendant une action a la place, elle récupére [[{eau}*({X}+3)]] points de vie. Si la cible est sous l'effet d'une ou plusieurs alterations d'état négatives, retirez les, et appliquez les soins normalement.
|
||||
others = Une auréole se forme au dessus de votre tête et une voix angélique vous murmure : "N'aie peur, car je suis a tes cotés; ne crains pas l'adversité car je suis ton alliée; la mort n'aura pas de prise sur toi tant que je serai là"
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQOfa4fiV2tjKEmu7C_magic_arcanist_skilllevel}
|
||||
macro =[Appliquer l'auréole](! #placer_aureole)
|
||||
special =
|
||||
|
||||
[show_fluctus]
|
||||
cost=8
|
||||
level = Ultime
|
||||
display_name = Praeter Arcanum : Fluctus
|
||||
type = Passif/Reserve
|
||||
description = Quand vous lancez un arcanum, gagnez un points de flux. Cette ressource expire en [[{X}]] heures. Pour chaque point de flux que vous avez bénéficiez d'une reduction des dégats de [[{X}*{b_fluctus_res}]]% et une augmentation de toutes vos affinitées de [[floor({X}*{b_fluctus_dmg})]]
|
||||
self = &{template:default} {{name=Fluctus}} {{Total=[[@{{you}|fluctus}]]}} {{Dégats reduits=[[-1*{floor(({X}+{b_fluctus_base_res})*{b_fluctus_res}*@{{you}|fluctus}),89+{X}}kl1]]}} {{Affinité=[[{floor({X}*{b_fluctus_dmg}*@{{you}|fluctus}),20+{X}}kl1]]}}
|
||||
others =
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}
|
||||
macro = !setattr --name {you} --pctreceived_s|[[-1*{floor(({X}+{b_fluctus_base_res})*{b_fluctus_res}*@{{you}|fluctus}),89+{X}}kl1]] --elem_omega|[[{floor({X}*{b_fluctus_dmg}*@{{you}|fluctus}),20+{X}}kl1]]
|
||||
special =
|
||||
|
||||
[gain_fluctus]
|
||||
self=
|
||||
cost=
|
||||
others=
|
||||
description=
|
||||
macro=!setattr --name {you} --fluctus|[[{@{{you}|fluctus}+{b_fluctus_gain},{b_fluctus_max}}kl1]]
|
||||
|
||||
[diluvium]
|
||||
cost=8
|
||||
level = Ultime
|
||||
display_name = Arcanum Magnum : Diluvium
|
||||
type = Arcana | Empower
|
||||
description =
|
||||
self = Pour chaque arcanum posée ce tour-ci, dupliquez votre arcana. Faites jusqu'a [[{b_dilluvium}*{X}]] copies de la sorte.
|
||||
others = **[Arcane Ultime : Diluvium]** Vous créez une tempete dans les arcanes, le réel se met a ployer sous le torrent d'energie que vous déployez.
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQWi6hcqVjtGkIkJZV_magic_arcanist_skilllevel}
|
||||
macro =
|
||||
special =
|
||||
|
||||
[tenacitas]
|
||||
cost=8
|
||||
level = Avancée
|
||||
display_name = Arcanum Altum : Tenacitas (Ténacité)
|
||||
type = Instant - Buff - Arcana
|
||||
description = Augmente toutes les defenses de la cible.
|
||||
self =
|
||||
others = **[Arcane avancée : Tenacitas]** Un grand rai de lumière entoure {target} augmentant ses defenses.
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQWmyQBIj1IRtasXuW_magic_arcanist_skilllevel}
|
||||
Y =
|
||||
special=
|
||||
macro =!setattr --name {target} --fb-from {you} --fb-public --fb-header Tenacitas --fb-content L'arcane augmente les resistances de _CHARNAME_ de _TCUR0_ --pctreceived_s|[[{@{target|target|pctreceived_s}- floor(({power}+{bois})*{b_tenacitas}),-99}kh1]]
|
||||
|
||||
[major:marcor]
|
||||
cost=16
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQWs05EBazluf88DO6_magic_arcanist_skilllevel}
|
||||
level = Avancée
|
||||
display_name = Praeter Arcanum : Marcor
|
||||
type = Actif/Instant
|
||||
description =
|
||||
self =
|
||||
others = Diminuez la régénération de la cible de [[[[floor(({magma}+{power})*{b_marcor})]]d{b_marcor_d}]] points
|
||||
macro =
|
||||
special =
|
||||
|
||||
[talionis]
|
||||
cost=4
|
||||
level = Avancée
|
||||
display_name = Praeter Arcanum : Talionis
|
||||
type = Actif/Instant
|
||||
description =
|
||||
self = Si vous effectuez une parade complete, vous pouvez lancer une arcanum comme une reaction, si vous ne le faites pas gagnez {X} points de flux.
|
||||
others =
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQWtDwDDutHYZMeUfI_magic_arcanist_skilllevel}
|
||||
macro =
|
||||
special =
|
||||
|
||||
[major:cylpeos_varietas]
|
||||
cost=4
|
||||
level = Avancée
|
||||
display_name = Praeter Arcanum : Capita
|
||||
type = Actif/Instant
|
||||
description = Arcane personelle de défense, Utilise l'arcaniste lui même comme un Arcanum défensif dont la puissance défensive scale sur le nombre d'arcana investie.
|
||||
self =
|
||||
others = Augmentez vos defences de [[floor(({bois}+{X}*{b_cylpeos_pct})*{b_cylpeos})]]% jusqu'a la fin du combat et gagnez un bouclier
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQWvCDiPLXAaxbS00K_magic_arcanist_skilllevel}
|
||||
macro = !setattr --name {you} --cylpeos_res|[[floor(({bois}+{X}*{b_cylpeos_pct})*{b_cylpeos})]] --shield|[[{@{{you}|shield}+floor(({power}+{air})*{b_cylpeos_shield}),@{{you}|shield|max}}kl1]]
|
||||
special =
|
||||
|
||||
[navia]
|
||||
cost=8
|
||||
level = Avancée
|
||||
display_name = Praeter Arcanum : Navia
|
||||
type = Actif/Instant
|
||||
description = Defaussez {X} cartes, Gagnez {X} points de flux
|
||||
self =
|
||||
others =
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQWx8UcCtpi7H00Sqo_magic_arcanist_skilllevel}
|
||||
macro = !setattr --name {you} --mod --fluctus|[[?{Nombre de cartes a defausser ?}*{b_navia}]]
|
||||
special =
|
||||
|
||||
[scientia]
|
||||
cost=16
|
||||
level = Avancée
|
||||
display_name = Praeter Arcanum : Scientia
|
||||
type = Actif
|
||||
description =
|
||||
self = **[Arcane avancée : Scientia]** Nommez une carte, allez la chercher dans votre deck.
|
||||
others =
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQWy3jmVCWkG2tt5A8_magic_arcanist_skilllevel}
|
||||
macro = !setattr --name Reginald --mod --fluctus|?{Niveau de l'arcane | Base, [[-1*{b_scientia}]] | Avancée, [[-2*{b_scientia}]] | Ultime, [[-4*{b_scientia}]]}
|
||||
special =
|
||||
|
||||
[despectio]
|
||||
cost=4
|
||||
level = Avancée
|
||||
display_name = Praeter Arcanum : Despectio
|
||||
type = Actif | Buff
|
||||
description =
|
||||
self =
|
||||
others = [Cout: {b_despectio_cost}] Reaction - Augmentez vos resistances pour la prochaine action de [[{X}*{b_despectio}]]% par carte en main.
|
||||
X = @{Reginald|repeating_magic-arcanist-skills_-LkQX-7OEF6WHkQtzrfQ_magic_arcanist_skilllevel}
|
||||
macro = !setattr --name Reginald --fluctus|[[@{Reginald|fluctus}-{b_despectio_cost}]] --temp_pdef|[[-1*{{X}*?{Nombre de cartes en main}*{b_despectio},99}kl1]]
|
||||
special =
|
||||
|
||||
[celeritas]
|
||||
cost=8
|
||||
level = Avancée
|
||||
display_name = Praeter Arcanum : Celeritas
|
||||
type = Passif
|
||||
description = Vous pouvez jouer une arcanum en tant que réaction. Payez un cout en flux en tant que cout supplémentaire.
|
||||
others =
|
||||
macro = !setattr --name Reginald --mod --fluctus|?{Niveau de l'arcane | Base, [[-1*{b_celeritas}]] | Avancée, [[-2*{b_celeritas}]] | Ultime, [[-4*{b_celeritas}]]} --celeritas_rem|-1
|
||||
self = Il vous reste jusqu'à [[@{Reginald|celeritas_rem}]] utilisations ce tour-ci.
|
||||
special =
|
||||
|
||||
[inspiration]
|
||||
cost=4
|
||||
level = Avancée
|
||||
display_name = Inspiration
|
||||
type = Passif
|
||||
description = Pioche {inspiration}+1 carte au début du tour
|
||||
others =
|
||||
macro =
|
||||
self =
|
||||
special =
|
||||
|
||||
[grandeur]
|
||||
cost=2
|
||||
level = Avancée
|
||||
display_name = Grandeur
|
||||
type = Passif
|
||||
description = Votre main peut contenir {grandeur}+2 cartes
|
||||
others =
|
||||
macro =
|
||||
self =
|
||||
special =
|
||||
|
||||
[instinct]
|
||||
cost=8
|
||||
level = Avancée
|
||||
display_name = Instinct
|
||||
type = Passif
|
||||
description = Permet de garder {instinct} cartes hors combat
|
||||
others =
|
||||
macro =
|
||||
self =
|
||||
special =
|
||||
|
||||
[vivacite]
|
||||
cost=8
|
||||
level = Avancée
|
||||
display_name = Vivacite
|
||||
type = Passif
|
||||
description = Pioche {vivacite} cartes par actions
|
||||
others =
|
||||
macro =
|
||||
self =
|
||||
special =
|
||||
|
||||
[incandescance]
|
||||
cost=4
|
||||
level = Avancée
|
||||
display_name = Incandescance
|
||||
type = Passif
|
||||
description = Permet de bruler {incandescance}+1 carte par tour (Defausse et repioche)
|
||||
others =
|
||||
macro =
|
||||
self =
|
||||
special =
|
||||
|
|
@ -0,0 +1,256 @@
|
|||
[DEFAULT]
|
||||
D = ☸
|
||||
qi_level = @{Tian-Hu|repeating_skills_-LkV6EpN8WozHEhlnFYW_general_skilllevel}
|
||||
ap_level = @{Tian-Hu|repeating_defensive-combat-skills_-LkV7mqaRZOJzt-BC22s_defensive_combat_skilllevel}
|
||||
Encaissement = @{Tian-Hu|repeating_defensive-combat-skills_-Lkqsaj0X8qOQ1g4bJdB_defensive_combat_skilllevel}
|
||||
fo = (@{Tian-Hu|base-Force}+@{Tian-Hu|exal-Force})
|
||||
ag = (@{Tian-Hu|base-Agilite}+@{Tian-Hu|exal-Agilite})
|
||||
pe = (@{Tian-Hu|base-Perception}+@{Tian-Hu|exal-Perception})
|
||||
ca = (@{Tian-Hu|base-Charisme}+@{Tian-Hu|exal-Charisme})
|
||||
in = (@{Tian-Hu|base-Intelligence}+@{Tian-Hu|exal-Intelligence})
|
||||
vo = (@{Tian-Hu|base-Volonte}+@{Tian-Hu|exal-Volonte})
|
||||
ps = (@{Tian-Hu|base-Psyche}+@{Tian-Hu|exal-Psyche})
|
||||
cn = (@{Tian-Hu|base-Chance}+@{Tian-Hu|exal-Chance})
|
||||
sp = (@{Tian-Hu|base-custom}+@{Tian-Hu|exal-custom})
|
||||
you = Tian-Hu
|
||||
qi = @{Tian-Hu|qi}
|
||||
end = @{Tian-Hu|repeating_defensive-combat-skills_-LkqZjm5yBZBnnu7vXhR_defensive_combat_skilllevel}
|
||||
neg_level = @{Tian-Hu|repeating_defensive-combat-skills_-LkV8Omfhl2uh-tu6YYe_defensive_combat_skilllevel}
|
||||
eau = (@{Tian-Hu|elem_eau_tot}+@{Tian-Hu|elem_omega})
|
||||
air = (@{Tian-Hu|elem_air_tot}+@{Tian-Hu|elem_omega})
|
||||
feu = (@{Tian-Hu|elem_feu_tot}+@{Tian-Hu|elem_omega})
|
||||
terre = (@{Tian-Hu|elem_terre_tot}+@{Tian-Hu|elem_omega})
|
||||
glace = (@{Tian-Hu|elem_glace_tot}+@{Tian-Hu|elem_omega})
|
||||
metal = (@{Tian-Hu|elem_metal_tot}+@{Tian-Hu|elem_omega})
|
||||
magma = (@{Tian-Hu|elem_magma_tot}+@{Tian-Hu|elem_omega})
|
||||
vapeur = (@{Tian-Hu|elem_vapeur_tot}+@{Tian-Hu|elem_omega})
|
||||
bois = (@{Tian-Hu|elem_bois_tot}+@{Tian-Hu|elem_omega})
|
||||
foudre = (@{Tian-Hu|elem_foudre_tot}+@{Tian-Hu|elem_omega})
|
||||
usur_level = @{Tian-Hu|repeating_skills_-LmAz-4nRLCAA7zh0avs_general_skilllevel}
|
||||
|
||||
[start]
|
||||
self = Votre déplacement est de [[{sp}*2+{ap_level}]], Il vous reste [[@{{you}|usurpation_charges}]] utilisations de *Usurpation du souffle*.
|
||||
description =
|
||||
others =
|
||||
macro = !setattr --name {you} --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --pctreceived_b|0 --pctreceived_s|0 --elem_omega|0 --qi|0|[[{qi_level}*{b_qimax}]] --element|0 --element_dmg|0 --general_item_shield3|[[{b_apotheose}*{ap_level}*@{Tian-Hu|base-custom}]] --general_skilllevel_Endurance_surnaturelle|[[{end}+{ap_level}]] --negation_pdef|[[{neg_level}*{b_negation_pct}]] --parry_power|[[({neg_level}+3)*{b_negation_par}]] --maintien_qi|0 --elemental_dmg|0 --pctreceived_in|0 --usurpation_charges|{usur_level} --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
|
||||
[turn]
|
||||
self =
|
||||
description =
|
||||
others =
|
||||
macro = !setattr --name {you} --Life_Points|[[{@{{you}|Life_Points}+floor(@{{you}|regen}*@{{you}|pcthealing}/100)-1*(@{{you}|dot}),@{{you}|Life_Points|max}}kl1]] --qi|[[{{qi}+{b_regen_qi_flat}+{qi_level}*{b_regen_qi}-@{{you}|maintien_qi},{qi_level}*{b_qimax}}kl1]]
|
||||
|
||||
[attaque]
|
||||
self =
|
||||
description =
|
||||
others =
|
||||
macro = !crit ?{Nombre de des d’attaque} P @{Tian-Hu|general_effective_Perfection} c @{Tian-Hu|crit_level} M @{Tian-Hu|skillcost_Technique_martiale} @{Tian-Hu|general_effective_Technique_martiale} E @{Tian-Hu|skillcost_Exploiter_les_points_faibles} @{Tian-Hu|general_effective_Exploiter_les_points_faibles} F @{Tian-Hu|general_effective_Fauchage} D @{Tian-Hu|general_effective_Coup_dechirant} H @{Tian-Hu|base_damage_dices} H @{Tian-Hu|exal_damage_dices} A @{Tian-Hu|Skill_general_attribute_select_attaque} s @{Tian-Hu|general_attack_threshold} l @{Tian-Hu|general_attack_addall} a a n @{Tian-Hu|undescored_name} + @{Tian-Hu|additional_damage_dices} + @{Tian-Hu|general_effective_weapon1} + @{Tian-Hu|general_effective_weapon2} t @{Tian-Hu|transcendence} + @{Tian-Hu|general_effective_weapon3} f @{Tian-Hu|pctinflicted} f @{Tian-Hu|pctinflicted_s} f @{Tian-Hu|pctinflicted_b} f @{Tian-Hu|temp_pdmg} + @{Tian-Hu|temp_dmg} + @{Tian-Hu|elemental_dmg}
|
||||
!setattr --name {you} --temp_pdmg|0 --temp_dmg|0
|
||||
|
||||
[parade]
|
||||
self =
|
||||
description =
|
||||
others =
|
||||
macro = !crit ?{Nombre de des de defense} I @{Tian-Hu|skillcost_Defense_impenetrable} @{Tian-Hu|general_effective_Defense_impenetrable} R @{Tian-Hu|general_effective_Rempart_parfait} c @{Tian-Hu|crit_level} S @{Tian-Hu|general_skilllevel_Encaissement} @{Tian-Hu|general_effective_Encaissement} H @{Tian-Hu|base_defense_dices} H @{Tian-Hu|exal_defense_dices} s @{Tian-Hu|general_defense_threshold} l @{Tian-Hu|general_defense_addall} A @{Tian-Hu|Skill_general_attribute_select_defense} t @{Tian-Hu|transcendence} - ?{Dégats a parer|0} a d n @{Tian-Hu|undescored_name} + @{Tian-Hu|general_effective_shield1} + @{Tian-Hu|general_effective_shield2} + @{Tian-Hu|general_effective_shield3} v @{Tian-Hu|pctreceived} v @{Tian-Hu|pctreceived_s} v @{Tian-Hu|pctreceived_b} v @{Tian-Hu|temp_pdef} + @{Tian-Hu|temp_def} v @{Tian-Hu|pctreceived_in} ?{Type d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}} + @{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[parade_brute_macro]
|
||||
self =
|
||||
description = Macro de parade magique
|
||||
others =
|
||||
macro =!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} + @{{you}|temp_def} ?{Type d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}} + @{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
|
||||
[esquive]
|
||||
self =
|
||||
description =
|
||||
others =
|
||||
macro = !crit ?{Nombre de des d’esquive} I @{Tian-Hu|skillcost_Defense_impenetrable} @{Tian-Hu|general_effective_Defense_impenetrable} R @{Tian-Hu|general_effective_Rempart_parfait} c @{Tian-Hu|crit_level} H @{Tian-Hu|base_dodge_dices} A @{Tian-Hu|Skill_general_attribute_select_dodge} t @{Tian-Hu|transcendence} s ?{Seuil d’esquive} - ?{Dégats a esquiver|0} a e n @{Tian-Hu|undescored_name} v @{Tian-Hu|pctreceived} v @{Tian-Hu|pctreceived_s} v @{Tian-Hu|pctreceived_b} + @{Tian-Hu|temp_esq} + @{Tian-Hu|temp_pdef} v @{Tian-Hu|pctreceived_in}
|
||||
!setattr --name {you} --temp_pdef|0 --temp_esq|0
|
||||
|
||||
[qing_shen_xing]
|
||||
level = Avancée
|
||||
display_name = Qing Shen Xing
|
||||
description = Offre un point de destin et une réduction de difficulté pour toute action ayant un lien avec l’objet d’étude. (La réduction dépend de la durée de médidation et/ou d’un jet à la discretion du MJ).
|
||||
self = Offre un point de destin et une réduction de difficulté pour toute action ayant un lien avec l’objet d’étude. (La réduction dépend de la durée de médidation et/ou d’un jet à la discretion du MJ).
|
||||
type = Actif
|
||||
others = *{you} s’assied en tailleur et commence à méditer.*
|
||||
cost = 4
|
||||
X = @{Tian-Hu|repeating_skills_-LkV5JBaJVvnNZxknrJF_general_skilllevel}
|
||||
macro =
|
||||
special =
|
||||
|
||||
|
||||
[unification_du_corps_et_esprit]
|
||||
level = Ultime
|
||||
display_name = Unification du Corps et de l’Esprit
|
||||
description = Crée une nouvelle caractéristique l’Unité dont le calcul repose sur toutes les autres caractéristique. L’Unité peut être substitué à toute autre caractéristique pour des jets de compétences.
|
||||
self =
|
||||
type = Passif/Caractèristique Spéciale
|
||||
others =
|
||||
cost = 16
|
||||
X = @{Tian-Hu|repeating_skills_-LkV5uUQZmul0K5A2Z4W_general_skilllevel}
|
||||
macro = !setattr --name {you} --base-custom|[[floor({X}*{b_unification_sc}+(@{Tian-Hu|base-Force}+@{Tian-Hu|base-Agilite}+@{Tian-Hu|base-Perception}+@{Tian-Hu|base-Charisme}+@{Tian-Hu|base-Intelligence}+@{Tian-Hu|base-Volonte}+@{Tian-Hu|base-Psyche}+@{Tian-Hu|base-Chance})/{b_unification})]]
|
||||
special =
|
||||
|
||||
|
||||
[creuset_des_energies]
|
||||
level = Ultime
|
||||
display_name = Creuset des Énergies
|
||||
description = Crée une réserve nommé Qi des Origines dont la valeur max et la régénération dépend du niveau dans la technique.
|
||||
self = Vous possedez actuellement {qi} {D}, votre régénération est de [[{b_regen_qi_flat}+{qi_level}*{b_regen_qi}-@{{you}|maintien_qi}]] {D} par tour, il vous reste @{Tian-Hu|usurpation_charges} charges *d’Usurpation du Souffle*
|
||||
type = Passif/Reserve
|
||||
others =
|
||||
cost = 8
|
||||
macro =
|
||||
special =
|
||||
|
||||
|
||||
[energie_et_matiere]
|
||||
level = Ultime
|
||||
display_name = D’énergie et de matière
|
||||
description = Permet de régénérer contre du Qi le corps de l’utilisateur et/ou toute structure en harmonie(mémorisée) avec l’utilisateur.
|
||||
self =
|
||||
type = Actif/Action et Réaction
|
||||
others = **D’énergie et de matière** [Coût : {b_energy_cost} {D}] *{you} se régénère de [[{X}*{b_energymat_heal}]] PV irréductibles, @{target|T1|character_name} reçoit un soin supplémentaire de [[{X}d10]] PV irréductibles.*
|
||||
cost = 8
|
||||
X = @{Tian-Hu|repeating_general-combat-skills_-LkUznJg8I5Pu2dcLVPr_general_combat_skilllevel}
|
||||
macro = !setattr --name {you} --mod --qi|-{b_energy_cost}
|
||||
!setattr --name {you} --Life_Points|[[{@{{you}|Life_Points}+{X}*{b_energymat_heal},@{{you}|Life_Points|max}}kl1]]
|
||||
special =
|
||||
|
||||
|
||||
[apotheose]
|
||||
level = Avancée
|
||||
display_name = Apothéose
|
||||
description = Cette technique renforce les caractéristiques secondaires (PV & Déplacement) mais aussi toutes les résistances. Ces bonus sont déterminé par la caractéristique d’Unité et le niveau de la technique.
|
||||
self =
|
||||
type = Passif/Buff
|
||||
others =
|
||||
cost = 8
|
||||
macro = #Done
|
||||
special =
|
||||
|
||||
|
||||
[volonte_transcendantale]
|
||||
level = Avancée
|
||||
display_name = Volonté transcendantale
|
||||
description = Réduit de X Degrés de difficultés les jets liés à la volonté et offre une relance pour ceux-ci. Permet de résister à n’importe quelle altération contre un jet de volonté.
|
||||
self = Vous pouvez effectuer un jet de volonté pour resister a n’importe quelle altération, réduisez le DD de ce test de {X}.
|
||||
type = Actif/Buff
|
||||
others = **Volonté transcendantale** [Coût : {b_volontee_cost} {D}] *{you} semble emprunt d'une volonté surnaturelle, ses yeux brillent d'une lueur dorée.*
|
||||
cost = 16
|
||||
X = @{Tian-Hu|repeating_defensive-combat-skills_-LkV8B1ACFXFLZE7LqMT_defensive_combat_skilllevel}
|
||||
macro = !setattr --name {you} --mod --qi|-{b_volontee_cost}
|
||||
special =
|
||||
|
||||
|
||||
[negation_selon_tian]
|
||||
level = Avancée
|
||||
display_name = Négation selon Tian
|
||||
description = Technique de parade utilisant du Qi. Cette technique permet de parer des énergies (divin/magique/voile).
|
||||
self = Vous pouvez parer toute attaque quelqu’en soit le type. Si cette parade est totale, vous effectuez un bloquage total dans une zone de [[({neg_level}+1)*{b_negation_range}]] mètres.
|
||||
type = Actif/Empower
|
||||
others = **Négation selon Tian** [Coût : {b_negation_cost} {D}] *{you} joint ses mains, un dôme de Qi de [[{neg_level}*{b_negation_range}]] mètres s’érige autour de Tian, toute attaque s’y éffrite puis se nullifie.*
|
||||
cost = 8
|
||||
macro = !setattr --name {you} --mod --qi|-{b_negation_cost}
|
||||
!crit ?{Nombre de des de defense} I @{Tian-Hu|skillcost_Defense_impenetrable} @{Tian-Hu|general_effective_Defense_impenetrable} R @{Tian-Hu|general_effective_Rempart_parfait} c @{Tian-Hu|crit_level} S @{Tian-Hu|general_skilllevel_Encaissement} @{Tian-Hu|general_effective_Encaissement} H @{Tian-Hu|base_defense_dices} H @{Tian-Hu|exal_defense_dices} s @{Tian-Hu|general_defense_threshold} l @{Tian-Hu|general_defense_addall} A @{Tian-Hu|Skill_general_attribute_select_defense} t @{Tian-Hu|transcendence} - ?{Dégats a parer|0} a d n @{Tian-Hu|undescored_name} + @{Tian-Hu|general_effective_shield1} + @{Tian-Hu|general_effective_shield2} + @{Tian-Hu|general_effective_shield3} v @{Tian-Hu|pctreceived} v @{Tian-Hu|pctreceived_s} v @{Tian-Hu|pctreceived_b} v @{Tian-Hu|temp_pdef} + @{Tian-Hu|temp_def} + @{Tian-Hu|parry_power} v @{Tian-Hu|pctreceived_in} v @{Tian-Hu|negation_pdef} ?{Type d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}} + @{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
special =
|
||||
|
||||
[inebranlable]
|
||||
level = Avancée
|
||||
display_name = Inébranlable
|
||||
description = Technique de Qi rendant l’utilisateur bien plus résistance aux dommages. Ce dernier gagne de la réduction de dégats et de l’encaissement.
|
||||
self = Vous gagnez [[floor(({X}+3)*{b_inebranlable_reduction})]] pourcentage de dégats reduits et [[{X}*{b_inebranlable_encaissement}]] en Encaissement payez {b_inebranlable_actions} actions en tant que cout supplémentaires. # ptct received
|
||||
type = Actif/Buff/Maintenu
|
||||
others = **Inébranlable** [Coût : {b_inebranlable_cost} {D} | Maintien : {b_inebranlable_maintien} {D}] *Le corps de {you} semble surchargé d’énergie, une aura défensive émane de son corps. *
|
||||
cost = 4
|
||||
X = @{Tian-Hu|repeating_defensive-combat-skills_-LkV8Z5ezvreujA1cBnz_defensive_combat_skilllevel}
|
||||
macro = !setattr --name {you} --mod --maintien_qi|{b_inebranlable_maintien} --qi|{b_inebranlable_cost} --general_skilllevel_Encaissement|[[{Encaissement}+{X}*{b_inebranlable_encaissement}]] --pctreceived_in|[[floor(({X}+3)*{b_inebranlable_reduction})]]
|
||||
special =
|
||||
|
||||
[inebranlable:desactivation]
|
||||
self =
|
||||
others = *{you} relache l’éffet d’Inébranlable.*
|
||||
macro = !setattr --name {you} --mod --maintien_qi|-{b_inebranlable_cost}
|
||||
!setattr --name {you} --general_skilllevel_Encaissement|{Encaissement} --pctreceived_in|0
|
||||
special =
|
||||
|
||||
[mouvement_intangible]
|
||||
level = Avancée
|
||||
display_name = Mouvement Intangible
|
||||
description = Technique de Qi permet d’effectuer un déplacement sur des distances et directions irréelles. Ce déplacement n’offre pas d’attaques d’opportunités.
|
||||
self = Vous pouvez éffectuer un mouvement de [[{X}*{b_mouvement_power}]] mètres dans nimporte quelle direction. Cette action compte comme un dégagement sur lequel vous ne pouvez subir des attaques d’opportunités.
|
||||
type = Actif
|
||||
others = **Mouvement Intangible** [Coût : {b_mouvement_cost} {D}] *{you} devient intangible et insaisissable et se déplace de [[{X}*{b_mouvement_power}]] mètres.*
|
||||
cost = 8
|
||||
X = @{Tian-Hu|repeating_general-combat-skills_-LkV8y0-NCSCU0qhKO3j_general_combat_skilllevel}
|
||||
macro = !setattr --name {you} --mod --qi|-{b_mouvement_cost}
|
||||
special =
|
||||
|
||||
[unicite_elementaire]
|
||||
level = Avancée
|
||||
display_name = Unicité élémentaire
|
||||
description = Le Qi prend une nature élémentaire qui offre un bonus à toute action ou objet infusé par celui-ci ce bonus est pondéré par l’affinité en question. (Buff de Dégâts et effets).
|
||||
self =
|
||||
type = Actif / Buff / Maintenu
|
||||
others = **Unicité Élémentaire** [Coût: {b_unicite_cost} {D} | Maintien {b_unicite_maintien} {D}] *Le Qi de {you} est imbué d’un élément.*
|
||||
cost = 4
|
||||
X = @{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}
|
||||
macro = !setattr --name {you} --elemental_dmg|?{Element|Eau,[[{eau}*{b_unicite_dmg}*{X}]]| Air,[[{air}*{b_unicite_dmg}*{X}]]| Feu,[[{feu}*{b_unicite_dmg}*{X}]]| Terre,[[{terre}*{b_unicite_dmg}*{X}]]| Glace,[[{glace}*{b_unicite_dmg}*{X}]]| Metal,[[{metal}*{b_unicite_dmg}*{X}]]| Magma,[[{magma}*{b_unicite_dmg}*{X}]]| Vapeur,[[{vapeur}*{b_unicite_dmg}*{X}]]| Bois,[[{bois}*{b_unicite_dmg}*{X}]]| Foudre,[[{foudre}*{b_unicite_dmg}*{X}]]}
|
||||
!setattr --name {you} --mod --maintien_qi|{b_unicite_maintien}
|
||||
special =
|
||||
|
||||
[unicite_elementaire:desactivation]
|
||||
self =
|
||||
type =
|
||||
others = *{you} relache l’unicité élémentaire.*
|
||||
macro = !setattr --name {you} --mod --maintien_qi|-{b_unicite_maintien}
|
||||
|
||||
[paume_purificatrice]
|
||||
level = Avancée
|
||||
display_name = Paume purificatrice
|
||||
description = Attaque infusant du Qi dans le corps de la cible infligeant des dégâts internes visant à détruire tout autre type d’énergie surnaturelle (bonus de dégâts, détruit les buff/debuff, relâche les contrôles->altérations?).(Cette attaque peut être rendue non létale).
|
||||
self = Votre prochaine attaque inflige [[{b_peaume_dmg}]] dégats réduits, si vous infligez des dégats a la cible, ajoutez [[floor({X}*{b_peaume_DD})]] DD au jet de resistance pour retirer chaque altération sur la cible
|
||||
type = Actif / Empower
|
||||
others = **Paume purificatrice** [Coût : {b_peaume_cost} {D}] *La paume de {you} irradie d’énergie alors qu’il l’appose sur @{target|T1|character_name}, force/offre un jet de résistance pour retirer chaque altération à DD ±[[floor({X}*{b_peaume_DD})]].*
|
||||
cost = 8
|
||||
X = @{Tian-Hu|repeating_offensive-combat-skills_-LkVA0e3odWsx6PblWZp_offensive_combat_skilllevel}
|
||||
macro = !setattr --name {you} --mod --qi|-{b_peaume_cost} --temp_dmg|[[{X}*{b_peaume_dmg}]]
|
||||
special =
|
||||
|
||||
[usurpation_du_souffle]
|
||||
level = Avancée
|
||||
display_name = Usurpation du souffle
|
||||
type = Actif / Instant
|
||||
cost = 8
|
||||
description = Technique permettant de recharger la réserve de Qi en absorbant et convertissant de force les énergies environnantes, sacrifie de la régénération de Qi contre un gain de Qi.
|
||||
self = Regagnez immediatement **[[floor({b_usurpation}*{qi_level})]] {D}** votre regeneration de Qi est diminuée de {b_usurpation_cost} jusqu’a la fin du combat. Il vous reste [[@{{you}|usurpation_charges}-1]] utilisations de *Usurpation du souffle*.
|
||||
others = **Usurpation du Souffle** *L’énergie environnante est brutalement aspirée et convertie de force en Qi éclatant l’un des méridiens de {you}. Une substance noirâtre suinte par les pores de sa peau.*
|
||||
macro = !setattr --name {you} --maintien_qi|[[@{{you}|maintien_qi}+{b_usurpation_cost}]] --qi|[[{{qi}+floor({b_usurpation}*{qi_level})-@{{you}|maintien_qi},{qi_level}*{b_qimax}}kl1]]
|
||||
special =
|
||||
|
||||
[unification_avec_le_monde]
|
||||
level = Avancée
|
||||
display_name = Unification avec le monde
|
||||
type = Passif
|
||||
cost = 8
|
||||
description = Puissante technique limitant le nombre de PV négatifs que peux atteindre le corps de l’utilisateur.
|
||||
X = @{Tian-Hu|repeating_skills_-Lku53eb0UiRIdWDfZfV_general_skilllevel}
|
||||
others =
|
||||
self = Lorsque vous subissez des dégats réduisant vos points de vie en dessous de zero, reduisez les points de vie perdus a [[floor(@{{you}|Life_Points|max}*(11-{X})*{b_monde_reduct})]] si ce seuil de dégats devait ne pas etre atteint, regagnez {b_monde_qi} {D}.
|
||||
macro =
|
||||
special =
|
||||
|
||||
[chatiment_celeste]
|
||||
level = Ultime
|
||||
display_name = Châtiment Céleste
|
||||
description = Attaque Ultime aux dégâts pondérés par le Qi et le nombre d’actions investies.
|
||||
self = Canalisation; Vous perdez un point de régénération de Qi pour la durée du combat
|
||||
type = Actif / Empower / Canalisation
|
||||
others = **Châtiment Céleste** [Coût : {b_chatiment_cost} {D}] *{you} cannalise du Qi son corps déborde d’énergie semblant distordre la réalité autour de lui.*
|
||||
cost = 16
|
||||
X = @{Tian-Hu|repeating_offensive-combat-skills_-LkVAHd9Ww93XuUmP8qF_offensive_combat_skilllevel}
|
||||
macro = !setattr --name {you} --mod --temp_dmg|[[?{Actions investies}*{X}*{b_chatiment_dmg}]] --temp_pdmg|[[{X}*{b_chatiment_pct}]] --maintien_qi|1 --qi|{b_chatiment_cost}
|
||||
special =
|
||||
|
|
@ -0,0 +1,509 @@
|
|||
[DEFAULT]
|
||||
fo = (@{Voile|base-Force}+@{Voile|exal-Force})
|
||||
ag = (@{Voile|base-Agilite}+@{Voile|exal-Agilite})
|
||||
pe = (@{Voile|base-Perception}+@{Voile|exal-Perception})
|
||||
ca = (@{Voile|base-Charisme}+@{Voile|exal-Charisme})
|
||||
in = (@{Voile|base-Intelligence}+@{Voile|exal-Intelligence})
|
||||
vo = (@{Voile|base-Volonte}+@{Voile|exal-Volonte})
|
||||
ps = (@{Voile|base-Psyche}+@{Voile|exal-Psyche})
|
||||
cn = (@{Voile|base-Chance}+@{Voile|exal-Chance})
|
||||
sp = (@{Voile|base-special}+@{Voile|exal-special})
|
||||
momentum = @{Voile|momentum} # Niveau actuel du momentum
|
||||
momentum_max = @{Voile|repeating_skills_-Lk0MZh88yaOnxpRaacq_general_skilllevel} # Niveau maximum du momentum
|
||||
harmony = @{Voile|harmony} # ADD STACKS
|
||||
harmony_max = @{Voile|repeating_skills_-Lk0LDt03hSUUtdwbzLV_general_skilllevel} # Compétence d'harmonie
|
||||
blood_gate=@{Hellsdoor|blood_gate} # Niveau actuel de la jauge
|
||||
suffering_gate=@{Hellsdoor|suffering_gate} # Niveau actuel de la jauge
|
||||
abyss_gate=@{Hellsdoor|abyss_gate} # Niveau actuel de la jauge
|
||||
you=Voile
|
||||
door=Hellsdoor
|
||||
Discretion=@{Voile|repeating_skills_-Lk0ONlvjF-Ke6kBOfV1_general_skilllevel}
|
||||
Discretion_m =repeating_skills_-Lk0OZCwmTWY0AVmn5jZ_general_skilllevel
|
||||
Resistance_mentale=@{Voile|repeating_skills_-Lk0OpSq7JnSaXtidJlz_general_skilllevel}
|
||||
Resistance_mentale_m=repeating_skills_-Lk0Oqd0D-uzwPP2JgQI_general_skilllevel
|
||||
Course=@{Voile|repeating_skills_-Lk0OsyNJXcxSDfPiOrM_general_skilllevel}
|
||||
Course_m=repeating_skills_-Lk0Ou0iuRqjFl3zh6j8_general_skilllevel
|
||||
Accrobatie=@{Voile|repeating_skills_-Lk0OvBC82YsRXaMneDn_general_skilllevel}
|
||||
Accrobatie_m=repeating_skills_-Lk0OyMid1KcRS6-i3NF_general_skilllevel
|
||||
Saut=@{Voile|repeating_skills_-Lk0P-9iI72bg79b2W3e_general_skilllevel}
|
||||
Saut_m=repeating_skills_-Lk0P0QpdsqtnER6E3hZ_general_skilllevel
|
||||
initiative=@{Voile|repeating_general-combat-skills_-LkJoCQxRED339Hi8os2_general_combat_skilllevel}
|
||||
reset_multiple=!setattr --name Voile --multiple_seals|1
|
||||
BA = @{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}
|
||||
|
||||
[start]
|
||||
description=Macro de début de combat
|
||||
self=Début du combat
|
||||
Toutes les reserves sont réinitialisées.
|
||||
others=
|
||||
macro={vset} {you} --momentum|0 --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --momentum_dmg|0 --momentum_esq|0 --pctreceived_b|0 --pctreceived_s|0 --tempo_dmg|0 --tempo_par|0 --tempo_esq|0 --momentum_par|0 --actions|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]]|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]] --bloodbath_charges|[[{BA}]] --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
|
||||
[turn]
|
||||
description=Macro de début de tour
|
||||
self=Il vous reste @{Voile|bloodbath_charges} utilisations de *Bain de sang*
|
||||
others=
|
||||
macro={vset} {you} --Life_Points|[[{@{{you}|Life_Points}+floor(@{{you}|regen}*@{{you}|pcthealing}/100)-1*(@{{you}|dot}),@{{you}|Life_Points|max}}kl1]] --actions|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]]|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]]
|
||||
|
||||
[multiple_seals]
|
||||
description=Lance le prochain seau plusieurs fois
|
||||
self=
|
||||
others=
|
||||
macro={vset} {you} --multiple_seals|[[?{Nombre de sceaux}]]
|
||||
|
||||
[show_harmony]
|
||||
description=
|
||||
self=
|
||||
others=
|
||||
macro=/w {you} &{template:default} {{name=Etat d'harmonie}} {{initiative=+[[{harmony}*{b_harmony_init}]]}} {{perception=+[[floor({harmony}*{b_harmony_per})]]}} {{Discretion=+[[floor({harmony}*{b_shadow_har_disc})]]}} {{Nombre d'actions=[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]]}} {{Attaques d'opportunités=+[[floor({harmony}*{b_wind_har_opp})]]seuil}} {{RM=+[[floor({harmony}*{b_metal_har})]]}} {{Esquive=-[[floor({b_eth_har}*{harmony})]]DD&s}} {{Bonus action mouvement=[[floor({b_water_har}*@{Voile|repeating_skills_-Lk0Li-kTIahFB0V9Iny_general_skilllevel})]] degrés}}
|
||||
|
||||
[change_harmony]
|
||||
self=
|
||||
others=
|
||||
macro={vset} {you} --{Discretion_m}|[[{discretion}+floor({harmony}*{b_shadow_har_disc})]] --actions||[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor({harmony}*{b_wind_har_act})]] --{Resistance_mentale_m}|[[floor({Resistance_mentale}+{harmony}*{b_metal_har})]] --Initiative|[[{initiative}+floor({b_harmony_init}*{harmony})]]
|
||||
|
||||
[show_momentum]
|
||||
description=
|
||||
others=
|
||||
self=Votre attaque et votre parade bénéficient d'un bonus de [[floor({b_momentum_dmg}*{momentum})]], votre esquive beneficie d'un bonus de [[floor({b_momentum_esq}*{momentum})]] et votre vitesse de déplacement est désormais de [[{ag}+floor({b_momentum_speed}*{momentum})]].
|
||||
macro= /w {you} &{template:default} {{name=Momentum}} {{Attaque=[[floor({b_momentum_dmg}*{momentum})]]}}{{Parade=[[floor({b_momentum_dmg}*{momentum})]]}}{{Esquive=[[floor({b_momentum_esq}*{momentum})]]}}{{Déplacement=[[{ag}*2+floor({b_momentum_speed}*{momentum})]]}} {{Accrobatie=[[floor({Accrobatie}+floor({momentum}*{b_momentum_sec}))]]}} {{Saut=[[floor({Saut}+floor({momentum}*{b_momentum_sec}))]]}} {{Course=[[floor({Course}+{momentum}*{b_momentum_sec})]]}}
|
||||
!setattr --name Voile --momentum_dmg|[[floor({b_momentum_dmg}*{momentum})]] --momentum_par|[[floor({b_momentum_dmg}*{momentum})]] --momentum_esq|[[floor({b_momentum_esq}*{momentum})]] --{Course_m}|[[floor({Course}+{momentum}*{b_momentum_sec})]] --{Saut_m}|[[floor({Saut}+{momentum}*{b_momentum_sec})]] --{Accrobatie_m}|[[floor({Accrobatie}+{momentum}*{b_momentum_sec})]]
|
||||
|
||||
[change_momentum]
|
||||
self=
|
||||
others=
|
||||
macro=!setattr --name Voile --momentum|[[{{b_momentum_max}*{momentum_max},{momentum}+{b_add_momentum}}kl1]] --momentum_dmg|[[floor({b_momentum_dmg}*({momentum}+{b_add_momentum}))]] --momentum_par|[[floor({b_momentum_dmg}*({momentum}+{b_add_momentum}))]] --momentum_esq|[[floor({b_momentum_esq}*({momentum}+{b_add_momentum}))]] --{Course_m}|[[floor({Course}+{momentum}*{b_momentum_sec})]] --{Saut_m}|[[floor({Saut}+{momentum}*{b_momentum_sec})]] --{Accrobatie_m}|[[floor({Accrobatie}+{momentum}*{b_momentum_sec})]]
|
||||
|
||||
[show_blood]
|
||||
description=
|
||||
others=
|
||||
B = @{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel}
|
||||
I = @{Voile|repeating_magic-vital-skills_-Lk0K39r7eCcYVEBFeKy_magic_vital_skilllevel}
|
||||
S = @{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel}
|
||||
self = Offre un bonus de [[{b_brumesang_value}*{B}*@{Voile|multiple_seals}]] sur votre prochaine esquive
|
||||
Vous gagnez un bonus de [[{b_iresanglante_dmg}*{I}*@{Voile|multiple_seals}]] dégat d’arme a votre prochaine attaque
|
||||
Vous regagnez [[({S}*{d_soif_heal})]] points de vie et un bonus de [[{b_soifimpie_rgn}*{S}*@{Voile|multiple_seals}]] en régénération jusqu'a la fin du combat
|
||||
macro= {m}change_blood
|
||||
|
||||
[change_blood]
|
||||
B = @{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel}
|
||||
I = @{Voile|repeating_magic-vital-skills_-Lk0K39r7eCcYVEBFeKy_magic_vital_skilllevel}
|
||||
S = @{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel}
|
||||
macro={vset} {you} --mod --temp_dmg|[[{b_iresanglante_dmg}*{I}*@{Voile|multiple_seals}]] --temp_esq|[[{b_brumesang_value}*{B}*@{Voile|multiple_seals}]]
|
||||
{vset} {you} --Life_Points|[[{@{Voile|Life_Points}+{b_soifimpie_rgn}*{S}*@{Voile|multiple_seals}, @{Voile|Life_Points|max}}kl1]] --regen|[[{b_soifimpie_rgn}*{S}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
self=
|
||||
others=
|
||||
|
||||
[attaque_macro]
|
||||
description=Macro d'attaque
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des d'attaque} P @{Voile|general_effective_Perfection} c @{Voile|crit_level} M @{Voile|skillcost_Technique_martiale} @{Voile|general_effective_Technique_martiale} E @{Voile|skillcost_Exploiter_les_points_faibles} @{Voile|general_effective_Exploiter_les_points_faibles} F @{Voile|general_effective_Fauchage} D @{Voile|general_effective_Coup_dechirant} H @{Voile|base_damage_dices} H @{Voile|exal_damage_dices} A @{Voile|Skill_general_attribute_select_attaque} s @{Voile|general_attack_threshold} l @{Voile|general_attack_addall} a a n @{Voile|undescored_name} + @{Voile|additional_damage_dices} + @{Voile|general_effective_weapon1} + @{Voile|general_effective_weapon2} t @{Voile|transcendence} + @{Voile|general_effective_weapon3} f @{Voile|pctinflicted} f @{Voile|pctinflicted_s} f @{Voile|pctinflicted_b} + @{Voile|temp_dmg} f @{Voile|temp_pdmg} + @{Voile|momentum_dmg} + @{Voile|tempo_dmg}
|
||||
!setattr --name Voile --temp_pdmg|0 --temp_dmg|0 --tempo_dmg|0
|
||||
{m}change_momentum
|
||||
|
||||
[esquive_macro]
|
||||
description=Macro d'esquive
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des d'esquive} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} H @{{you}|base_dodge_dices} A @{{you}|Skill_general_attribute_select_dodge} t @{{you}|transcendence} s ?{{you}|Seuil d'esquive} - ?{Dégats a esquiver|0} a e n @{{you}|undescored_name} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} + @{{you}|temp_esq} + @{{you}|momentum_esq} + @{{you}|tempo_esq}
|
||||
!setattr --name {you} --temp_esq|0 --tempo_esq|0
|
||||
{m}change_momentum
|
||||
|
||||
[parade_macro]
|
||||
description=Macro de parade
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield1} + @{{you}|general_effective_shield2} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} + @{{you}|temp_def} + @{{you}|momentum_esq} + @{{you}|tempo_par} ?{Type d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}} + @{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0 --tempo_par|0
|
||||
{m}change_momentum
|
||||
|
||||
[parade_brute_macro]
|
||||
description=Macro de parade magique
|
||||
self=
|
||||
others=
|
||||
macro=!crit ?{Nombre de des de defense} I @{{you}|skillcost_Defense_impenetrable} @{{you}|general_effective_Defense_impenetrable} R @{{you}|general_effective_Rempart_parfait} c @{{you}|crit_level} S @{{you}|general_skilllevel_Encaissement} @{{you}|general_effective_Encaissement} H @{{you}|base_defense_dices} H @{{you}|exal_defense_dices} s @{{you}|general_defense_threshold} l @{{you}|general_defense_addall} A @{{you}|Skill_general_attribute_select_defense} t @{{you}|transcendence} - ?{Dégats a parer|0} a d n @{{you}|undescored_name} + @{{you}|general_effective_shield3} v @{{you}|pctreceived} v @{{you}|pctreceived_s} v @{{you}|pctreceived_b} v @{{you}|temp_pdef} + @{{you}|temp_def} + @{{you}|momentum_esq} ?{Type d'attaque|Magique,+ @{{you}|general_skilllevel_res_magique_effective} v @{{you}|res_magique_pct}|Voile,+ @{{you}|general_skilllevel_res_voile_effective} v @{{you}|res_voile_pct}|Divine,+ @{{you}|general_skilllevel_res_divine_effective} v @{{you}|res_divine_pct}|Existence,0|Physique,+ @{{you}|general_skilllevel_res_physique_effective} v @{{you}|res_physique_pct}} + @{{you}|general_skilllevel_res_omega_effective} v @{{you}|res_omega_pct}
|
||||
!setattr --name {you} --temp_pdef|0 --temp_def|0
|
||||
{m}change_momentum
|
||||
|
||||
[harmony]
|
||||
level=Ultime
|
||||
type = Reserve/Passif
|
||||
display_name=Harmony
|
||||
cost=8
|
||||
description=Les points d’harmonie se gagnent au cours d’une longue méditation.
|
||||
A hauteur de {harmony_charge} de méditation, et peuvent servir de coût à certaines techniques majeures.
|
||||
Les points d'harmonie donnent un bonus passif a la discrétion, l'initiative et aux techniques de résistance mentale et de perception.
|
||||
self= Vous changez votre niveau d'harmonie
|
||||
others= #La conscience de Voile de sa place dans le monde et de la maniere dont elle peut interagir avec celui ci se renforce.
|
||||
special = Système de stack augmentant hors combat et diminuant lors de l’utilisation active des techniques liées.
|
||||
macro = {vset} {you} --harmony|[[?{Niveau d'harmonie}]]
|
||||
|
||||
[shadow_har]
|
||||
level=Avancée
|
||||
type=Passif & Actif/Instant
|
||||
display_name=Harmony Of Shadow
|
||||
cost=4
|
||||
X = @{Voile|repeating_skills_-Lk0Ld9vbR5NTT6DFitP_general_skilllevel}
|
||||
description=Passif - Augmente la discrétion de {b_shadow_har_disc}*{X}*{harmony}, et rend les actions de dégagement plus simple de {harmony}*{b_shadow_har_int} degrés de difficultée.
|
||||
Actif - Augmente pendant un cours instant la conscience de son environnement,
|
||||
permettant de révéler la vrai nature des adversaire et objets dans le champ de perception.
|
||||
self= Voile augmente son état de conscience du réel, les adversaires et objets dans un cercle de [[{harmony}*{b_shadow_har}*{X}]] metres aux alentours revelent leur vraie nature.
|
||||
others= ** Harmonie de l'ombre ** Voile obtiens pendant un cours instant une image de la réalité au dela des apparences, dans un rayon de [[{harmony}*{b_shadow_har}*{X}]] metres.
|
||||
special= L’activation de la technique diminue le stack d’un point et montre & ajuste le nouvel l'etat des passifs
|
||||
macro ={vset} {you} --mod --harmony|-1
|
||||
|
||||
[wind_har]
|
||||
level=Avancée
|
||||
display_name=Harmony Of Wind
|
||||
X=@{Voile|repeating_skills_-Lk0LfoIZqkpZCKWUf8I_general_skilllevel}
|
||||
cost=4
|
||||
type=Passif & Actif/Instant
|
||||
description=Passif - Augmente le nombre d’action de {X}{harmony}/{b_wind_har_act} et rend les attaques d’opportunités plus difficiles d'un facteur {harmony}/{b_wind_har_opp}*{X}
|
||||
Actif - Permet de se désengager d’une attaque magique ou physique et un replacer gratuitement. Compte comme une esquive totale de l’attaque.
|
||||
self=Vous pouvez réapparaitre n'importe ou dans un cercle de [[{X}]] metres autours de vous.
|
||||
others= ** Harmonie du vent ** La présence de Voile deviens intangible pendant un bref instant, la rendant insensible a toutes les formes de dégats.
|
||||
special = L’activation de la technique diminue le stack d’un point et montre & ajuste le nouvel l'etat des passifs
|
||||
macro ={vset} {you} --mod --harmony|-1
|
||||
|
||||
[water_har]
|
||||
level=Avancée
|
||||
display_name=Harmony Of Water
|
||||
type=Passif & Actif/Instant
|
||||
cost=4
|
||||
X = @{Voile|repeating_skills_-Lk0Li-kTIahFB0V9Iny_general_skilllevel}
|
||||
description=Passif - Certaines contraintes physiques (frottement vent, courant gravité, résistance des matériaux)
|
||||
sont moins limitants pour les actions du personnage, facilitant les actions de mouvements de [[{X}]] degrés.
|
||||
Actif - Amplifie cet effet pendant un court instant, permettant d’effectuer des action défiant la physique.
|
||||
self = Vous pouvez ignorer la plupars des contraintes physiques pendant [[{X}]] actions.
|
||||
others= ** Harmonie de l'eau ** Pendant un cours instant, Voile dénie les effets des regles du monde materiel. Sa conscience de sa place dans le monde et de la maniere dont elle peut interagir avec celui ci s'affaiblit.
|
||||
special = L’effet du passif dépend du nombre de stack d’Harmony, l’activation de l’actif diminue le stack d’un point.
|
||||
macro ={vset} {you} --mod --harmony|-1
|
||||
|
||||
[metal_har]
|
||||
level=Avancée
|
||||
display_name=Harmony Of Metal
|
||||
type=Passif & Actif/Instant
|
||||
cost=4
|
||||
X=@{Voile|repeating_skills_Lk0LjlHlBkETSvDcjDd_general_skilllevel}
|
||||
description=Passif - Augmente la résistance mentale et la capacité à rester stoïque quelle que soit la situation, rendant difficile la lecture de son langage corporel, ajoutant un bonus de [[{harmony}*{b_metal_har}*{X}]] aux test dans ces domaines.
|
||||
Actif - Permet d'atténuer les effets néfastes appliqués sur l’esprit. Gagnez un bonus de [[{X}*{b_metal_har}]] a votre resistances mentale.
|
||||
self=Votre esprit se renforce, repoussant les effets déléteres sur vous.
|
||||
others= ** Harmonie du metal ** La volontée de Voile s'affirme, soufflant les influences négatives.
|
||||
special= L’effet du passif dépend du nombre de stack d’Harmony, l’activation de l’actif diminue le stack d’un point.
|
||||
macro={vset} {you} --mod --harmony|-1
|
||||
|
||||
[eth_har]
|
||||
level=Avancée
|
||||
display_name=Harmony Etheree
|
||||
type=Passif & Actif/Instant
|
||||
cost=8
|
||||
X=@{Voile|repeating_skills_-LmBMUm9kLgbLrFbzmsi_general_skilllevel}
|
||||
description=Passif - Voile obtient une réduction des degrés de difficultés de ses esquives dépendant de l’harmonie et de l’harmonie de l’Ethéré
|
||||
Actif - Vos {X} prochainnes actions comptent comme des actions libres
|
||||
self= Vos {X} prochaines actions comptent comme des actions libres
|
||||
others= ** Harmonie Etherée ** La vitesse de Voile semble démultipliée pendant un instant.
|
||||
special=&
|
||||
macro={vset} {you} --mod --harmony|-1
|
||||
|
||||
[fou_har]
|
||||
level=Avancée
|
||||
display_name=Harmony Foudroyante
|
||||
type=Passif & Actif/Instant
|
||||
cost=4
|
||||
X=@{Voile|repeating_skills_-LmBMY-4IJtvXEUdPjkN_general_skilllevel}
|
||||
description=Passif - Vos attaques infligent des dégats elementaires de foudre
|
||||
Actif - Voile sacrifie la totalité de ses boucliers pour ajouter une partie de leur valeur à sa prochaine attaque sous forme de dégâts
|
||||
self= Votre prochainne attaque infligera [[floor({X}*@{{you}|shield}*{b_fou_dmg})]] dégats de foudre supplementaire
|
||||
others= ** Harmonie Foudroyante ** Les boucliers de Voile volent en éclat, l'energie s'accumulant dans son arme, flamboyant d'energie a travers le champs de bataille
|
||||
special=
|
||||
macro={vset} {you} --mod --harmony|-1 --temp_dmg|[[floor({X}*@{{you}|shield}*{b_fou_dmg})]]
|
||||
{vset} {you} --shield|0
|
||||
|
||||
[momentum]
|
||||
level=Ultime
|
||||
display_name=Momentum
|
||||
type=Reserve/Passif
|
||||
cost=8
|
||||
description=Les Points de Momentum se gagnent activement au cours d’un combat, en fonction du nombre d’attaques parades ou esquives effectuées dans le tour.
|
||||
Chaque stack de momentum donne un bonus à l’esquive, la parade, à l’attaque,
|
||||
la vitesse de déplacement,l’acrobatie et le saut, représentant le momentum progressivement gagné par le personnage.
|
||||
Tant que le personnage a du momentum, il est particulièrement difficile de porter des attaques d’opportunités contre lui.
|
||||
self=Vous gagnez un point de Momentum. Votre attaque et votre parade bénéficient d'un bonus de [[{b_momentum_dmg}*{momentum}]], votre esquive beneficie d'un bonus de [[{b_momentum_esq}*{momentum}]] et votre vitesse de déplacement est désormais de [[{ag}+{b_momentum_speed}*{momentum}]].
|
||||
others= La vitesse et la puissance de Voile augmente, ne laissant apparaitre qu'une silhouette. brouillée par la vitesse.
|
||||
special = Momentum max - {b_momentum_max}*{momentum_max}.
|
||||
Système de stack augmentant en combat et diminuant lors de l’utilisation active des techniques liées.
|
||||
momentum_vmax={b_momentum_max}*{momentum_max}
|
||||
macro=
|
||||
|
||||
[impact]
|
||||
level=Majeur
|
||||
display_name=Impact
|
||||
cost=4
|
||||
X=@{Voile|repeating_skills_-Lk0Mb-NlPrZS0G8qZEt_general_skilllevel}
|
||||
type=Canalisation/Empower
|
||||
description=Dépense l’ensemble du momentum dans une charge durant une action complète.
|
||||
La puissance de l’impact fracture le sol et inflige de lourds dégâts aux
|
||||
adversaires dans une large zone dépendant du nombre de points de momentum consumés
|
||||
self=Vous perdez votre momentum
|
||||
[Placer l'Impact](! #place_aoe Impact)
|
||||
others=** Impact ** Un terrible impact sur une zone de [[floor(({X}+{b_impact_size_base})*{b_impact_size}*{momentum})]] mètres infligeant [[{X}*{b_impact}*{momentum}]] dégâts bonus à l’attaque
|
||||
special= Système de stack augmentant en combat et diminuant lors de l’utilisation active des techniques liées.
|
||||
macro = {vset} {you} --mod --temp_dmg|[[{X}*{b_impact}*{momentum}]]
|
||||
{vset} {you} --momentum|0 --momentum_dmg|0 --momentum_par|0 --momentum_esq|0
|
||||
|
||||
[adagio]
|
||||
level=Majeur
|
||||
display_name=Adagio
|
||||
cost=4
|
||||
type=Passif
|
||||
X=@{Voile|repeating_skills_-Lk0Mbt8pCFsrUR0Oddn_general_skilllevel}
|
||||
description=Chaque attaque contre un adversaire différent augmente le momentum
|
||||
self=Voile saute d'adversaire en adversaire (jusqu'a {X} adversaires différent), n'appliquant que ses on hit a chaque adversaire.
|
||||
others= ** Adagio ** Voile utilise ses differents adversaires pour rebondir de l'un a l'autre et augmenter son Momentum
|
||||
special =
|
||||
macro={vset} {you} --momentum|[[{{b_momentum_max}*{momentum_max},{momentum}+(?{Nombre d'adversaires touchés})*{b_adagio}}kl1]]
|
||||
|
||||
[tempo_martial]
|
||||
level=Ultime
|
||||
display_name=Tempo Martial
|
||||
type = Actif/Instant/Empower
|
||||
cost=8
|
||||
X=@{Voile|repeating_skills_-Lk0NBFvdaBqbDj1zZ6l_general_skilllevel}
|
||||
description=
|
||||
self=Sacrifiez [[{b_tempo_dep}]] actions; votre prochaine action physique baisse de [[round({X}*{b_tempo_degre})]] degrés de difiiculté, vous gagnez un bonus de [[{b_tempo}*{X}]] a votre prochaine attaque, votre prochaine parade et votre prochaine esquive.
|
||||
others= ** Tempo Martial ** Voile se synchronyse au tempo de ses adversaires pour se servir de leurs actions contre eux, faisant tourbilloner sa lance autour d'elle.
|
||||
special =
|
||||
macro= {vset} {you} --mod --actions|-{b_tempo_dep}
|
||||
{vset} {you} --tempo_dmg|[[{@{Voile|tempo_dmg}+{b_tempo}*{X},{b_tempo_max}*{X}}kl1]] --tempo_par|[[{@{Voile|tempo_par}+{b_tempo}*{X},{b_tempo_max}*{X}}kl1]] --tempo_esq|[[{@{Voile|tempo_esq}+{b_tempo}*{X},{b_tempo_max}*{X}}kl1]]
|
||||
|
||||
[sceau_phenix]
|
||||
level=Ultime
|
||||
display_name=Sceau Du Phenix
|
||||
type=Actif/Durée/buff
|
||||
cost=8
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0HmbYyglmpIEtJtRV_magic_vital_skilllevel}
|
||||
description=Consomme {sceau_du_phenix_charge_level} points de la Porte de Sang, vous pouvez dépenser ses points meme si cela devait consummez plus que votre reserve. Si vous faites ainsi, vous perdez [[{b_phenix_alt_charge}]] points de vie maximum. Vous gagnez une grande regeneration et ne pouvez pas mourir.
|
||||
self=Les {X} prochaines attaques ne peuvent pas vous tuer, a chaque fois que vous devriez mourir regagnez [[{b_phenix_reg}]] points de vie a la place.
|
||||
others= ** Sceau du Phenix ** Dans l’adversité, le Phénix de Voile se relève de ses Cendre, les blessures se refermant dans une gerbe de sang frais.
|
||||
special =
|
||||
macro = {vset} {door} --mod --blood_gate|-[[{sceau_du_phenix_charge_level}]]
|
||||
|
||||
[Lune_de_Sang]
|
||||
level=Avancée
|
||||
display_name=Lune de sang
|
||||
cost=2
|
||||
type=Actif/Empower
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0IPjvvYGG2jNhSLZL_magic_vital_skilllevel}
|
||||
description=Consomme {b_lune_de_sang_charge_level} points de la Porte de Sang, crée un bouclier de valeur {b_sceaulunesang_shield}*{X} pour parer une attaque unique
|
||||
self=Crée un bouclier d’une valeur [[{b_sceaulunesang_shield}*({X}+{b_sceaulunesang_base})*@{Voile|multiple_seals}]]
|
||||
others=** Lune de Sang ** Les veine de Voile éclatent projetant un mur de sang dans toutes les directions.
|
||||
special =
|
||||
macro = {vset} {you} --mod --shield|[[{b_sceaulunesang_shield}*({X}+{b_sceaulunesang_base})*@{Voile|multiple_seals}]]
|
||||
{vset} {door} --mod --blood_gate|[[-1*{b_lune_de_sang_charge_level}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
[Sang]
|
||||
level=Mineure
|
||||
display_name=Sang
|
||||
type=Actif/Instant
|
||||
cost=4
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0Ikx5LI0341mCvRDZ_magic_vital_skilllevel}
|
||||
description=Consomme {b_sang_charge_level} points de la Porte de Sang
|
||||
Infligez {b_sang_dmg}*{X} blessures
|
||||
self=Inflige [[{b_sang_dmg}*{X}]] blessures
|
||||
others= ** Sang ** Un éclat de douleur dans un éclat d'acier, voile inflige [[{b_sang_dmg}*{X}*@{Voile|multiple_seals}]] blessures sur une cible a [[{X}]] metres d'elle.
|
||||
special =
|
||||
macro = {vset} {door} --mod --blood_gate|[[-1*{b_sang_charge_level}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
[Contresang]
|
||||
level=Mineure
|
||||
display_name=Contresang
|
||||
type=Actif/Instant
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0J6g4u8NBNAFB3asT_magic_vital_skilllevel}
|
||||
cost=2
|
||||
description=Consomme {b_contresang_charge_level} points de la Porte de Sang
|
||||
Vous regagnez {b_contresang_soin}*{X} points de vie
|
||||
self=Vous regagnez [[{b_contresang_soin}*{X}*@{Voile|multiple_seals}]] points de vie
|
||||
others=** Contresang ** Le sang jaillit des veines de la main gauche de Voile pour combler les blessures.
|
||||
special =
|
||||
macro = {vset} {door} --mod --blood_gate|[[-{b_contresang_charge_level}*@{Voile|multiple_seals}]]
|
||||
{vset} {you} --Life_Points|[[{@{{you}|Life_Points}+[[floor(@{{you}|pcthealing}*{b_contresang_soin}/100)*@{Voile|multiple_seals}]],@{{you}|Life_Points|max}}kl1]]
|
||||
{reset_multiple}
|
||||
|
||||
[Sang_de_Feu]
|
||||
level=Mineure
|
||||
display_name=Sang de Feu
|
||||
cost=2
|
||||
type=Actif/Instant/Durée #Canalisation possible?
|
||||
X =@{Voile|repeating_magic-vital-skills_-Lk0JQiMYucKCBgRDi2V_magic_vital_skilllevel}
|
||||
description=Consomme {b_sangfeu_charge_level} points de la Porte de Sang.
|
||||
Crée une flamme pouvant inflier {b_sangfeu_dmg}*{X} dégats
|
||||
self=Crée [[@{Voile|multiple_seals}*{X}]] petites flammes pouvant inflier [[{b_sangfeu_dmg}]] dégats
|
||||
others= ** Sang de Feu ** Une flamme jaillit des mains de Voile.
|
||||
special =
|
||||
macro = {vset} {door} --mod --blood_gate|[[-{b_sangfeu_charge_level}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
[Amplitude]
|
||||
level=Mineure
|
||||
display_name=Amplitude
|
||||
type=Actif/Instant
|
||||
cost=4
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0JVQp9Lw7kRfWBI5G_magic_vital_skilllevel}
|
||||
description=Consomme {b_amplitude_chargelevel} points de la Porte de souffrance
|
||||
Augmente la puissance de la prochaine attaque de {b_amplitude_percent}*{X} dégats
|
||||
self=Augmente les dégats de la prochaine attaque de [[{b_amplitude_percent}*{X}*@{Voile|multiple_seals}]] dégats
|
||||
others= ** Amplitude ** La lance de Voile semble accellerer soudainement, laissant entendre en traversant l'air un hurlement d'ame en peine.
|
||||
special =
|
||||
macro = {vset} {door} --mod --suffering_gate|[[-{b_amplitude_chargelevel}*@{Voile|multiple_seals}]]
|
||||
{vset} {you} --mod --temp_dmg|[[{b_amplitude_percent}*{X}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
[Ombre]
|
||||
level=Mineure
|
||||
display_name=Ombre
|
||||
type=Actif/Durée/Buff
|
||||
cost=2
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0JZeeKHm5vfnrcqpp_magic_vital_skilllevel}
|
||||
description=Consomme @{b_ombre_chargelevel} points de la Porte de souffrance
|
||||
Augmente la discrétion de {b_ombre_discretion}*{X}
|
||||
self=Augmente la discrétion d'une cible de [[{b_ombre_discretion}*{X}*@{Voile|multiple_seals}]] jusqu'à la fin du combat
|
||||
others= ** Ombre ** Une energie lugubre recouvre la peau de Voile, la dissimulant aux regards.
|
||||
special =
|
||||
macro ={vset} {door} --mod --suffering_gate|[[-{b_ombre_chargelevel}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
[Souffle_de_sang]
|
||||
level=Mineure
|
||||
display_name=Souffle De Sang
|
||||
type=Actif/Instant/Empower
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0IuscZnLZGW3GnEx0_magic_vital_skilllevel}
|
||||
cost=4
|
||||
description=Consomme {b_souffle_de_sang_charge_level} points de la Porte de Souffrance
|
||||
Votre prochaine attaque gagne un Fauchage
|
||||
self=Votre prochaine attaque peut toucher jusqu'a [[{X}*{b_souffle_de_sang}*@{Voile|multiple_seals}]] cibles supplémentaires sans malus, elle obeit aux regles de fauchage.
|
||||
others= ** Souffle de Sang ** Dans une détonnation de tonnere, une lame lugubre trache l'air a la suite de l'attaque de Voile.
|
||||
special =
|
||||
macro = {vset} {door} --mod --suffering_gate|[[-{b_souffle_de_sang_charge_level}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
[Torrent_Pourpre]
|
||||
Level=Avancée
|
||||
display_name=Torrent pourpre
|
||||
type=Passif
|
||||
cost=8
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0JhpooCT7WC1qoCw2_magic_vital_skilllevel}
|
||||
description=Lorsque vous gagnez un point dans la Porte des abysses, gagnez {X}{b_torrentpourpre_abysse} point supplémentaires
|
||||
Lorsque vous gagnez un point dans la Porte de Sang, gagnez {X}*{b_torrentpourpre_sang} points supplémentaires
|
||||
Lorsque vous gagnez un point dans la Porte de Souffrance, gagnez {X}*{b_torrentpourpre_souffrance} points supplémentaires
|
||||
self= # Passif, pas de display
|
||||
others=
|
||||
special =
|
||||
macro = {vset} {door} --mod --suffering_gate|[[floor(?{Ouverture de la porte de la Souffrance}*({X}*{b_torrentpourpre_souffrance}+{b_base_abysse})/100)]] --abyss_gate|[[floor(?{Ouverture de la porte des Abysses}*({X}*{b_torrentpourpre_abysse}+{b_base_souffrance})/100)]] --blood_gate|[[floor(?{Ouverture de la porte de Sang}*({X}*{b_torrentpourpre_sang}+{b_base_sang})/100)]]
|
||||
|
||||
[Temps]
|
||||
level=Mineure
|
||||
display_name=Temps
|
||||
type=Actif/Instant
|
||||
cost=16
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0Iq6aEZjX8hGsfbZg_magic_vital_skilllevel}
|
||||
description=Consomme {b_temps_charge_level} points de la Porte de Abysses.
|
||||
Un sceau se relance
|
||||
self=Votre sceau se relance jusqu'a [[{X}*@{Voile|multiple_seals}]] fois
|
||||
others=** Temps ** Une energie sombre jaillit du visage de Voile, copiant ses mouvements avec un leger retard.
|
||||
special =
|
||||
macro = {vset} {door} --mod --abyss_gate|[[-{b_temps_charge_level}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
[Ame]
|
||||
level=Mineure
|
||||
display_name=Ame
|
||||
type=Actif/Instant
|
||||
cost=8
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0JFRyMCjaM7mSPEzI_magic_vital_skilllevel}
|
||||
description=Consomme {b_ame_charge_level} points de la Porte de Abysses
|
||||
Augmente la zone d’un sceau a {b_ame_target}*{X} cible ou {b_ame_alt_range}*{X} metres
|
||||
self=Augmente la zone d’un sceau a [[{b_ame_target}*{X}*@{Voile|multiple_seals}]] cible ou [[{b_ame_alt_range}*{X}*@{Voile|multiple_seals}]] metres
|
||||
others= ** Ame ** Une magie noire se déploie soudainement, étoufant toute une zone dans un miasme de mort.
|
||||
special =
|
||||
macro = {vset} {door} --mod --abyss_gate|[[-{b_ame_charge_level}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
[Influx]
|
||||
level=Mineure
|
||||
display_name=Influx
|
||||
type=Actif/Durée/Buff
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0J1ZhLzPrkvj3y3S0_magic_vital_skilllevel}
|
||||
cost=8
|
||||
description=Consomme {b_influx_charge_level} points de la Porte de Abysses
|
||||
Augmente les attributs physique de {b_influx_phys}*{X}
|
||||
self= Vous augmente vos attributs physique de [[{b_influx_phys}*{X}*@{Voile|multiple_seals}]]
|
||||
others= ** Influx ** Une energie tenebreuse recouvre Voile.
|
||||
special =
|
||||
macro = {vset} {door} --mod --abyss_gate|[[-{b_influx_charge_level}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
[bis_repetitas]
|
||||
level=Avancée
|
||||
display_name=Bis Repetitas
|
||||
type=Actif/Instant
|
||||
cost=8
|
||||
X = @{Voile|repeating_magic-vital-skills_-Lk0IHG528wQQzEWVnyC_magic_vital_skilllevel}
|
||||
description=Consomme {b_bis_repetitas_charge_level} points de la Porte des Abysses. La prochaine attaque non technique portée contre un adversaire ciblé infligeras [[{X}*{b_Bis_repetitas_Onhit}]]% de dégats suplémentaires.
|
||||
self=La prochaine attaque portée contre un adversaire ciblé infligeras [[{X}*{b_Bis_repetitas_Onhit}]]% de dégats suplémentaires.
|
||||
others= ** Bis Repetitas ** Dans un éclat d'energie sombre, un éclat de temps viens heurter la réalitée, brouillant le passé et le présent, frappant encore et encore.
|
||||
special =
|
||||
macro = {vset} {door} --mod --abyss_gate|-[[{b_bis_repetitas_charge_level}*@{Voile|multiple_seals}]]
|
||||
{vset} {you} --mod --temp_pdmg|[[{X}*{b_bis_repetitas_onhit}*@{Voile|multiple_seals}]]
|
||||
{reset_multiple}
|
||||
|
||||
[Brume_de_sang]
|
||||
Level=Avancée
|
||||
display_name=Brume de sang
|
||||
type=Passif/Buff/Durée
|
||||
cost=4
|
||||
B = @{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel}
|
||||
description= Lors de l’ouverture d’un sceau, offre un bonus de {b_brumesang_value}*{B} sur votre prochaine esquive
|
||||
self= #Offre un bonus de {b_brumesang_value}*{B} sur votre prochaine esquive
|
||||
others=
|
||||
special =
|
||||
macro =
|
||||
|
||||
[Ire_Sanglante]
|
||||
Level=Avancée
|
||||
display_name=Ire Sanglante
|
||||
type=Passif/Empower/Durée
|
||||
cost=2
|
||||
I = @{Voile|repeating_magic-vital-skills_-Lk0K39r7eCcYVEBFeKy_magic_vital_skilllevel}
|
||||
description= Lors de l’ouverture d’un sceau, offre un bonus de {b_iresanglante_dmg}*{I} dégat d’arme a votre prochaine attaque
|
||||
self=
|
||||
others=
|
||||
special =
|
||||
macro =
|
||||
|
||||
[Soif_Impie]
|
||||
Level=Avancée
|
||||
display_name=Soif Impie
|
||||
type=Passif/Instant & Passif/Buff/Durée
|
||||
cost=8
|
||||
S = @{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel}
|
||||
description= Lors de l’ouverture d’un sceau, offre un bonus de {b_soifimpie_rgn}*{S} en régénération
|
||||
self=
|
||||
others=
|
||||
special=
|
||||
macro =
|
||||
|
||||
[Bain_de_Sang]
|
||||
Level=Avancée
|
||||
display_name=Bain de Sang
|
||||
cost=2
|
||||
type=Passif/Instant
|
||||
description=Choisisez l'un : Regagnez [[{BA}*{b_bloodbath_heal}]] points de vie, regagnez [[{b_bloodbath_act}]] actions ou regagnez [[{BA}*{b_bloodbath}]] points de sang
|
||||
Vous avez [[{BA}]] charges de *Bain de sang*
|
||||
self=Choisisez l'un : Regagnez [[{BA}*{b_bloodbath_heal}]] points de vie, regagnez [[{b_bloodbath_act}]] actions ou regagnez [[{BA}*{b_bloodbath}]] points de sang
|
||||
Il vous reste [[@{Voile|bloodbath_charges}-1]] charges de *Bain de sang*
|
||||
others=**Bain de Sang** Les veines de Voile semble soudainement virer au noir sur ses bras.
|
||||
special=
|
||||
macro = !setattr --name {you} --mod --bloodbath_charges|-1
|
||||
|
|
@ -0,0 +1,235 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold"><span class="f4">[Ultime] Morsure de l'Hiver [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Sous certaines conditions, ou si un sort de glace atteint un ennemi directement,
|
||||
il appliquera un stack de cet effet. Plus cet effet aura été appliqué, plus la cible subira de dégâts supplémentaires.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Durent jusqu'a la fin du combat, et peuvent stacker jusqu'a @{Jinyah|repeating_magic-aspected-skills_-Lk-DqcizrsE0yPbyAb7_magic_aspected_skilllevel} fois. Ces marques augmentent de [[floor((((@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega}))/2)/4)]]&#37; les dégats subit
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
@{target|target|character_name} est sous l'effet Morsure de l'Hiver et prend des dégâts supplémentaires
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Robustesse de l'Hiver [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Sous certaines conditions, ou si un sort de glace atteint un allié directement,
|
||||
il appliquera un stack de cet effet. La cible gagne des résistances aux dégâts pour chaque stack.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Durent jusqu'a la fin du combat, et peuvent stacker jusqu'a [[@{Jinyah|repeating_magic-aspected-skills_-Lk-DqcizrsE0yPbyAb7_magic_aspected_skilllevel}]] fois. Ces marques reduisent de [[floor((((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_bois_tot}/2+@{Eisvogel|elem_bois_tot}+@{Jinyah|elem_omega}))/2)/5)]]&#37; les dégats subits
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
@{target|target|character_name} est sous l'effet Robustesse de l'Hiver et subit donc moins de dégâts.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Revigoration [2]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Revigoration** [Coût : 2] Soigne @{target|target|character_name} de [[floor(@{target|pcthealing}*@{target|target|frostshield}*@{Jinyah|repeating_magic-aspected-skills_-Lk-Gm0UQajXFD5z2zat_magic_aspected_skilllevel}*(@{Jinyah|elem_eau_tot}/2+@{Eisvogel|elem_eau_tot}+@{Jinyah|elem_omega})*0.5/100)]] points de vie.
|
||||
[Appliquer le soin](!&#13;#healit [[floor(@{target|pcthealing}*@{target|target|frostshield}*@{Jinyah|repeating_magic-aspected-skills_-Lk-Gm0UQajXFD5z2zat_magic_aspected_skilllevel}*(@{Jinyah|elem_eau_tot}/2+@{Eisvogel|elem_eau_tot}+@{Jinyah|elem_omega})*0.5/100)]])
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Transfert de Froid [2]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Transfert de Froid** [Coût : 3] Test DD+[[floor((@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})/7)]] pour resister. Transfère jusqu'à @{Jinyah|repeating_magic-aspected-skills_-Lk-Gn2T4CvHCEcxPHaZ_magic_aspected_skilllevel} effets Morsure de l'hiver d'une cible ennemie vers une autre au choix.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Symbiose de l'aspect [2]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Appliquer des effets Morsure de l'Hiver permet d'appliquer @{Jinyah|repeating_magic-aspected-skills_-Lk-GphCfAF2s1firmtm_magic_aspected_skilllevel} effets Robustesse de l'Hiver sur une cible alliée au choix, tandis qu'appliquer des effets Robustesse de l'Hiver permet d'appliquer @{Jinyah|repeating_magic-aspected-skills_-Lk-GphCfAF2s1firmtm_magic_aspected_skilllevel} effets Morsure de l'Hiver sur un ennemi au choix. (Test de résistance magique)
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Appliquez jusqu'a @{Jinyah|repeating_magic-aspected-skills_-Lk-GphCfAF2s1firmtm_magic_aspected_skilllevel} marques de Robustesse de l'Hivers a un allié au choix, Appliquez @{Jinyah|repeating_magic-aspected-skills_-Lk-GphCfAF2s1firmtm_magic_aspected_skilllevel} marques de Morsure de l'Hivers sur un ennemi au choix. DD+[[floor((@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})*0.1)]]
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Stimulation de l'aspect [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif/Buff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Si le personnage ne peut plus agir quelqu'en soit la raison,
|
||||
l'aspect gagne [[floor(@{Jinyah|repeating_magic-aspected-skills_-Lk-H0A4ZvDP4YcBL1NS_magic_aspected_skilllevel})]] actions supplémentaires jusqu'à la reprise de contrôle du personnage.
|
||||
<span class="f4"><span class="underline">Spécial</span></span>
|
||||
Jinyah ne peut plus agir, mais son aspect s'en voit renforcé.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Garde de l'aspect [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Lorsque vous allez subir des dégâts, réduisez ces derniers.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Colère de l'aspect [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Empower
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Peut convertir les effets Morsure de l'Hiver d'une cible pour regagner du Mana.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Il vous reste [[@{Jinyah|colere_stacks}-1]] utilisations de **[Colere de l'aspect]**
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Colère de l'aspect** [Coût : 0] Régenère [[floor(@{target|target|frostdamage}*@{Jinyah|repeating_magic-aspected-skills_-Lk-H4mC0xWsyjFR0rGK_magic_aspected_skilllevel}*(@{Jinyah|elem_eau_tot}/2+@{Eisvogel|elem_eau_tot}+@{Jinyah|elem_omega})/8)]] points de Mana en drainant les marques de @{target|target|character_name}.
|
||||
Jinyah se couvre de froid et regagne du Mana.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] prélude de l'hiver [16]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif/Instant/Buff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
@{Jinyah|repeating_magic-aspected-skills_-Lk-H7EpWwfDnT1p0ZH7_magic_aspected_skilllevel} fois par combat, si le personnage devrait subir des dégâts létaux, Stase Cryogénique est utilisé sur lui-même a la place.
|
||||
Jinyah se recouvre de glace, la protégeant ainsi des dégâts.
|
||||
<span class="f4"><span class="underline">Spécial</span></span>
|
||||
Voir le sort Stase Cryogénique, situé 3 sorts plus bas
|
||||
|
||||
<span class="bold"><span class="f4">[Simple] Armure de Givre [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Buff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Crée une armure de Givre sur une cible, lui conférant @{Eisvogel|repeating_magic-aspected-skills_-Lk-HFQx4xIxRZTRebBS_magic_aspected_skilllevel} effet Robustesse de l’hiver,
|
||||
tout en créant un bouclier sur la cible.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
@{target|target|character_name} reçoit un bouclier de Givre ainsi que [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HFQx4xIxRZTRebBS_magic_aspected_skilllevel}-1]] marques Robustesse de l'Hiver supplementaire.
|
||||
|
||||
<span class="bold"><span class="f4">[Simple] Rayon de Glace [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Frappe un ennemi avec la puissance brute de la Glace, occasionnant de lourds dégâts si l’attaque touche.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Rayon** [Coût : 4] Envoie un rayon de Glace vers @{target|target|character_name}. Dodge DD+[[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HKdLOZtOyW28mQ5v_magic_aspected_skilllevel}]]. Inflige [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HKdLOZtOyW28mQ5v_magic_aspected_skilllevel}*((@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))*2.2)]] dégâts. Si cette attaque inflige des dégats, elle inflige [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HKdLOZtOyW28mQ5v_magic_aspected_skilllevel}*0.5)]] effets Morsure de l’Hiver supplémentaires.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Stase Cryogénique [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Empower
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Protège une cible des dégâts, l’empêche d’utiliser des actions.
|
||||
Régénère @{Eisvogel|repeating_magic-aspected-skills_-Lk-HKdLOZtOyW28mQ5v_magic_aspected_skilllevel}*0.8 points de vie par marque de Robustesse de l’Hiver sur la cible.
|
||||
Peut-être utilisé sur un ennemi affecté par Morsure de l’hiver pour les mêmes effets.
|
||||
Dure jusqu’au prochain tour de la cible.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
@{target|target|character_name} ne peut pas agir jusqu'à son prochain tour et ne prendra pas de dégâts.
|
||||
|
||||
<span class="bold"><span class="f4">[Simple] Brume Gelée [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Buff/Durée
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Invoque une brume qui recouvre une zone de @{Eisvogel|repeating_magic-aspected-skills_-Lk-HO1ii7biiKBDKj6n_magic_aspected_skilllevel}*9 metres de rayon handicapant la vision des ennemis, et donnant un effet Robustesse de l’hiver aux alliés à l’intérieur chaque tour. La Brume dure @{Eisvogel|repeating_magic-aspected-skills_-Lk-HO1ii7biiKBDKj6n_magic_aspected_skilllevel} tours.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
[Placer la brume](!&#13;#place_aoe Fog)
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
Une brume gelée apparaît, recouvre une zone de [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HO1ii7biiKBDKj6n_magic_aspected_skilllevel}*9]] metres handicapant la vision des ennemis et donnant un effet Robustesse de l’hiver aux alliés à l’intérieur chaque tour. La Brume dure @{Eisvogel|repeating_magic-aspected-skills_-Lk-HO1ii7biiKBDKj6n_magic_aspected_skilllevel} tours.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Mur réfléchissant [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Debuff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Invoque un grand mur qui bloque les attaques physiques et réfléchit les sorts.
|
||||
Si un ennemi voit son attaque bloquée ou son sort réfléchi,
|
||||
il subit un effet Morsure de l’hiver.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
[Placer le mur](!&#13;#place_aoe Icewall)
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
Un mur de Glace apparaît, protégeant des attaques à venir.
|
||||
|
||||
<span class="bold"><span class="f4">[Simple] Vague de Glace [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant/Debuff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Crée une grande vague de glace qui part du lanceur, occasionnant des dégâts,
|
||||
applique Morsure de l’hiver, et entrave tout ennemi n’ayant pas réussi à l’esquiver.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Placer l'AOE [&nabla;](!&#13;#direction_aoe Vague_glace) [✸](!&#13;#place_aoe Vague_glace)
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
Une vague de Glace part de Jinyah, entravant tout ennemi pris dedans.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Etreinte Glaciale [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant/Durée
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Ce sort nécessite que la cible soit affectée par au moins 3 effets Morsure de l’hiver.
|
||||
Tant que la cible est affectée par Morsure de l’hiver,
|
||||
elle prendra d’importants dégâts à chaque tour.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Etreinte Glaciale** [Coût : 7] Resistance DD+[[floor((@{Jinyah|elem_magma_tot}/2+@{Eisvogel|elem_metal_tot}+@{Jinyah|elem_omega})/3)]]. Inflige [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HTf54N8R6eNDEwxc_magic_aspected_skilllevel}*@{target|target|frostdamage}*((@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))/4.5)]] dégâts par tour à @{target|target|character_name} jusqu'à perte des marques de Morsure.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Bénédiction de l'hiver [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Buff/Durée
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Ce sort nécessite que la cible soit affectée par au moins 3 effets Robustesse de l’hiver.
|
||||
La cible voit ses dégâts augmenter pendant @{Eisvogel|repeating_magic-aspected-skills_-Lk-HXdpOLN295YW3N0p_magic_aspected_skilllevel} tours et gagne un effet Robustesse de l’hiver.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Bénédiction de l'Hiver** [Coût : 6] @{target|target|character_name} reçoit une bénédiction de Givre. Sa prochaine action infligera [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HXdpOLN295YW3N0p_magic_aspected_skilllevel}*(@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})*@{target|target|frostshield}/2)]]&#37; dégats supplémentaires.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Blizzard [16]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Durée
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Crée une tempête dévastatrice dans une grande zone pendant @{Eisvogel|repeating_magic-aspected-skills_-Lk-HZdpjSmhjPPyclyE_magic_aspected_skilllevel} tours.
|
||||
Les ennemis pris dans le Blizzard prennent d’importants dégâts et subissent deux effets Morsure de l’hiver
|
||||
chaque tour commencé dans cette zone.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
[Placer le blizzard](!&#13;#place_aoe Freeze)
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Blizzard** [Coût : 7] Invoque un blizzard dans une zone de [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HZdpjSmhjPPyclyE_magic_aspected_skilllevel}*8)]] mètres de rayon qui inflige [[floor(((@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))*5)]] par tour, dure @{Eisvogel|repeating_magic-aspected-skills_-Lk-HZdpjSmhjPPyclyE_magic_aspected_skilllevel} tours
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Dôme de l'hiver [14]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Canalisation/Buff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Invoque un grand dôme protecteur autour du lanceur.
|
||||
Ce dôme va protéger tous les alliés qui se trouvent à l’intérieur d’une énorme quantité de dégâts,
|
||||
et leur conférer deux effets Robustesse de l’hiver chaque tour. S’il s’avère qu’un ennemi se trouve au sein de ce dôme,
|
||||
il subira un effet Morsure de l’Hiver, et un de plus pour chaque action qu’il effectuera à l’intérieur.
|
||||
Les alliés peuvent quitter le Dôme ou rentrer dedans à tout moment.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
[Placer le dome](!&#13;#place_aoe Dome)
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
[Ajouter Resistance](!&#13;#dmg_received [[{floor(((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))*0.8),89+@{Eisvogel|repeating_magic-aspected-skills_-Lk-HZShTmq5wdHs0Ug3_magic_aspected_skilllevel}}kl1]])
|
||||
[Enlever Resistance](!&#13;#dmg_received [[-1*{floor(((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))*0.8),89+@{Eisvogel|repeating_magic-aspected-skills_-Lk-HZShTmq5wdHs0Ug3_magic_aspected_skilllevel}}kl1]])
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Hiver sans fin [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant/Buff/Durée
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Sacrifie tous vos effets Robustesse de l’hiver
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Hiver sans fin** [Coût : 4] Votre affinité *Omega* augmente de [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HaVh4E6T6BvNJZu-_magic_aspected_skilllevel}*@{Jinyah|frostshield}*((@{Jinyah|elem_vapeur_tot}/2+@{Eisvogel|elem_vapeur_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_metal_tot}/2+@{Eisvogel|elem_metal_tot}+@{Jinyah|elem_omega}))/60)]] jusqu'à la fin du combat.
|
||||
|
||||
<span class="bold"><span class="f4">[Simple] Bourrasque Gelée [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant/Debuff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Envoie une grosse bourrasque d’air glacé qui inflige des dégâts,
|
||||
un effet Morsure de l’hiver, et repousse les ennemis autour du lanceur.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
[Placer la Bourrasque](!&#13;#place_aoe Freeze)
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Bourrasque gelée** [Coût : 3] Inflige [[floor(((@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})+@{Eisvogel|repeating_magic-aspected-skills_-Lk-HdJw9y7nRiMbXl8s_magic_aspected_skilllevel})*2.5)]] dégâts sur une zone de [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HdJw9y7nRiMbXl8s_magic_aspected_skilllevel}*2]] mètres autours de vous, et tente de repousser les ennemis. DD+[[floor((@{Jinyah|elem_terre_tot}/2+@{Eisvogel|elem_terre_tot}+@{Jinyah|elem_omega})*0.21)]].
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Explosion de Glace [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Une grande explosion de glace se manifeste autour de @{target|target|character_name}.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Tous les cibles prises dans l'explosion prennent des dégâts et subissent jusqu'a @{Eisvogel|repeating_magic-aspected-skills_-Lk-HfYpl0l1uj9dUqVC_magic_aspected_skilllevel} effets Morsure de l'Hiver. La cible ne peut subir des marques jusqu'a la fin du tour.
|
||||
[Placer l'explosion](!&#13;#place_aoe Freeze)
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Voile de l'aurore [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Buff/Durée
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Projette un voile sur toutes les cibles alliées affectés par Robustesse de l’hiver.
|
||||
Ce voile annule les dégâts des [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-Hga0BioOZVTROln9_magic_aspected_skilllevel}*4.5]] prochaines attaques/sorts.
|
||||
Tant que le voile n’est pas brisé, la Volonté des personnes affectées augmente de @{Eisvogel|repeating_magic-aspected-skills_-Lk-Hga0BioOZVTROln9_magic_aspected_skilllevel} points.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
Un voile recouvre les alliés aux alentours, protégeant des dégâts et renforçant leur volonté.
|
||||
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,117 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">Characters/frene.ini</span>
|
||||
<span class="bold"><span class="f4">[start]</span></span>
|
||||
!setattr --name Jinyah --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --mana|@{Jinyah|mana|max} --pctreceived_b|0 --pctreceived_s|0 --general_item_shield3|[[floor(@{Jinyah|repeating_magic-aspected-skills_-Lk-H3by-ofAR9GZF4QH_magic_aspected_skilllevel}*(@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot})/@{God|b_garde_aspect})]] --colere_stacks|[[@{Jinyah|repeating_magic-aspected-skills_-Lk-H4mC0xWsyjFR0rGK_magic_aspected_skilllevel}@{God|b_colere_max}]] --elem_omega|0 --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
/w Jinyah Début du combat
|
||||
/w Jinyah Si vous ne pouvez plus agir, votre aspect gagne [[floor(@{Jinyah|repeating_magic-aspected-skills_-Lk-H0A4ZvDP4YcBL1NS_magic_aspected_skilllevel}@{God|b_simulation_aspect})]] actions supplémentaires jusqu'à la reprise de contrôle du personnage.
|
||||
/w Jinyah Reduit les dégats subits de [[floor(@{Jinyah|repeating_magic-aspected-skills_-Lk-H3by-ofAR9GZF4QH_magic_aspected_skilllevel}*(@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})/@{God|b_garde_aspect})]]
|
||||
/w Jinyah @{Jinyah|repeating_magic-aspected-skills_-Lk-H7EpWwfDnT1p0ZH7_magic_aspected_skilllevel} fois par combat, si le personnage devrait subir des dégâts létaux, Stase Cryogénique est utilisé sur lui-même a la place.
|
||||
/w Jinyah Il vous reste @{Jinyah|repeating_magic-aspected-skills_-Lk-H4mC0xWsyjFR0rGK_magic_aspected_skilllevel} utilisations de **[Colere de l'Aspect]**
|
||||
<span class="bold"><span class="f4">[turn]</span></span>
|
||||
!setattr --name Jinyah --Life_Points|[[{@{Jinyah|Life_Points}+floor(@{Jinyah|regen}*@{Jinyah|pcthealing}/100)-1*(@{Jinyah|dot}),@{Jinyah|Life_Points|max}}kl1]] --mana|[[{@{Jinyah|mana}+floor((@{Jinyah|base-psyche}+@{Eisvogel|base-psyche})/2+@{Jinyah|magic_skilllevel_vortex_mana}+@{Eisvogel|magic_skilllevel_vortex_mana}),@{Jinyah|mana|max}}kl1]]
|
||||
<span class="bold"><span class="f4">[parade_brute_macro]</span></span>
|
||||
!crit ?{Nombre de des de defense} I @{Jinyah|skillcost_Defense_impenetrable} @{Jinyah|general_effective_Defense_impenetrable} R @{Jinyah|general_effective_Rempart_parfait} c @{Jinyah|crit_level} S @{Jinyah|general_skilllevel_Encaissement} @{Jinyah|general_effective_Encaissement} H @{Jinyah|base_defense_dices} H @{Jinyah|exal_defense_dices} s @{Jinyah|general_defense_threshold} l @{Jinyah|general_defense_addall} A @{Jinyah|Skill_general_attribute_select_defense} t @{Jinyah|transcendence} - ?{Dégats a parer|0} a d n @{Jinyah|undescored_name} + @{Jinyah|general_item_shield3} v @{Jinyah|pctreceived} v @{Jinyah|pctreceived_s} v @{Jinyah|pctreceived_b} v @{Jinyah|temp_pdef} + @{Jinyah|temp_def} ?{Type d'attaque|Magique,+ @{Jinyah|general_skilllevel_res_magique_effective} v @{Jinyah|res_magique_pct}|Voile,+ @{Jinyah|general_skilllevel_res_voile_effective} v @{Jinyah|res_voile_pct}|Divine,+ @{Jinyah|general_skilllevel_res_divine_effective} v @{Jinyah|res_divine_pct}|Existence,0|Physique,+ @{Jinyah|general_skilllevel_res_physique_effective} v @{Jinyah|res_physique_pct}} + @{Jinyah|general_skilllevel_res_omega_effective} v @{Jinyah|res_omega_pct}
|
||||
!setattr --charid @{Jinyah|character_id} --temp_pdef|0 --temp_def|0
|
||||
<span class="bold"><span class="f4">[refresh_marques]</span></span>
|
||||
!token-mod --ignore-selected --set statusmarkers|frozen-orb:[[@{target|target|frostdamage}]]|bolt-shield:[[@{target|target|frostshield}]] --ids @{target|target|token_id}
|
||||
!setattr --charid @{target|target|character_id} --pctreceived_b|[[@{target|target|frostdamage}*floor((((@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega}))/2)/@{God|b_morsure_hiver})-@{target|target|frostshield}*floor((((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_bois_tot}/2+@{Eisvogel|elem_bois_tot}+@{Jinyah|elem_omega}))/2)/@{God|b_robustesse_hiver})]]
|
||||
<span class="bold"><span class="f4">[set_marques]</span></span>
|
||||
!setattr --name @{target|target|character_name} ?{Changement|Robustesse de l'hiver, --frostshield|Morsure de l'hiver, --frostdamage}|[[{?{Valeur },@{Jinyah|repeating_magic-aspected-skills_-Lk-DqcizrsE0yPbyAb7_magic_aspected_skilllevel}}kl1]]
|
||||
<span class="bold"><span class="f4">[morsure_hiver]</span></span>
|
||||
/w Jinyah Durent jusqu'a la fin du combat, et peuvent stacker jusqu'a @{Jinyah|repeating_magic-aspected-skills_-Lk-DqcizrsE0yPbyAb7_magic_aspected_skilllevel} fois. Ces marques augmentent de [[floor((((@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega}))/2)/@{God|b_morsure_hiver})]]&#37; les dégats subit
|
||||
@{target|target|character_name} est sous l'effet Morsure de l'Hiver et prend des dégâts supplémentaires
|
||||
<span class="bold"><span class="f4">[robustesse_hiver]</span></span>
|
||||
/w Jinyah Durent jusqu'a la fin du combat, et peuvent stacker jusqu'a [[@{Jinyah|repeating_magic-aspected-skills_-Lk-DqcizrsE0yPbyAb7_magic_aspected_skilllevel}]] fois. Ces marques reduisent de [[floor((((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_bois_tot}/2+@{Eisvogel|elem_bois_tot}+@{Jinyah|elem_omega}))/2)/@{God|b_robustesse_hiver})]]&#37; les dégats subits
|
||||
@{target|target|character_name} est sous l'effet Robustesse de l'Hiver et subit donc moins de dégâts.
|
||||
<span class="bold"><span class="f4">[revigoration]</span></span>
|
||||
!setattr --name Jinyah --mod --mana|-2
|
||||
**Revigoration** [Coût : 2] Soigne @{target|target|character_name} de [[floor(@{target|pcthealing}*@{target|target|frostshield}*@{Jinyah|repeating_magic-aspected-skills_-Lk-Gm0UQajXFD5z2zat_magic_aspected_skilllevel}*(@{Jinyah|elem_eau_tot}/2+@{Eisvogel|elem_eau_tot}+@{Jinyah|elem_omega})*@{God|b_revigoration}/100)]] points de vie.
|
||||
[Appliquer le soin](!&#13;#healit [[floor(@{target|pcthealing}*@{target|target|frostshield}*@{Jinyah|repeating_magic-aspected-skills_-Lk-Gm0UQajXFD5z2zat_magic_aspected_skilllevel}*(@{Jinyah|elem_eau_tot}/2+@{Eisvogel|elem_eau_tot}+@{Jinyah|elem_omega})*@{God|b_revigoration}/100)]])
|
||||
<span class="bold"><span class="f4">[transfert_froid]</span></span>
|
||||
!setattr --name Jinyah --mod --mana|-3
|
||||
**Transfert de Froid** [Coût : 3] Test DD+[[floor((@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})/@{God|b_transfert})]] pour resister. Transfère jusqu'à @{Jinyah|repeating_magic-aspected-skills_-Lk-Gn2T4CvHCEcxPHaZ_magic_aspected_skilllevel} effets Morsure de l'hiver d'une cible ennemie vers une autre au choix.
|
||||
<span class="bold"><span class="f4">[symbiose_aspect]</span></span>
|
||||
!setattr --name Jinyah --mod --mana|-1
|
||||
/w Jinyah Appliquez jusqu'a @{Jinyah|repeating_magic-aspected-skills_-Lk-GphCfAF2s1firmtm_magic_aspected_skilllevel} marques de Robustesse de l'Hivers a un allié au choix, Appliquez @{Jinyah|repeating_magic-aspected-skills_-Lk-GphCfAF2s1firmtm_magic_aspected_skilllevel} marques de Morsure de l'Hivers sur un ennemi au choix. DD+[[floor((@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})*@{God|b_symbiose})]]
|
||||
<span class="bold"><span class="f4">[colere_aspect]</span></span>
|
||||
!setattr --name Jinyah --mod --mana|-0
|
||||
!setattr --name Jinyah --mana|[[{@{Jinyah|mana}+floor(@{target|target|frostdamage}*@{Jinyah|repeating_magic-aspected-skills_-Lk-H4mC0xWsyjFR0rGK_magic_aspected_skilllevel}*(@{Jinyah|elem_eau_tot}/2+@{Eisvogel|elem_eau_tot}+@{Jinyah|elem_omega})/@{God|b_colere_aspect}), @{Jinyah|mana|max}}kl1]] --colere_stacks|[[@{Jinyah|colere_stacks}-1]]
|
||||
!setattr --name @{target|target|character_name} --frostdamage|0
|
||||
/w Jinyah Il vous reste [[@{Jinyah|colere_stacks}-1]] utilisations de **[Colere de l'aspect]**
|
||||
**Colère de l'aspect** [Coût : 0] Régenère [[floor(@{target|target|frostdamage}*@{Jinyah|repeating_magic-aspected-skills_-Lk-H4mC0xWsyjFR0rGK_magic_aspected_skilllevel}*(@{Jinyah|elem_eau_tot}/2+@{Eisvogel|elem_eau_tot}+@{Jinyah|elem_omega})/@{God|b_colere_aspect})]] points de Mana en drainant les marques de @{target|target|character_name}.
|
||||
Jinyah se couvre de froid et regagne du Mana.
|
||||
<span class="bold"><span class="f4">[armure_givre]</span></span>
|
||||
**Armure de Givre** [Coût : 8] Crée un bouclier mitigeant jusqu'a [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HFQx4xIxRZTRebBS_magic_aspected_skilllevel}*(@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})*@{God|b_armure_givre})]]
|
||||
!setattr --name Jinyah --mod --mana|-8
|
||||
@{target|target|character_name} reçoit un bouclier de Givre ainsi que [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HFQx4xIxRZTRebBS_magic_aspected_skilllevel}-1]] marques Robustesse de l'Hiver supplementaire.
|
||||
<span class="bold"><span class="f4">[rayon_glace]</span></span>
|
||||
!setattr --name Jinyah --mod --mana|-4
|
||||
**Rayon** [Coût : 4] Envoie un rayon de Glace vers @{target|target|character_name}. Dodge DD+[[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HKdLOZtOyW28mQ5v_magic_aspected_skilllevel}]]. Inflige [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HKdLOZtOyW28mQ5v_magic_aspected_skilllevel}*((@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))*@{God|b_rayon_glace_dmg})]] dégâts. Si cette attaque inflige des dégats, elle inflige [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HKdLOZtOyW28mQ5v_magic_aspected_skilllevel}*@{God|b_rayon_glace})]] effets Morsure de l’Hiver supplémentaires.
|
||||
<span class="bold"><span class="f4">[stase_cryogenique]</span></span>
|
||||
**Stase Cryogénique** [Coût : 6] Test DD+[[floor((@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})/@{God|b_stase_cc})]]. Régénère [[floor(@{target|target|frostshield}*@{Eisvogel|repeating_magic-aspected-skills_-Lk-HKdLOZtOyW28mQ5v_magic_aspected_skilllevel}*(@{Jinyah|elem_eau_tot}/2+@{Eisvogel|elem_eau_tot}+@{Jinyah|elem_omega})*@{God|b_stase_cryogenique})]] points de vie.
|
||||
!setattr --name @{target|target|character_name} --Life_Points|[[{@{target|target|Life_Points}+floor(@{target|target|frostshield}*@{Eisvogel|repeating_magic-aspected-skills_-Lk-HKdLOZtOyW28mQ5v_magic_aspected_skilllevel}*(@{Jinyah|elem_eau_tot}/2+@{Eisvogel|elem_eau_tot}+@{Jinyah|elem_omega})*@{God|b_stase_cryogenique}),@{target|target|Life_Points|max}}kl1]]
|
||||
!setattr --name Jinyah --mod --mana|-6
|
||||
@{target|target|character_name} ne peut pas agir jusqu'à son prochain tour et ne prendra pas de dégâts.
|
||||
<span class="bold"><span class="f4">[brume_gelee]</span></span>
|
||||
**Brume gelée** [Coût : 9] Augmente les seuils pour toucher des attaques de [[floor(((@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_metal_tot}/2+@{Eisvogel|elem_metal_tot}+@{Jinyah|elem_omega}))/@{God|b_brume_gelee})]] pendant @{Eisvogel|repeating_magic-aspected-skills_-Lk-HO1ii7biiKBDKj6n_magic_aspected_skilllevel} tours
|
||||
!setattr --name Jinyah --mod --mana|-9
|
||||
/w Jinyah [Placer la brume](!&#13;#place_aoe Fog)
|
||||
Une brume gelée apparaît, recouvre une zone de [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HO1ii7biiKBDKj6n_magic_aspected_skilllevel}*@{God|b_brume_gelee}]] metres handicapant la vision des ennemis et donnant un effet Robustesse de l’hiver aux alliés à l’intérieur chaque tour. La Brume dure @{Eisvogel|repeating_magic-aspected-skills_-Lk-HO1ii7biiKBDKj6n_magic_aspected_skilllevel} tours.
|
||||
<span class="bold"><span class="f4">[mur_reflechissant]</span></span>
|
||||
**Mur réfléchissant** [Coût : 8] Crée un mur de [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HQ4iwZ5QDsheGnmI_magic_aspected_skilllevel}*@{God|b_mur_size_h}]] metres de haut, [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HQ4iwZ5QDsheGnmI_magic_aspected_skilllevel}]] metres d'épaisseur et [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HQ4iwZ5QDsheGnmI_magic_aspected_skilllevel}*@{God|b_mur_size}]] mètres de large. Bloque toutes les attaques physiques à hauteur de [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HQ4iwZ5QDsheGnmI_magic_aspected_skilllevel}*((@{Jinyah|elem_terre_tot}/2+@{Eisvogel|elem_terre_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega}))*@{God|b_mur})]] dégâts et tout les dégâts magiques a hauteur de [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HQ4iwZ5QDsheGnmI_magic_aspected_skilllevel}*((@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega}))*@{God|b_mur})]] dégâts le mur possède [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HQ4iwZ5QDsheGnmI_magic_aspected_skilllevel}*((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_bois_tot}/2+@{Eisvogel|elem_bois_tot}+@{Jinyah|elem_omega}))*@{God|b_mur_hp})]] points de vie par 2³.
|
||||
!setattr --name Jinyah --mod --mana|-8
|
||||
/w Jinyah [Placer le mur](!&#13;#place_aoe Icewall)
|
||||
Un mur de Glace apparaît, protégeant des attaques à venir.
|
||||
<span class="bold"><span class="f4">[vague_glace]</span></span>
|
||||
**Vague de Glace** [Coût : 3] Dodge DD+[[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HR949Z-LVJ-tgb3C_magic_aspected_skilllevel}]], cone de 30 degrés sur [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HR949Z-LVJ-tgb3C_magic_aspected_skilllevel}*@{God|b_vague_glace}]] mètres. Résistance à l'effet DD+[[floor((@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})/@{God|b_vague_glace_cc})]]. CC dure autant de tours que les degrés d'échec. Peut etre retenté chaque tour avec un DD inferieur.
|
||||
!setattr --name Jinyah --mod --mana|-3
|
||||
/w Jinyah Placer l'AOE [&nabla;](!&#13;#direction_aoe Vague_glace) [✸](!&#13;#place_aoe Vague_glace)
|
||||
Une vague de Glace part de Jinyah, entravant tout ennemi pris dedans.
|
||||
<span class="bold"><span class="f4">[etreinte_glaciale]</span></span>
|
||||
!setattr --name Jinyah --mod --mana|-7
|
||||
**Etreinte Glaciale** [Coût : 7] Resistance DD+[[floor((@{Jinyah|elem_magma_tot}/2+@{Eisvogel|elem_metal_tot}+@{Jinyah|elem_omega})/@{God|b_etreinte_glaciale_res})]]. Inflige [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HTf54N8R6eNDEwxc_magic_aspected_skilllevel}*@{target|target|frostdamage}*((@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))/@{God|b_etreinte_glaciale})]] dégâts par tour à @{target|target|character_name} jusqu'à perte des marques de Morsure.
|
||||
<span class="bold"><span class="f4">[benediction_hiver]</span></span>
|
||||
!setattr --name Jinyah --mod --mana|-6
|
||||
!setattr --name @{target|target|character_name} --mod --temp_pdmg|[[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HXdpOLN295YW3N0p_magic_aspected_skilllevel}*(@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})*@{target|target|frostshield}/@{God|b_benediction_hivers})]]
|
||||
**Bénédiction de l'Hiver** [Coût : 6] @{target|target|character_name} reçoit une bénédiction de Givre. Sa prochaine action infligera [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HXdpOLN295YW3N0p_magic_aspected_skilllevel}*(@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})*@{target|target|frostshield}/@{God|b_benediction_hivers})]]&#37; dégats supplémentaires.
|
||||
<span class="bold"><span class="f4">[blizzard]</span></span>
|
||||
!setattr --name Jinyah --mod --mana|-7
|
||||
/w Jinyah [Placer le blizzard](!&#13;#place_aoe Freeze)
|
||||
**Blizzard** [Coût : 7] Invoque un blizzard dans une zone de [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HZdpjSmhjPPyclyE_magic_aspected_skilllevel}*@{God|b_blizzard_size})]] mètres de rayon qui inflige [[floor(((@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))*@{God|b_blizzard})]] par tour, dure @{Eisvogel|repeating_magic-aspected-skills_-Lk-HZdpjSmhjPPyclyE_magic_aspected_skilllevel} tours
|
||||
<span class="bold"><span class="f4">[dome_hiver]</span></span>
|
||||
**Dôme de l'Hiver** [Coût : 12] Dôme canalisé dans un cercle de [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HZShTmq5wdHs0Ug3_magic_aspected_skilllevel}*@{God|b_dome_hivers_size}]] metres de rayon autour du lanceur. Réduit les dégâts subis de [[{floor(((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))*@{God|b_dome_hivers_prot}),89+@{Eisvogel|repeating_magic-aspected-skills_-Lk-HZShTmq5wdHs0Ug3_magic_aspected_skilllevel}}kl1]]&#37;, et génère un bouclier protégeant de [[floor((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})*@{God|b_dome_hivers_shield})]] points de dégats au début de chaque tour. Dure jusqu'a @{Eisvogel|repeating_magic-aspected-skills_-Lk-HZShTmq5wdHs0Ug3_magic_aspected_skilllevel} tours. (Canalisé)
|
||||
!setattr --name Jinyah --mod --mana|-12
|
||||
/w Jinyah [Placer le dome](!&#13;#place_aoe Dome)
|
||||
[Ajouter Resistance](!&#13;#dmg_received [[{floor(((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))*@{God|b_dome_hivers_prot}),89+@{Eisvogel|repeating_magic-aspected-skills_-Lk-HZShTmq5wdHs0Ug3_magic_aspected_skilllevel}}kl1]])
|
||||
[Enlever Resistance](!&#13;#dmg_received [[-1*{floor(((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))*@{God|b_dome_hivers_prot}),89+@{Eisvogel|repeating_magic-aspected-skills_-Lk-HZShTmq5wdHs0Ug3_magic_aspected_skilllevel}}kl1]])
|
||||
<span class="bold"><span class="f4">[hiver_sans_fin]</span></span>
|
||||
!setattr --name Jinyah --mod --mana|-4
|
||||
!setattr --name Jinyah --elem_omega|[[{@{Jinyah|elem_omega}+floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HaVh4E6T6BvNJZu-_magic_aspected_skilllevel}*@{Jinyah|frostshield}*((@{Jinyah|elem_vapeur_tot}/2+@{Eisvogel|elem_vapeur_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_metal_tot}/2+@{Eisvogel|elem_metal_tot}+@{Jinyah|elem_omega}))/60), @{Eisvogel|repeating_magic-aspected-skills_-Lk-HaVh4E6T6BvNJZu-_magic_aspected_skilllevel}*@{God|b_omega_max}}kl1]]
|
||||
!setattr --name Jinyah --frostshield|0
|
||||
**Hiver sans fin** [Coût : 4] Votre affinité *Omega* augmente de [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-HaVh4E6T6BvNJZu-_magic_aspected_skilllevel}*@{Jinyah|frostshield}*((@{Jinyah|elem_vapeur_tot}/2+@{Eisvogel|elem_vapeur_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_metal_tot}/2+@{Eisvogel|elem_metal_tot}+@{Jinyah|elem_omega}))/60)]] jusqu'à la fin du combat.
|
||||
<span class="bold"><span class="f4">[bourrasque_gelee]</span></span>
|
||||
!setattr --name Jinyah --mod --mana|-3
|
||||
/w Jinyah [Placer la Bourrasque](!&#13;#place_aoe Freeze)
|
||||
**Bourrasque gelée** [Coût : 3] Inflige [[floor(((@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega})+@{Eisvogel|repeating_magic-aspected-skills_-Lk-HdJw9y7nRiMbXl8s_magic_aspected_skilllevel})*@{God|b_bourrasque_dmg})]] dégâts sur une zone de [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-HdJw9y7nRiMbXl8s_magic_aspected_skilllevel}*@{God|b_bourrasque_size}]] mètres autours de vous, et tente de repousser les ennemis. DD+[[floor((@{Jinyah|elem_terre_tot}/2+@{Eisvogel|elem_terre_tot}+@{Jinyah|elem_omega})*@{God|b_bourrasque})]].
|
||||
<span class="bold"><span class="f4">[explosion_glace]</span></span>
|
||||
**Explosion de Glace** [Coût : 13] Les fragments de glace autour de @{target|T1|character_name} explosent, manifestant une énorme explosion de glace qui inflige [[floor((@{Eisvogel|repeating_magic-aspected-skills_-Lk-HfYpl0l1uj9dUqVC_magic_aspected_skilllevel}+@{God|b_explosion_base})*((@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))*@{target|T1|frostdamage}*@{God|b_explosion_dmg})]] dégats a la cible, et inflige [[floor((@{Eisvogel|repeating_magic-aspected-skills_-Lk-HfYpl0l1uj9dUqVC_magic_aspected_skilllevel}+@{God|b_explosion_base})*((@{Jinyah|elem_feu_tot}/2+@{Eisvogel|elem_feu_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_glace_tot}/2+@{Eisvogel|elem_glace_tot}+@{Jinyah|elem_omega}))*@{target|T1|frostdamage}*@{God|b_explosion_dmg_aoe})]] dégats que dans une zone de [[floor(@{target|T1|frostdamage}*@{God|b_explosion_size})]] mètres autour d'elle. La cible perd tous ses effets Morsure de l'Hiver.
|
||||
!setattr --charid @{target|T1|character_id} --frostdamage|0
|
||||
!setattr --name Jinyah --mod --mana|-13
|
||||
/w Jinyah Tous les cibles prises dans l'explosion prennent des dégâts et subissent jusqu'a @{Eisvogel|repeating_magic-aspected-skills_-Lk-HfYpl0l1uj9dUqVC_magic_aspected_skilllevel} effets Morsure de l'Hiver. La cible ne peut subir des marques jusqu'a la fin du tour.
|
||||
/w Jinyah [Placer l'explosion](!&#13;#place_aoe Freeze)
|
||||
<span class="bold"><span class="f4">[voile_aurore]</span></span>
|
||||
**Voile de l'aurore** [Coût : 10] Toutes les cibles affectées par un effet *Robustesse de l'Hiver* recoivent une protection de [[floor((@{Eisvogel|repeating_magic-aspected-skills_-Lk-Hga0BioOZVTROln9_magic_aspected_skilllevel}+@{God|b_voile_aurore_base})*((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_bois_tot}/2+@{Eisvogel|elem_bois_tot}+@{Jinyah|elem_omega}))*@{God|b_voile_aurore})]] sur la prochaine attaque. Tant qu'ils ont des marques de *Robustesse de l'Hiver* ils beneficient d'un bonus de [[floor(@{Eisvogel|repeating_magic-aspected-skills_-Lk-Hga0BioOZVTROln9_magic_aspected_skilllevel}*(@{Jinyah|elem_vapeur_tot}/2+@{Eisvogel|elem_vapeur_tot}+@{Jinyah|elem_omega})*@{God|b_voile_aurore_buff})]] en volonté (cet effet est cumulable jusqu'a [[@{Eisvogel|repeating_magic-aspected-skills_-Lk-Hga0BioOZVTROln9_magic_aspected_skilllevel}+1]] fois)
|
||||
!setattr --name Jinyah --mod --mana|-10
|
||||
[Protection de l'aurore](!&#13;#aurore [[floor((@{Eisvogel|repeating_magic-aspected-skills_-Lk-Hga0BioOZVTROln9_magic_aspected_skilllevel}+@{God|b_voile_aurore_base})*((@{Jinyah|elem_air_tot}/2+@{Eisvogel|elem_air_tot}+@{Jinyah|elem_omega})+(@{Jinyah|elem_bois_tot}/2+@{Eisvogel|elem_bois_tot}+@{Jinyah|elem_omega}))*@{God|b_voile_aurore})]])
|
||||
Un voile recouvre les alliés aux alentours, protégeant des dégâts et renforçant leur volonté.
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">Liste des fichiers</span>
|
||||
<span class="bold"><a href="./frene.html">› Frene</a></span>
|
||||
<span class="bold"><a href="./frene_macro.html">› Frene_Macro</a></span>
|
||||
<span class="bold"><a href="./npc.html">› Npc</a></span>
|
||||
<span class="bold"><a href="./npc_macro.html">› Npc_Macro</a></span>
|
||||
<span class="bold"><a href="./reginald.html">› Reginald</a></span>
|
||||
<span class="bold"><a href="./reginald_macro.html">› Reginald_Macro</a></span>
|
||||
<span class="bold"><a href="./tian.html">› Tian</a></span>
|
||||
<span class="bold"><a href="./tian_macro.html">› Tian_Macro</a></span>
|
||||
<span class="bold"><a href="./voile.html">› Voile</a></span>
|
||||
<span class="bold"><a href="./voile_macro.html">› Voile_Macro</a></span>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">Characters/npc.ini</span>
|
||||
<span class="bold"><span class="f4">[start]</span></span>
|
||||
!setattr --sel --momentum|0 --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --mana|@{selected|mana|max} --pctreceived_b|0 --pctreceived_s|0 --elem_omega|0 --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
/w gm Initialisation de @{selected|character_name}
|
||||
<span class="bold"><span class="f4">[turn]</span></span>
|
||||
!setattr --sel --Life_Points|[[{@{selected|Life_Points}+floor(@{selected|regen}*@{selected|pcthealing}/100)-1*(@{selected|dot}),@{selected|Life_Points|max}}kl1]] --shield|[[{@{selected|shield}+@{selected|shieldregen},@{selected|shield|max}}]]
|
||||
/w gm Tour de @{selected|character_name}
|
||||
<span class="bold"><span class="f4">[attaque_macro]</span></span>
|
||||
!crit ?{Nombre de des d'attaque|0} P @{selected|general_effective_Perfection} c @{selected|crit_level} M @{selected|skillcost_Technique_martiale} @{selected|general_effective_Technique_martiale} E @{selected|skillcost_Exploiter_les_points_faibles} @{selected|general_effective_Exploiter_les_points_faibles} F @{selected|general_effective_Fauchage} D @{selected|general_effective_Coup_dechirant} H @{selected|base_damage_dices} H @{selected|exal_damage_dices} A @{selected|Skill_general_attribute_select_attaque} s @{selected|general_attack_threshold} l @{selected|general_attack_addall} a a n @{selected|undescored_name} + @{selected|additional_damage_dices} + @{selected|general_effective_weapon1} + @{selected|general_effective_weapon2} t @{selected|transcendence} + @{selected|general_effective_weapon3} f @{selected|pctinflicted} f @{selected|pctinflicted_s} f @{selected|pctinflicted_b} + @{selected|temp_dmg} f @{selected|temp_pdmg}
|
||||
!setattr --charid @{selected|character_id} --temp_pdmg|0 --temp_dmg|0
|
||||
<span class="bold"><span class="f4">[esquive_macro]</span></span>
|
||||
!crit ?{Nombre de des d'esquive|0} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} H @{selected|base_dodge_dices} A @{selected|Skill_general_attribute_select_dodge} t @{selected|transcendence} s ?{selected|Seuil d'esquive|0} - ?{Dégats a esquiver|0} a e n @{selected|undescored_name} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} + @{selected|temp_esq}
|
||||
!setattr --charid @{selected|character_id} --temp_esq|0
|
||||
<span class="bold"><span class="f4">[parade_macro]</span></span>
|
||||
!crit ?{Nombre de des de defense|0} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} S @{selected|general_skilllevel_Encaissement} @{selected|general_effective_Encaissement} H @{selected|base_defense_dices} H @{selected|exal_defense_dices} s @{selected|general_defense_threshold} l @{selected|general_defense_addall} A @{selected|Skill_general_attribute_select_defense} t @{selected|transcendence} - ?{Dégats a parer|0} a d n @{selected|undescored_name} + @{selected|general_effective_shield1} + @{selected|general_effective_shield2} + @{selected|general_effective_shield3} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} v @{selected|temp_pdef} + @{selected|temp_def} ?{Type d'attaque|Magique,+ @{selected|general_skilllevel_res_magique_effective} v @{selected|res_magique_pct}|Voile,+ @{selected|general_skilllevel_res_voile_effective} v @{selected|res_voile_pct}|Divine,+ @{selected|general_skilllevel_res_divine_effective} v @{selected|res_divine_pct}|Existence,0|Physique,+ @{selected|general_skilllevel_res_physique_effective} v @{selected|res_physique_pct}} + @{selected|general_skilllevel_res_omega_effective} v @{selected|res_omega_pct}
|
||||
!setattr --charid @{selected|character_id} --temp_pdef|0 --temp_def|0
|
||||
<span class="bold"><span class="f4">[parade_brute_macro]</span></span>
|
||||
!crit ?{Nombre de des de defense} I @{selected|skillcost_Defense_impenetrable} @{selected|general_effective_Defense_impenetrable} R @{selected|general_effective_Rempart_parfait} c @{selected|crit_level} S @{selected|general_skilllevel_Encaissement} @{selected|general_effective_Encaissement} H @{selected|base_defense_dices} H @{selected|exal_defense_dices} s @{selected|general_defense_threshold} l @{selected|general_defense_addall} A @{selected|Skill_general_attribute_select_defense} t @{selected|transcendence} - ?{Dégats a parer|0} a d n @{selected|undescored_name} + @{selected|general_item_shield3} v @{selected|pctreceived} v @{selected|pctreceived_s} v @{selected|pctreceived_b} v @{selected|temp_pdef} + @{selected|temp_def} ?{Type d'attaque|Magique,+ @{selected|general_skilllevel_res_magique_effective} v @{selected|res_magique_pct}|Voile,+ @{selected|general_skilllevel_res_voile_effective} v @{selected|res_voile_pct}|Divine,+ @{selected|general_skilllevel_res_divine_effective} v @{selected|res_divine_pct}|Existence,0|Physique,+ @{selected|general_skilllevel_res_physique_effective} v @{selected|res_physique_pct}} + @{selected|general_skilllevel_res_omega_effective} v @{selected|res_omega_pct}
|
||||
!setattr --charid @{selected|character_id} --temp_pdef|0 --temp_def|0
|
||||
<span class="bold"><span class="f4">[tir_macro]</span></span>
|
||||
!crit ?{Nombre de des de tir|0} T @{selected|skillcost_Tir_precis} @{selected|general_effective_Tir_precis} i @{selected|general_effective_Tir_implacable} M @{selected|skillcost_Technique_martiale} @{selected|general_effective_Technique_martiale} E @{selected|skillcost_Exploiter_les_points_faibles} @{selected|general_effective_Exploiter_les_points_faibles} L @{selected|base_shoot_dices} c @{selected|crit_level} l @{selected|add_shoot_dices} t @{selected|transcendence} s ?{Seuil de tir|6} a a n @{selected|undescored_name} f @{selected|pctinflicted} f @{selected|pctinflicted_s} f @{selected|pctinflicted_b}
|
||||
<span class="bold"><span class="f4">[place_aoe]</span></span>
|
||||
!areasOfEffectApplyEffectAtToken @{target|token_id} ?{Specify radius:}
|
||||
<span class="bold"><span class="f4">[direction_aoe]</span></span>
|
||||
!areasOfEffectApplyEffectAtCone @{selected|token_id} ?{Specify radius:}
|
||||
<span class="bold"><span class="f4">[add-regen]</span></span>
|
||||
!setattr --charid @{target|T1|character_id} --mod --regen|[[?{Dégats }]]
|
||||
<span class="bold"><span class="f4">[add-dot]</span></span>
|
||||
!setattr --charid @{target|T1|character_id} --mod --dot|[[?{Dégats }]]
|
||||
<span class="bold"><span class="f4">[def_pct.t]</span></span>
|
||||
!setattr --mod --charid @{target|T1|character_id} --temp_pdef|?{&#37; Dégats reduits}
|
||||
<span class="bold"><span class="f4">[def_pct]</span></span>
|
||||
!setattr --mod --charid @{target|T1|character_id} --pctreceived|?{&#37; Dégats reduits}
|
||||
<span class="bold"><span class="f4">[dmg_pct.t]</span></span>
|
||||
!setattr --mod --charid @{target|T1|character_id} --temp_pdmg|?{&#37; Dégats supplementaire}
|
||||
<span class="bold"><span class="f4">[dmg_pct]</span></span>
|
||||
!setattr --mod --charid @{target|T1|character_id} --pctinflicted|?{&#37; Dégats supplementaire}
|
||||
<span class="bold"><span class="f4">[cond_list]</span></span>
|
||||
!ct show
|
||||
<span class="bold"><span class="f4">[seuil]</span></span>
|
||||
!setattr --sel --
|
||||
<span class="bold"><span class="f4">[def.threshold]</span></span>
|
||||
!setattr --charid @{target|T1|character_id} --general_defense_threshold|?{Seuil de defence}
|
||||
<span class="bold"><span class="f4">[dmg.threshold]</span></span>
|
||||
!setattr --charid @{target|T1|character_id} --general_attack_threshold|?{Seuil de defence}
|
||||
<span class="bold"><span class="f4">[resist]</span></span>
|
||||
&{template:d10skillcheck}{{name=@{selected|character_name}}} {{roll_name=Jet de résistance}} {{result=[[?{Type|Magique, @{selected|general_skilllevel_res_magique}|Physique, @{selected|general_skilllevel_res_physique}|Mentale, @{selected|general_skilllevel_res_mentale}|Voile, @{selected|general_skilllevel_res_voile}|Divine, @{selected|general_skilllevel_res_divine}|Existence, @{selected|general_skilllevel_res_omega}}+(?{Caractèristique|Volonté, @{selected|base-Volonte}+@{selected|exal-Volonte}|Force, @{selected|base-Force}+@{selected|exal-Force}|Spéciale, @{selected|base-custom}+@{selected|exal-custom}})-d?{Des|10}cs1]]}}
|
||||
<span class="bold"><span class="f4">[aurore]</span></span>
|
||||
!setattr --sel --mod --temp_def|
|
||||
<span class="bold"><span class="f4">[healit]</span></span>
|
||||
!setattr --charid @{target|character_id} --Life_Points|
|
||||
<span class="bold"><span class="f4">[heal]</span></span>
|
||||
!setattr --charid @{target|T1|character_id} --modb --Life_Points|[[@{target|T1|Life_Points}+floor(?{Soins|0}*@{target|T1|pcthealing}/100)]]
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,178 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold"><span class="f4">[Avancée] Pyroclasme [0]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Arcana
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**[Arcane Majeure: Pyroclasme]** Un incontrolable pyroclasme s'emparre de l'arcanum, se répendant de cible en cible. L'arcane touche [[[[floor(?{Magna Arcanum|0}*@{God|b_power_arcana}+1)]]d[[floor((@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})/8)]]]] cibles aléatoires supplémentaires
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Raz de marée [0]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Arcana
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
[Placer la zone](!&#13;#place_aoe Wave)
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Seisme [0]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Arcana
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
[Placer la zone](!&#13;#place_aoe Impact)
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Tornade [0]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Arcana
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
[Placer la zone](!&#13;#place_aoe Cyclone)
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**[Arcane Majeure: Tornade]** Une puissante tornade s'emparre de l'arcanum, radiant autour du lanceur sur une distance de [[[[floor(?{Magna Arcanum|0}*@{God|b_power_arcana}+1)]]d2+(@{Reginald|elem_air_tot}+@{Reginald|elem_omega})]] metres, laissant l'oeil du cyclone *([[floor((@{Reginald|elem_air_tot}+@{Reginald|elem_omega})/2)]] metres)* intact.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Suspension [0]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Arcana
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous pouver choisir un nombre de tours plus court a la création, mais ne pouvez le changer après cela
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**[Arcane Majeure: Suspension]** Votre arcanum est mise en suspens, prise dans la glace. L'arcanum s'activera au début d'un tour choisi entre le suivant et [[floor(([[floor(?{Magna Arcanum|0}*@{God|b_power_arcana}+(@{Reginald|elem_glace_tot}+@{Reginald|elem_omega}))]]d2)/4)]] tours.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Nuées ardentes [0]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Arcana
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**[Arcane Majeure: Nuées ardentes]** Une nuée ardante s'emparre de l'arcanum, démultipliant sa démence. Votre arcanum cible jusqu'a [[floor(([[floor((@{Reginald|elem_magma_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d2)/4)]] cibles supplémentaires.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Artificier [0]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Arcana
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**[Arcane Majeure: Artificier]** La main de l'artificier universel s'emparre de l'arcanum. Votre arcanum est désormais a votre disposition comme une réaction pour [[floor(([[floor((@{Reginald|elem_metal_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d2)/4)]] tours.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Corrosion [0]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Arcana
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**[Arcane Majeure: Corrosion]** Une essence corrosive transfigure l'arcanum. Celle-ci reste presente sous la forme d'un effet persistant pendant [[floor([[floor((@{Reginald|elem_vapeur_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d3/8)]] tours, infligeant un effet réduit.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Fraction d'instant [0]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Arcana
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**[Arcane Majeure: Fraction d'instant]** Une fulgurance s'empare de l'arcanum. Lancez cette derniere comme si elle avait [[[[((@{Reginald|elem_foudre_tot}+@{Reginald|elem_omega})+floor(?{Magna Arcanum|0}*@{God|b_power_arcana})/4)]]d4!]] d'initiative de plus.
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Arcanum Magnum : Aureola [16]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Arcana
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
**[Arcane Ultime : Aureola]** Si votre cible devait mourir ce tour ci, elle devient inciblable pendant une action a la place, elle récupére [[(@{Reginald|elem_eau_tot}+@{Reginald|elem_omega})*(@{Reginald|repeating_magic-arcanist-skills_-LkQOfa4fiV2tjKEmu7C_magic_arcanist_skilllevel}+3)]] points de vie. Si la cible est sous l'effet d'une ou plusieurs alterations d'état négatives, retirez les, et appliquez les soins normalement.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
Une auréole se forme au dessus de votre tête et une voix angélique vous murmure : "N'aie peur, car je suis a tes cotés; ne crains pas l'adversité car je suis ton alliée; la mort n'aura pas de prise sur toi tant que je serai là"
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Praeter Arcanum : Fluctus [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif/Reserve
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Quand vous lancez un arcanum, gagnez un points de flux. Cette ressource expire en [[@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}]] heures. Pour chaque point de flux que vous avez bénéficiez d'une reduction des dégats de [[@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}*0.13]]&#37; et une augmentation de toutes vos affinitées de [[floor(@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}*0.27)]]
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
&{template:default} {{name=Fluctus}} {{Total=[[@{Reginald|fluctus}]]}} {{Dégats reduits=[[-1*{floor((@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}+2)*0.13*@{Reginald|fluctus}),89+@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}}kl1]]}} {{Affinité=[[{floor(@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}*0.27*@{Reginald|fluctus}),20+@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}}kl1]]}}
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Arcanum Magnum : Diluvium [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Arcana | Empower
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Pour chaque arcanum posée ce tour-ci, dupliquez votre arcana. Faites jusqu'a [[4*@{Reginald|repeating_magic-arcanist-skills_-LkQWi6hcqVjtGkIkJZV_magic_arcanist_skilllevel}]] copies de la sorte.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**[Arcane Ultime : Diluvium]** Vous créez une tempete dans les arcanes, le réel se met a ployer sous le torrent d'energie que vous déployez.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Arcanum Altum : Tenacitas (Ténacité) [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Instant - Buff - Arcana
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Augmente toutes les defenses de la cible.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**[Arcane avancée : Tenacitas]** Un grand rai de lumière entoure @{target|target|character_name} augmentant ses defenses.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Praeter Arcanum : Marcor [16]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
Diminuez la régénération de la cible de [[[[floor(((@{Reginald|elem_magma_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})*4)]]d4r<2]] points
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Praeter Arcanum : Talionis [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Si vous effectuez une parade complete, vous pouvez lancer une arcanum comme une reaction, si vous ne le faites pas gagnez @{Reginald|repeating_magic-arcanist-skills_-LkQWtDwDDutHYZMeUfI_magic_arcanist_skilllevel} points de flux.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Praeter Arcanum : Capita [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Arcane personelle de défense, Utilise l'arcaniste lui même comme un Arcanum défensif dont la puissance défensive scale sur le nombre d'arcana investie.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
Augmentez vos defences de [[floor(((@{Reginald|elem_bois_tot}+@{Reginald|elem_omega})+@{Reginald|repeating_magic-arcanist-skills_-LkQWvCDiPLXAaxbS00K_magic_arcanist_skilllevel}*1.2)*-0.9)]]&#37; jusqu'a la fin du combat et gagnez un bouclier
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Praeter Arcanum : Navia [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Defaussez @{Reginald|repeating_magic-arcanist-skills_-LkQWx8UcCtpi7H00Sqo_magic_arcanist_skilllevel} cartes, Gagnez @{Reginald|repeating_magic-arcanist-skills_-LkQWx8UcCtpi7H00Sqo_magic_arcanist_skilllevel} points de flux
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Praeter Arcanum : Scientia [16]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
**[Arcane avancée : Scientia]** Nommez une carte, allez la chercher dans votre deck.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Praeter Arcanum : Despectio [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif | Buff
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
[Cout: 2] Reaction - Augmentez vos resistances pour la prochaine action de [[@{Reginald|repeating_magic-arcanist-skills_-LkQX-7OEF6WHkQtzrfQ_magic_arcanist_skilllevel}*1]]&#37; par carte en main.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Praeter Arcanum : Celeritas [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Vous pouvez jouer une arcanum en tant que réaction. Payez un cout en flux en tant que cout supplémentaire.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Il vous reste jusqu'à [[@{Reginald|celeritas_rem}]] utilisations ce tour-ci.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Inspiration [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Pioche @{Reginald|repeating_magic-arcanist-skills_-LlDufu7rs3DASaoHMiR_magic_arcanist_skilllevel}+1 carte au début du tour
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Grandeur [2]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Votre main peut contenir @{Reginald|repeating_magic-arcanist-skills_-LlDumsZJAUiKOWyYmCJ_magic_arcanist_skilllevel}+2 cartes
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Instinct [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Permet de garder @{Reginald|repeating_magic-arcanist-skills_-LlDupiroKLZ178dNUab_magic_arcanist_skilllevel} cartes hors combat
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Vivacite [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Pioche @{Reginald|repeating_magic-arcanist-skills_-LlDusTdSp8USpTbe0Z0_magic_arcanist_skilllevel} cartes par actions
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Incandescance [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Permet de bruler @{Reginald|repeating_magic-arcanist-skills_-LlDv0eJhZrBtn8bzu1c_magic_arcanist_skilllevel}+1 carte par tour (Defausse et repioche)
|
||||
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,125 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">Characters/reginald.ini</span>
|
||||
<span class="bold"><span class="f4">[elemental_damage]</span></span>
|
||||
?{Element utilisé|
|
||||
Eau, [Elemental Arcana : Eau] Reginald inflige [[[[floor((@{Reginald|elem_eau_tot}+@{Reginald|elem_omega})*@{God|b_elem}+(@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})+?{Magna Arcanum&#124;0&#125;*@{God|b_power_arcana})]]d@{God|b_power}]] dégats |
|
||||
Air, [Elemental Arcana : Air] Reginald inflige [[[[floor((@{Reginald|elem_air_tot}+@{Reginald|elem_omega})*@{God|b_elem}+(@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})+?{Magna Arcanum&#124;0&#125;*@{God|b_power_arcana})]]d@{God|b_power}]] dégats |
|
||||
Terre, [Elemental Arcana : Terre] Reginald inflige [[[[floor((@{Reginald|elem_terre_tot}+@{Reginald|elem_omega})*@{God|b_elem}+(@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})+?{Magna Arcanum&#124;0&#125;*@{God|b_power_arcana})]]d@{God|b_power}]] dégats |
|
||||
Feu, [Elemental Arcana : Feu] Reginald inflige [[[[floor((@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})*@{God|b_elem}+(@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})+?{Magna Arcanum&#124;0&#125;*@{God|b_power_arcana})]]d@{God|b_power}]] dégats |
|
||||
Glace, [Elemental Arcana : Glace] Reginald inflige [[[[floor((@{Reginald|elem_glace_tot}+@{Reginald|elem_omega})*@{God|b_elem}+(@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})+?{Magna Arcanum&#124;0&#125;*@{God|b_power_arcana})]]d@{God|b_power}]] dégats |
|
||||
Metal, [Elemental Arcana : Metal] Reginald inflige [[[[floor((@{Reginald|elem_metal_tot}+@{Reginald|elem_omega})*@{God|b_elem}+(@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})+?{Magna Arcanum&#124;0&#125;*@{God|b_power_arcana})]]d@{God|b_power}]] dégats |
|
||||
Magma, [Elemental Arcana : Magma] Reginald inflige [[[[floor((@{Reginald|elem_magma_tot}+@{Reginald|elem_omega})*@{God|b_elem}+(@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})+?{Magna Arcanum&#124;0&#125;*@{God|b_power_arcana})]]d@{God|b_power}]] dégats |
|
||||
Vapeur, [Elemental Arcana : Vapeur] Reginald inflige [[[[floor((@{Reginald|elem_vapeur_tot}+@{Reginald|elem_omega})*@{God|b_elem}+(@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})+?{Magna Arcanum&#124;0&#125;*@{God|b_power_arcana})]]d@{God|b_power}]] dégats |
|
||||
Bois, [Elemental Arcana : Bois] Reginald inflige [[[[floor((@{Reginald|elem_bois_tot}+@{Reginald|elem_omega})*@{God|b_elem}+(@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})+?{Magna Arcanum&#124;0&#125;*@{God|b_power_arcana})]]d@{God|b_power}]] dégats |
|
||||
Foudre, [Elemental Arcana : Foudre] Reginald inflige [[[[floor((@{Reginald|elem_foudre_tot}+@{Reginald|elem_omega})*@{God|b_elem}+(@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})+?{Magna Arcanum&#124;0&#125;*@{God|b_power_arcana})]]d@{God|b_power}]] dégats
|
||||
}
|
||||
<span class="bold"><span class="f4">[start]</span></span>
|
||||
!setattr --name Reginald --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --pctreceived_b|0 --pctreceived_s|0 --elem_omega|0 --fluctus|0|@{God|b_fluctus_max} --celeritas_rem|@{Reginald|repeating_magic-arcanist-skills_-LkQX0DClz2M8VxOowqB_magic_arcanist_skilllevel} --cylpeos_res|0 --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
/w Reginald &{template:default} {{name=Recap}} {{Pioche=[[@{Reginald|repeating_magic-arcanist-skills_-LlDufu7rs3DASaoHMiR_magic_arcanist_skilllevel}+1]]}} {{Main=[[@{Reginald|repeating_magic-arcanist-skills_-LlDumsZJAUiKOWyYmCJ_magic_arcanist_skilllevel}+2]] cartes}} {{Garde=[[@{Reginald|repeating_magic-arcanist-skills_-LlDupiroKLZ178dNUab_magic_arcanist_skilllevel}]]}} {{Repioche=[[@{Reginald|repeating_magic-arcanist-skills_-LlDv0eJhZrBtn8bzu1c_magic_arcanist_skilllevel}+1]] c/tour}}
|
||||
<span class="bold"><span class="f4">[parade_brute_macro]</span></span>
|
||||
!crit ?{Nombre de des de defense} I @{Reginald|skillcost_Defense_impenetrable} @{Reginald|general_effective_Defense_impenetrable} R @{Reginald|general_effective_Rempart_parfait} c @{Reginald|crit_level} S @{Reginald|general_skilllevel_Encaissement} @{Reginald|general_effective_Encaissement} H @{Reginald|base_defense_dices} H @{Reginald|exal_defense_dices} s @{Reginald|general_defense_threshold} l @{Reginald|general_defense_addall} A @{Reginald|Skill_general_attribute_select_defense} t @{Reginald|transcendence} - ?{Dégats a parer|0} a d n @{Reginald|undescored_name} + @{Reginald|general_effective_shield3} v @{Reginald|pctreceived} v @{Reginald|pctreceived_s} v @{Reginald|pctreceived_b} v @{Reginald|temp_pdef} v @{Reginald|cylpeos_res} + @{Reginald|temp_def} ?{Type d'attaque|Magique,+ @{Reginald|general_skilllevel_res_magique_effective} v @{Reginald|res_magique_pct}|Voile,+ @{Reginald|general_skilllevel_res_voile_effective} v @{Reginald|res_voile_pct}|Divine,+ @{Reginald|general_skilllevel_res_divine_effective} v @{Reginald|res_divine_pct}|Existence,0|Physique,+ @{Reginald|general_skilllevel_res_physique_effective} v @{Reginald|res_physique_pct}} + @{Reginald|general_skilllevel_res_omega_effective} v @{Reginald|res_omega_pct}
|
||||
!setattr --name Reginald --temp_pdef|0 --temp_def|0
|
||||
<span class="bold"><span class="f4">[parade_macro]</span></span>
|
||||
!crit ?{Nombre de des de defense} I @{Reginald|skillcost_Defense_impenetrable} @{Reginald|general_effective_Defense_impenetrable} R @{Reginald|general_effective_Rempart_parfait} c @{Reginald|crit_level} S @{Reginald|general_skilllevel_Encaissement} @{Reginald|general_effective_Encaissement} H @{Reginald|base_defense_dices} H @{Reginald|exal_defense_dices} s @{Reginald|general_defense_threshold} l @{Reginald|general_defense_addall} A @{Reginald|Skill_general_attribute_select_defense} t @{Reginald|transcendence} - ?{Dégats a parer|0} a d n @{Reginald|undescored_name} + @{Reginald|general_effective_shield1} + @{Reginald|general_effective_shield2} + @{Reginald|general_effective_shield3} v @{Reginald|pctreceived} v @{Reginald|pctreceived_s} v @{Reginald|pctreceived_b} v @{Reginald|temp_pdef} v @{Reginald|cylpeos_res} + @{Reginald|temp_def} ?{Type d'attaque|Magique,+ @{Reginald|general_skilllevel_res_magique_effective} v @{Reginald|res_magique_pct}|Voile,+ @{Reginald|general_skilllevel_res_voile_effective} v @{Reginald|res_voile_pct}|Divine,+ @{Reginald|general_skilllevel_res_divine_effective} v @{Reginald|res_divine_pct}|Existence,0|Physique,+ @{Reginald|general_skilllevel_res_physique_effective} v @{Reginald|res_physique_pct}} + @{Reginald|general_skilllevel_res_omega_effective} v @{Reginald|res_omega_pct}
|
||||
!setattr --charid @{Reginald|character_id} --temp_pdef|0 --temp_def|0
|
||||
<span class="bold"><span class="f4">[turn]</span></span>
|
||||
!setattr --name Reginald --Life_Points|[[{@{Reginald|Life_Points}+floor(@{Reginald|regen}*@{Reginald|pcthealing}/100)-1*(@{Reginald|dot}),@{Reginald|Life_Points|max}}kl1]]
|
||||
<span class="bold"><span class="f4">[zone]</span></span>
|
||||
L'arcane couvre une zone de [[[[?{Magna Arcanum|0}*@{God|b_power_arcana}+1]]d@{God|b_zone}]] metres
|
||||
/w Reginald [Placer la zone](!&#13;#place_aoe Arcana)
|
||||
<span class="bold"><span class="f4">[durée]</span></span>
|
||||
L'arcane dure [[(?{Magna Arcanum|0}*@{God|b_power_arcana}+1)@{God|b_duration}]] tours
|
||||
<span class="bold"><span class="f4">[eau:soin]</span></span>
|
||||
**Arcane d'Eau:** Votre arcanum soigne de [[floor(([[floor((@{Reginald|elem_eau_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_power})*@{God|b_heal})]]
|
||||
<span class="bold"><span class="f4">[air:bouclier]</span></span>
|
||||
**Arcane d'Air:** Votre arcanum protege de [[floor([[floor((@{Reginald|elem_air_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_power}*@{God|b_shield})]] points de boucliers
|
||||
<span class="bold"><span class="f4">[terre:cc_physique]</span></span>
|
||||
**Arcane de Terre:** Votre arcanum effectue une action de controle physique DD+[[floor([[floor((@{Reginald|elem_terre_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_cc}/@{God|b_cc_physique})]]
|
||||
<span class="bold"><span class="f4">[glace:cc_magique]</span></span>
|
||||
**Arcane de Glace:** Votre arcanum effectue une action de controle magique DD+[[floor([[floor((@{Reginald|elem_glace_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_cc}/@{God|b_cc_magique})]]
|
||||
<span class="bold"><span class="f4">[metal:buff_phy]</span></span>
|
||||
**Arcane de Metal:** Votre arcanum renforce une ou plusieurs caractéristique physiques de [[floor([[floor((@{Reginald|elem_metal_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_cc}/@{God|b_buff_phy})]]
|
||||
<span class="bold"><span class="f4">[metal:res_phy]</span></span>
|
||||
**Arcane de Metal:** Votre arcanum renforce une ou plusieurs resistances physiques de [[floor([[floor((@{Reginald|elem_metal_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_cc}/@{God|b_buff_phy_res})]]
|
||||
<span class="bold"><span class="f4">[magma:maladie]</span></span>
|
||||
**Arcane de Magma:** Votre arcanum inflige une affliction, infligeant [[floor([[floor((@{Reginald|elem_magma_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_cc}/@{God|b_maladie})]] dégats chaque tour.
|
||||
<span class="bold"><span class="f4">[vapeur:buff_mag]</span></span>
|
||||
**Arcane de Vapeur:** Votre arcanum renforce une ou plusieurs caractéristique magique de [[floor([[floor((@{Reginald|elem_metal_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_cc}/@{God|b_buff_mag})]]
|
||||
<span class="bold"><span class="f4">[vapeur:res_mag]</span></span>
|
||||
**Arcane de Vapeur:** Votre arcanum augmente une ou plusieurs resistances magiques de [[floor([[floor((@{Reginald|elem_vapeur_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_cc}/@{God|b_buff_mag_res})]]
|
||||
<span class="bold"><span class="f4">[bois:diminution_degats]</span></span>
|
||||
**Arcane de Bois:** Votre arcanum diminue les dégats infligés de [[floor([[floor((@{Reginald|elem_bois_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_cc}/@{God|b_diminution_degats})]]&#37;
|
||||
<span class="bold"><span class="f4">[bois:resistances]</span></span>
|
||||
**Arcane de Bois:** Votre arcanum augmente votre résistances aux dégats de [[floor([[floor((@{Reginald|elem_bois_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_cc}/@{God|b_diminution_degats_rec})]]&#37;
|
||||
<span class="bold"><span class="f4">[foudre:diminution_defences]</span></span>
|
||||
**Arcane de Foudre:** Votre arcanum augmente les dégats subits de [[floor([[floor((@{Reginald|elem_foudre_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_cc}/@{God|b_augmentation_degats})]]&#37;
|
||||
<span class="bold"><span class="f4">[foudre:diminution_shields]</span></span>
|
||||
**Arcane de Foudre:** Votre arcanum détruit les boucliers a hauteur de [[floor([[floor((@{Reginald|elem_foudre_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_cc}*@{God|b_diminution_shield})]]
|
||||
<span class="bold"><span class="f4">[major:pyroclasm]</span></span>
|
||||
**[Arcane Majeure: Pyroclasme]** Un incontrolable pyroclasme s'emparre de l'arcanum, se répendant de cible en cible. L'arcane touche [[[[floor(?{Magna Arcanum|0}*@{God|b_power_arcana}+1)]]d[[floor((@{Reginald|elem_feu_tot}+@{Reginald|elem_omega})/@{God|b_pyroclasme})]]]] cibles aléatoires supplémentaires
|
||||
<span class="bold"><span class="f4">[major:tidial_wave]</span></span>
|
||||
**[Arcane Majeure: Raz de marée]** Un raz de marée de puissance s'emparre de l'arcanum, se répandant en ligne droite engloutissant tout sur son passage. L'arcane s'étend sur [[[[floor((?{Magna Arcanum|0}*@{God|b_power_arcana}+(@{Reginald|elem_eau_tot}+@{Reginald|elem_omega}))*@{God|b_tidialwave})]]d@{God|b_d_tidialwave}]] metres de long et [[(@{Reginald|elem_eau_tot}+@{Reginald|elem_omega})+2d@{God|b_d_tidialwave}]] de large.
|
||||
/w Reginald [Placer la zone](!&#13;#place_aoe Wave)
|
||||
<span class="bold"><span class="f4">[major:earthquake]</span></span>
|
||||
**[Arcane Majeure: Seïsme]** Une onde sismique s'emparre de l'arcanum, radiant du lanceur sur une distance de [[[[floor(?{Magna Arcanum|0}*@{God|b_power_arcana}+(@{Reginald|elem_terre_tot}+@{Reginald|elem_omega}))]]d@{God|b_quake}]] metres, les cibles a une distance de [[(@{Reginald|elem_terre_tot}+@{Reginald|elem_omega})]] metres du lanceur subissent le double de l'effet de l'arcane.
|
||||
/w Reginald [Placer la zone](!&#13;#place_aoe Impact)
|
||||
<span class="bold"><span class="f4">[major:tornado]</span></span>
|
||||
/w Reginald [Placer la zone](!&#13;#place_aoe Cyclone)
|
||||
**[Arcane Majeure: Tornade]** Une puissante tornade s'emparre de l'arcanum, radiant autour du lanceur sur une distance de [[[[floor(?{Magna Arcanum|0}*@{God|b_power_arcana}+1)]]d@{God|b_tornado}+(@{Reginald|elem_air_tot}+@{Reginald|elem_omega})]] metres, laissant l'oeil du cyclone *([[floor((@{Reginald|elem_air_tot}+@{Reginald|elem_omega})/2)]] metres)* intact.
|
||||
<span class="bold"><span class="f4">[major:suspension]</span></span>
|
||||
/w Reginald Vous pouver choisir un nombre de tours plus court a la création, mais ne pouvez le changer après cela
|
||||
**[Arcane Majeure: Suspension]** Votre arcanum est mise en suspens, prise dans la glace. L'arcanum s'activera au début d'un tour choisi entre le suivant et [[floor(([[floor(?{Magna Arcanum|0}*@{God|b_power_arcana}+(@{Reginald|elem_glace_tot}+@{Reginald|elem_omega}))]]d2)/@{God|b_suspension})]] tours.
|
||||
<span class="bold"><span class="f4">[major:burning_ashes]</span></span>
|
||||
**[Arcane Majeure: Nuées ardentes]** Une nuée ardante s'emparre de l'arcanum, démultipliant sa démence. Votre arcanum cible jusqu'a [[floor(([[floor((@{Reginald|elem_magma_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d2)/@{God|b_burning})]] cibles supplémentaires.
|
||||
<span class="bold"><span class="f4">[major:artificer]</span></span>
|
||||
**[Arcane Majeure: Artificier]** La main de l'artificier universel s'emparre de l'arcanum. Votre arcanum est désormais a votre disposition comme une réaction pour [[floor(([[floor((@{Reginald|elem_metal_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d2)/@{God|b_artificer})]] tours.
|
||||
<span class="bold"><span class="f4">[major:corrosion]</span></span>
|
||||
**[Arcane Majeure: Corrosion]** Une essence corrosive transfigure l'arcanum. Celle-ci reste presente sous la forme d'un effet persistant pendant [[floor([[floor((@{Reginald|elem_vapeur_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})]]d@{God|b_d_corrosion}/@{God|b_corrosion})]] tours, infligeant un effet réduit.
|
||||
<span class="bold"><span class="f4">[major:incontrolable_growth]</span></span>
|
||||
**[Arcane Majeure: Croissance incontrolable]** Une croissance incontrolable s'emparre de l'arcanum. Celle-ci se relancera pendant [[[[floor((?{Magna Arcanum|0}*@{God|b_power_arcana}+(@{Reginald|elem_bois_tot}+@{Reginald|elem_omega}))/@{God|b_incontrolable})]]d3!!]] tours
|
||||
<span class="bold"><span class="f4">[major:split_second]</span></span>
|
||||
**[Arcane Majeure: Fraction d'instant]** Une fulgurance s'empare de l'arcanum. Lancez cette derniere comme si elle avait [[[[((@{Reginald|elem_foudre_tot}+@{Reginald|elem_omega})+floor(?{Magna Arcanum|0}*@{God|b_power_arcana})/@{God|b_split_sec})]]d@{God|b_d_split_sec}!]] d'initiative de plus.
|
||||
<span class="bold"><span class="f4">[aureola]</span></span>
|
||||
[Appliquer l'auréole](!&#13;#placer_aureole)
|
||||
/w Reginald **[Arcane Ultime : Aureola]** Si votre cible devait mourir ce tour ci, elle devient inciblable pendant une action a la place, elle récupére [[(@{Reginald|elem_eau_tot}+@{Reginald|elem_omega})*(@{Reginald|repeating_magic-arcanist-skills_-LkQOfa4fiV2tjKEmu7C_magic_arcanist_skilllevel}+3)]] points de vie. Si la cible est sous l'effet d'une ou plusieurs alterations d'état négatives, retirez les, et appliquez les soins normalement.
|
||||
Une auréole se forme au dessus de votre tête et une voix angélique vous murmure : "N'aie peur, car je suis a tes cotés; ne crains pas l'adversité car je suis ton alliée; la mort n'aura pas de prise sur toi tant que je serai là"
|
||||
<span class="bold"><span class="f4">[show_fluctus]</span></span>
|
||||
!setattr --name Reginald --pctreceived_s|[[-1*{floor((@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}+@{God|b_fluctus_base_res})*@{God|b_fluctus_res}*@{Reginald|fluctus}),89+@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}}kl1]] --elem_omega|[[{floor(@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}*@{God|b_fluctus_dmg}*@{Reginald|fluctus}),20+@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}}kl1]]
|
||||
/w Reginald &{template:default} {{name=Fluctus}} {{Total=[[@{Reginald|fluctus}]]}} {{Dégats reduits=[[-1*{floor((@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}+@{God|b_fluctus_base_res})*@{God|b_fluctus_res}*@{Reginald|fluctus}),89+@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}}kl1]]}} {{Affinité=[[{floor(@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}*@{God|b_fluctus_dmg}*@{Reginald|fluctus}),20+@{Reginald|repeating_magic-arcanist-skills_-LkQWgSHgZEPZZfjYA7Q_magic_arcanist_skilllevel}}kl1]]}}
|
||||
<span class="bold"><span class="f4">[gain_fluctus]</span></span>
|
||||
!setattr --name Reginald --fluctus|[[{@{Reginald|fluctus}+@{God|b_fluctus_gain},@{God|b_fluctus_max}}kl1]]
|
||||
<span class="bold"><span class="f4">[diluvium]</span></span>
|
||||
/w Reginald Pour chaque arcanum posée ce tour-ci, dupliquez votre arcana. Faites jusqu'a [[@{God|b_dilluvium}*@{Reginald|repeating_magic-arcanist-skills_-LkQWi6hcqVjtGkIkJZV_magic_arcanist_skilllevel}]] copies de la sorte.
|
||||
**[Arcane Ultime : Diluvium]** Vous créez une tempete dans les arcanes, le réel se met a ployer sous le torrent d'energie que vous déployez.
|
||||
<span class="bold"><span class="f4">[tenacitas]</span></span>
|
||||
!setattr --name @{target|target|character_name} --fb-from Reginald --fb-public --fb-header Tenacitas --fb-content L'arcane augmente les resistances de _CHARNAME_ de _TCUR0_ --pctreceived_s|[[{@{target|target|pctreceived_s}- floor((?{Magna Arcanum|0}*@{God|b_power_arcana}+(@{Reginald|elem_bois_tot}+@{Reginald|elem_omega}))*@{God|b_tenacitas}),-99}kh1]]
|
||||
**[Arcane avancée : Tenacitas]** Un grand rai de lumière entoure @{target|target|character_name} augmentant ses defenses.
|
||||
<span class="bold"><span class="f4">[major:marcor]</span></span>
|
||||
Diminuez la régénération de la cible de [[[[floor(((@{Reginald|elem_magma_tot}+@{Reginald|elem_omega})+?{Magna Arcanum|0}*@{God|b_power_arcana})*@{God|b_marcor})]]d@{God|b_marcor_d}]] points
|
||||
<span class="bold"><span class="f4">[talionis]</span></span>
|
||||
/w Reginald Si vous effectuez une parade complete, vous pouvez lancer une arcanum comme une reaction, si vous ne le faites pas gagnez @{Reginald|repeating_magic-arcanist-skills_-LkQWtDwDDutHYZMeUfI_magic_arcanist_skilllevel} points de flux.
|
||||
<span class="bold"><span class="f4">[major:cylpeos_varietas]</span></span>
|
||||
!setattr --name Reginald --cylpeos_res|[[floor(((@{Reginald|elem_bois_tot}+@{Reginald|elem_omega})+@{Reginald|repeating_magic-arcanist-skills_-LkQWvCDiPLXAaxbS00K_magic_arcanist_skilllevel}*@{God|b_cylpeos_pct})*@{God|b_cylpeos})]] --shield|[[{@{Reginald|shield}+floor((?{Magna Arcanum|0}*@{God|b_power_arcana}+(@{Reginald|elem_air_tot}+@{Reginald|elem_omega}))*@{God|b_cylpeos_shield}),@{Reginald|shield|max}}kl1]]
|
||||
Augmentez vos defences de [[floor(((@{Reginald|elem_bois_tot}+@{Reginald|elem_omega})+@{Reginald|repeating_magic-arcanist-skills_-LkQWvCDiPLXAaxbS00K_magic_arcanist_skilllevel}*@{God|b_cylpeos_pct})*@{God|b_cylpeos})]]&#37; jusqu'a la fin du combat et gagnez un bouclier
|
||||
<span class="bold"><span class="f4">[navia]</span></span>
|
||||
!setattr --name Reginald --mod --fluctus|[[?{Nombre de cartes a defausser ?}*@{God|b_navia}]]
|
||||
<span class="bold"><span class="f4">[scientia]</span></span>
|
||||
!setattr --name Reginald --mod --fluctus|?{Niveau de l'arcane | Base, [[-1*@{God|b_scientia}]] | Avancée, [[-2*@{God|b_scientia}]] | Ultime, [[-4*@{God|b_scientia}]]}
|
||||
/w Reginald **[Arcane avancée : Scientia]** Nommez une carte, allez la chercher dans votre deck.
|
||||
<span class="bold"><span class="f4">[despectio]</span></span>
|
||||
!setattr --name Reginald --fluctus|[[@{Reginald|fluctus}-@{God|b_despectio_cost}]] --temp_pdef|[[-1*{@{Reginald|repeating_magic-arcanist-skills_-LkQX-7OEF6WHkQtzrfQ_magic_arcanist_skilllevel}*?{Nombre de cartes en main}*@{God|b_despectio},99}kl1]]
|
||||
[Cout: @{God|b_despectio_cost}] Reaction - Augmentez vos resistances pour la prochaine action de [[@{Reginald|repeating_magic-arcanist-skills_-LkQX-7OEF6WHkQtzrfQ_magic_arcanist_skilllevel}*@{God|b_despectio}]]&#37; par carte en main.
|
||||
<span class="bold"><span class="f4">[celeritas]</span></span>
|
||||
!setattr --name Reginald --mod --fluctus|?{Niveau de l'arcane | Base, [[-1*@{God|b_celeritas}]] | Avancée, [[-2*@{God|b_celeritas}]] | Ultime, [[-4*@{God|b_celeritas}]]} --celeritas_rem|-1
|
||||
/w Reginald Il vous reste jusqu'à [[@{Reginald|celeritas_rem}]] utilisations ce tour-ci.
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,136 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold"><span class="f4">[Avancée] Qing Shen Xing [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Offre un point de destin et une réduction de difficulté pour toute action ayant un lien avec l’objet d’étude. (La réduction dépend de la durée de médidation et/ou d’un jet à la discretion du MJ).
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Offre un point de destin et une réduction de difficulté pour toute action ayant un lien avec l’objet d’étude. (La réduction dépend de la durée de médidation et/ou d’un jet à la discretion du MJ).
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
*Tian-Hu s’assied en tailleur et commence à méditer.*
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Unification du Corps et de l’Esprit [16]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif/Caractèristique Spéciale
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Crée une nouvelle caractéristique l’Unité dont le calcul repose sur toutes les autres caractéristique. L’Unité peut être substitué à toute autre caractéristique pour des jets de compétences.
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Creuset des Énergies [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif/Reserve
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Crée une réserve nommé Qi des Origines dont la valeur max et la régénération dépend du niveau dans la technique.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous possedez actuellement @{Tian-Hu|qi} &#9784;, votre régénération est de [[1+@{Tian-Hu|repeating_skills_-LkV6EpN8WozHEhlnFYW_general_skilllevel}*2-@{Tian-Hu|maintien_qi}]] &#9784; par tour, il vous reste @{Tian-Hu|usurpation_charges} charges *d’Usurpation du Souffle*
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] D’énergie et de matière [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Action et Réaction
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Permet de régénérer contre du Qi le corps de l’utilisateur et/ou toute structure en harmonie(mémorisée) avec l’utilisateur.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**D’énergie et de matière** [Coût : 4 &#9784;] *Tian-Hu se régénère de [[@{Tian-Hu|repeating_general-combat-skills_-LkUznJg8I5Pu2dcLVPr_general_combat_skilllevel}*18]] PV irréductibles, @{target|T1|character_name} reçoit un soin supplémentaire de [[@{Tian-Hu|repeating_general-combat-skills_-LkUznJg8I5Pu2dcLVPr_general_combat_skilllevel}d10]] PV irréductibles.*
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Apothéose [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif/Buff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Cette technique renforce les caractéristiques secondaires (PV & Déplacement) mais aussi toutes les résistances. Ces bonus sont déterminé par la caractéristique d’Unité et le niveau de la technique.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Volonté transcendantale [16]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Buff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Réduit de X Degrés de difficultés les jets liés à la volonté et offre une relance pour ceux-ci. Permet de résister à n’importe quelle altération contre un jet de volonté.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous pouvez effectuer un jet de volonté pour resister a n’importe quelle altération, réduisez le DD de ce test de @{Tian-Hu|repeating_defensive-combat-skills_-LkV8B1ACFXFLZE7LqMT_defensive_combat_skilllevel}.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Volonté transcendantale** [Coût : 3 &#9784;] *Tian-Hu semble emprunt d'une volonté surnaturelle, ses yeux brillent d'une lueur dorée.*
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Négation selon Tian [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Empower
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Technique de parade utilisant du Qi. Cette technique permet de parer des énergies (divin/magique/voile).
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous pouvez parer toute attaque quelqu’en soit le type. Si cette parade est totale, vous effectuez un bloquage total dans une zone de [[(@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Omfhl2uh-tu6YYe_defensive_combat_skilllevel}+1)*1.7]] mètres.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Négation selon Tian** [Coût : 4 &#9784;] *Tian-Hu joint ses mains, un dôme de Qi de [[@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Omfhl2uh-tu6YYe_defensive_combat_skilllevel}*1.7]] mètres s’érige autour de Tian, toute attaque s’y éffrite puis se nullifie.*
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Inébranlable [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Buff/Maintenu
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Technique de Qi rendant l’utilisateur bien plus résistance aux dommages. Ce dernier gagne de la réduction de dégats et de l’encaissement.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous gagnez [[floor((@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Z5ezvreujA1cBnz_defensive_combat_skilllevel}+3)*-3.2)]] pourcentage de dégats reduits et [[@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Z5ezvreujA1cBnz_defensive_combat_skilllevel}*5]] en Encaissement payez 4 actions en tant que cout supplémentaires.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Inébranlable** [Coût : 4 &#9784; | Maintien : 2 &#9784;] *Le corps de Tian-Hu semble surchargé d’énergie, une aura défensive émane de son corps. *
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Mouvement Intangible [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Technique de Qi permet d’effectuer un déplacement sur des distances et directions irréelles. Ce déplacement n’offre pas d’attaques d’opportunités.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous pouvez éffectuer un mouvement de [[@{Tian-Hu|repeating_general-combat-skills_-LkV8y0-NCSCU0qhKO3j_general_combat_skilllevel}*12]] mètres dans nimporte quelle direction. Cette action compte comme un dégagement sur lequel vous ne pouvez subir des attaques d’opportunités.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Mouvement Intangible** [Coût : 6 &#9784;] *Tian-Hu devient intangible et insaisissable et se déplace de [[@{Tian-Hu|repeating_general-combat-skills_-LkV8y0-NCSCU0qhKO3j_general_combat_skilllevel}*12]] mètres.*
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Unicité élémentaire [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif / Buff / Maintenu
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Le Qi prend une nature élémentaire qui offre un bonus à toute action ou objet infusé par celui-ci ce bonus est pondéré par l’affinité en question. (Buff de Dégâts et effets).
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Unicité Élémentaire** [Coût: 4 &#9784; | Maintien 3 &#9784;] *Le Qi de Tian-Hu est imbué d’un élément.*
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Paume purificatrice [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif / Empower
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Attaque infusant du Qi dans le corps de la cible infligeant des dégâts internes visant à détruire tout autre type d’énergie surnaturelle (bonus de dégâts, détruit les buff/debuff, relâche les contrôles->altérations?).(Cette attaque peut être rendue non létale).
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Votre prochaine attaque inflige [[-25]] dégats réduits, si vous infligez des dégats a la cible, ajoutez [[floor(@{Tian-Hu|repeating_offensive-combat-skills_-LkVA0e3odWsx6PblWZp_offensive_combat_skilllevel}*1)]] DD au jet de resistance pour retirer chaque altération sur la cible
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Paume purificatrice** [Coût : 6 &#9784;] *La paume de Tian-Hu irradie d’énergie alors qu’il l’appose sur @{target|T1|character_name}, force/offre un jet de résistance pour retirer chaque altération à DD &#xb1;[[floor(@{Tian-Hu|repeating_offensive-combat-skills_-LkVA0e3odWsx6PblWZp_offensive_combat_skilllevel}*1)]].*
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Usurpation du souffle [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif / Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Technique permettant de recharger la réserve de Qi en absorbant et convertissant de force les énergies environnantes, sacrifie de la régénération de Qi contre un gain de Qi.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Regagnez immediatement **[[floor(6*@{Tian-Hu|repeating_skills_-LkV6EpN8WozHEhlnFYW_general_skilllevel})]] &#9784;** votre regeneration de Qi est diminuée de 2 jusqu’a la fin du combat. Il vous reste [[@{Tian-Hu|usurpation_charges}-1]] utilisations de *Usurpation du souffle*.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Usurpation du Souffle** *L’énergie environnante est brutalement aspirée et convertie de force en Qi éclatant l’un des méridiens de Tian-Hu. Une substance noirâtre suinte par les pores de sa peau.*
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Unification avec le monde [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Puissante technique limitant le nombre de PV négatifs que peux atteindre le corps de l’utilisateur.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Lorsque vous subissez des dégats réduisant vos points de vie en dessous de zero, reduisez les points de vie perdus a [[floor(@{Tian-Hu|Life_Points|max}*(11-@{Tian-Hu|repeating_skills_-Lku53eb0UiRIdWDfZfV_general_skilllevel})*0.5)]] si ce seuil de dégats devait ne pas etre atteint, regagnez 2 &#9784;.
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Châtiment Céleste [16]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif / Empower / Canalisation
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Attaque Ultime aux dégâts pondérés par le Qi et le nombre d’actions investies.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Canalisation; Vous perdez un point de régénération de Qi pour la durée du combat
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Châtiment Céleste** [Coût : -11 &#9784;] *Tian-Hu cannalise du Qi son corps déborde d’énergie semblant distordre la réalité autour de lui.*
|
||||
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,84 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">Characters/tian.ini</span>
|
||||
<span class="bold"><span class="f4">[start]</span></span>
|
||||
!setattr --name Tian-Hu --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --pctreceived_b|0 --pctreceived_s|0 --elem_omega|0 --qi|0|[[@{Tian-Hu|repeating_skills_-LkV6EpN8WozHEhlnFYW_general_skilllevel}*@{God|b_qimax}]] --element|0 --element_dmg|0 --general_item_shield3|[[@{God|b_apotheose}*@{Tian-Hu|repeating_defensive-combat-skills_-LkV7mqaRZOJzt-BC22s_defensive_combat_skilllevel}*@{Tian-Hu|base-custom}]] --general_skilllevel_Endurance_surnaturelle|[[@{Tian-Hu|repeating_defensive-combat-skills_-LkqZjm5yBZBnnu7vXhR_defensive_combat_skilllevel}+@{Tian-Hu|repeating_defensive-combat-skills_-LkV7mqaRZOJzt-BC22s_defensive_combat_skilllevel}]] --negation_pdef|[[@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Omfhl2uh-tu6YYe_defensive_combat_skilllevel}*@{God|b_negation_pct}]] --parry_power|[[(@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Omfhl2uh-tu6YYe_defensive_combat_skilllevel}+3)*@{God|b_negation_par}]] --maintien_qi|0 --elemental_dmg|0 --pctreceived_in|0 --usurpation_charges|@{Tian-Hu|repeating_skills_-LmAz-4nRLCAA7zh0avs_general_skilllevel} --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
/w Tian-Hu Votre déplacement est de [[(@{Tian-Hu|base-custom}+@{Tian-Hu|exal-custom})*2+@{Tian-Hu|repeating_defensive-combat-skills_-LkV7mqaRZOJzt-BC22s_defensive_combat_skilllevel}]], Il vous reste [[@{Tian-Hu|usurpation_charges}]] utilisations de *Usurpation du souffle*.
|
||||
<span class="bold"><span class="f4">[turn]</span></span>
|
||||
!setattr --name Tian-Hu --Life_Points|[[{@{Tian-Hu|Life_Points}+floor(@{Tian-Hu|regen}*@{Tian-Hu|pcthealing}/100)-1*(@{Tian-Hu|dot}),@{Tian-Hu|Life_Points|max}}kl1]] --qi|[[{@{Tian-Hu|qi}+@{God|b_regen_qi_flat}+@{Tian-Hu|repeating_skills_-LkV6EpN8WozHEhlnFYW_general_skilllevel}*@{God|b_regen_qi}-@{Tian-Hu|maintien_qi},@{Tian-Hu|repeating_skills_-LkV6EpN8WozHEhlnFYW_general_skilllevel}*@{God|b_qimax}}kl1]]
|
||||
<span class="bold"><span class="f4">[attaque]</span></span>
|
||||
!crit ?{Nombre de des d’attaque} P @{Tian-Hu|general_effective_Perfection} c @{Tian-Hu|crit_level} M @{Tian-Hu|skillcost_Technique_martiale} @{Tian-Hu|general_effective_Technique_martiale} E @{Tian-Hu|skillcost_Exploiter_les_points_faibles} @{Tian-Hu|general_effective_Exploiter_les_points_faibles} F @{Tian-Hu|general_effective_Fauchage} D @{Tian-Hu|general_effective_Coup_dechirant} H @{Tian-Hu|base_damage_dices} H @{Tian-Hu|exal_damage_dices} A @{Tian-Hu|Skill_general_attribute_select_attaque} s @{Tian-Hu|general_attack_threshold} l @{Tian-Hu|general_attack_addall} a a n @{Tian-Hu|undescored_name} + @{Tian-Hu|additional_damage_dices} + @{Tian-Hu|general_effective_weapon1} + @{Tian-Hu|general_effective_weapon2} t @{Tian-Hu|transcendence} + @{Tian-Hu|general_effective_weapon3} f @{Tian-Hu|pctinflicted} f @{Tian-Hu|pctinflicted_s} f @{Tian-Hu|pctinflicted_b} f @{Tian-Hu|temp_pdmg} + @{Tian-Hu|temp_dmg} + @{Tian-Hu|elemental_dmg}
|
||||
!setattr --name Tian-Hu --temp_pdmg|0 --temp_dmg|0
|
||||
<span class="bold"><span class="f4">[parade]</span></span>
|
||||
!crit ?{Nombre de des de defense} I @{Tian-Hu|skillcost_Defense_impenetrable} @{Tian-Hu|general_effective_Defense_impenetrable} R @{Tian-Hu|general_effective_Rempart_parfait} c @{Tian-Hu|crit_level} S @{Tian-Hu|general_skilllevel_Encaissement} @{Tian-Hu|general_effective_Encaissement} H @{Tian-Hu|base_defense_dices} H @{Tian-Hu|exal_defense_dices} s @{Tian-Hu|general_defense_threshold} l @{Tian-Hu|general_defense_addall} A @{Tian-Hu|Skill_general_attribute_select_defense} t @{Tian-Hu|transcendence} - ?{Dégats a parer|0} a d n @{Tian-Hu|undescored_name} + @{Tian-Hu|general_effective_shield1} + @{Tian-Hu|general_effective_shield2} + @{Tian-Hu|general_effective_shield3} v @{Tian-Hu|pctreceived} v @{Tian-Hu|pctreceived_s} v @{Tian-Hu|pctreceived_b} v @{Tian-Hu|temp_pdef} + @{Tian-Hu|temp_def} v @{Tian-Hu|pctreceived_in} ?{Type d'attaque|Magique,+ @{Tian-Hu|general_skilllevel_res_magique_effective} v @{Tian-Hu|res_magique_pct}|Voile,+ @{Tian-Hu|general_skilllevel_res_voile_effective} v @{Tian-Hu|res_voile_pct}|Divine,+ @{Tian-Hu|general_skilllevel_res_divine_effective} v @{Tian-Hu|res_divine_pct}|Existence,0|Physique,+ @{Tian-Hu|general_skilllevel_res_physique_effective} v @{Tian-Hu|res_physique_pct}} + @{Tian-Hu|general_skilllevel_res_omega_effective} v @{Tian-Hu|res_omega_pct}
|
||||
!setattr --name Tian-Hu --temp_pdef|0 --temp_def|0
|
||||
<span class="bold"><span class="f4">[parade_brute_macro]</span></span>
|
||||
!crit ?{Nombre de des de defense} I @{Tian-Hu|skillcost_Defense_impenetrable} @{Tian-Hu|general_effective_Defense_impenetrable} R @{Tian-Hu|general_effective_Rempart_parfait} c @{Tian-Hu|crit_level} S @{Tian-Hu|general_skilllevel_Encaissement} @{Tian-Hu|general_effective_Encaissement} H @{Tian-Hu|base_defense_dices} H @{Tian-Hu|exal_defense_dices} s @{Tian-Hu|general_defense_threshold} l @{Tian-Hu|general_defense_addall} A @{Tian-Hu|Skill_general_attribute_select_defense} t @{Tian-Hu|transcendence} - ?{Dégats a parer|0} a d n @{Tian-Hu|undescored_name} + @{Tian-Hu|general_effective_shield3} v @{Tian-Hu|pctreceived} v @{Tian-Hu|pctreceived_s} v @{Tian-Hu|pctreceived_b} v @{Tian-Hu|temp_pdef} + @{Tian-Hu|temp_def} ?{Type d'attaque|Magique,+ @{Tian-Hu|general_skilllevel_res_magique_effective} v @{Tian-Hu|res_magique_pct}|Voile,+ @{Tian-Hu|general_skilllevel_res_voile_effective} v @{Tian-Hu|res_voile_pct}|Divine,+ @{Tian-Hu|general_skilllevel_res_divine_effective} v @{Tian-Hu|res_divine_pct}|Existence,0|Physique,+ @{Tian-Hu|general_skilllevel_res_physique_effective} v @{Tian-Hu|res_physique_pct}} + @{Tian-Hu|general_skilllevel_res_omega_effective} v @{Tian-Hu|res_omega_pct}
|
||||
!setattr --name Tian-Hu --temp_pdef|0 --temp_def|0
|
||||
<span class="bold"><span class="f4">[esquive]</span></span>
|
||||
!crit ?{Nombre de des d’esquive} I @{Tian-Hu|skillcost_Defense_impenetrable} @{Tian-Hu|general_effective_Defense_impenetrable} R @{Tian-Hu|general_effective_Rempart_parfait} c @{Tian-Hu|crit_level} H @{Tian-Hu|base_dodge_dices} A @{Tian-Hu|Skill_general_attribute_select_dodge} t @{Tian-Hu|transcendence} s ?{Seuil d’esquive} - ?{Dégats a esquiver|0} a e n @{Tian-Hu|undescored_name} v @{Tian-Hu|pctreceived} v @{Tian-Hu|pctreceived_s} v @{Tian-Hu|pctreceived_b} + @{Tian-Hu|temp_esq} + @{Tian-Hu|temp_pdef} v @{Tian-Hu|pctreceived_in}
|
||||
!setattr --name Tian-Hu --temp_pdef|0 --temp_esq|0
|
||||
<span class="bold"><span class="f4">[qing_shen_xing]</span></span>
|
||||
/w Tian-Hu Offre un point de destin et une réduction de difficulté pour toute action ayant un lien avec l’objet d’étude. (La réduction dépend de la durée de médidation et/ou d’un jet à la discretion du MJ).
|
||||
*Tian-Hu s’assied en tailleur et commence à méditer.*
|
||||
<span class="bold"><span class="f4">[unification_du_corps_et_esprit]</span></span>
|
||||
!setattr --name Tian-Hu --base-custom|[[floor(@{Tian-Hu|repeating_skills_-LkV5uUQZmul0K5A2Z4W_general_skilllevel}*@{God|b_unification_sc}+(@{Tian-Hu|base-Force}+@{Tian-Hu|base-Agilite}+@{Tian-Hu|base-Perception}+@{Tian-Hu|base-Charisme}+@{Tian-Hu|base-Intelligence}+@{Tian-Hu|base-Volonte}+@{Tian-Hu|base-Psyche}+@{Tian-Hu|base-Chance})/@{God|b_unification})]]
|
||||
<span class="bold"><span class="f4">[creuset_des_energies]</span></span>
|
||||
/w Tian-Hu Vous possedez actuellement @{Tian-Hu|qi} &#9784;, votre régénération est de [[@{God|b_regen_qi_flat}+@{Tian-Hu|repeating_skills_-LkV6EpN8WozHEhlnFYW_general_skilllevel}*@{God|b_regen_qi}-@{Tian-Hu|maintien_qi}]] &#9784; par tour, il vous reste @{Tian-Hu|usurpation_charges} charges *d’Usurpation du Souffle*
|
||||
<span class="bold"><span class="f4">[energie_et_matiere]</span></span>
|
||||
!setattr --name Tian-Hu --mod --qi|-@{God|b_energy_cost}
|
||||
!setattr --name Tian-Hu --Life_Points|[[{@{Tian-Hu|Life_Points}+@{Tian-Hu|repeating_general-combat-skills_-LkUznJg8I5Pu2dcLVPr_general_combat_skilllevel}*@{God|b_energymat_heal},@{Tian-Hu|Life_Points|max}}kl1]]
|
||||
**D’énergie et de matière** [Coût : @{God|b_energy_cost} &#9784;] *Tian-Hu se régénère de [[@{Tian-Hu|repeating_general-combat-skills_-LkUznJg8I5Pu2dcLVPr_general_combat_skilllevel}*@{God|b_energymat_heal}]] PV irréductibles, @{target|T1|character_name} reçoit un soin supplémentaire de [[@{Tian-Hu|repeating_general-combat-skills_-LkUznJg8I5Pu2dcLVPr_general_combat_skilllevel}d10]] PV irréductibles.*
|
||||
<span class="bold"><span class="f4">[volonte_transcendantale]</span></span>
|
||||
!setattr --name Tian-Hu --mod --qi|-@{God|b_volontee_cost}
|
||||
/w Tian-Hu Vous pouvez effectuer un jet de volonté pour resister a n’importe quelle altération, réduisez le DD de ce test de @{Tian-Hu|repeating_defensive-combat-skills_-LkV8B1ACFXFLZE7LqMT_defensive_combat_skilllevel}.
|
||||
**Volonté transcendantale** [Coût : @{God|b_volontee_cost} &#9784;] *Tian-Hu semble emprunt d'une volonté surnaturelle, ses yeux brillent d'une lueur dorée.*
|
||||
<span class="bold"><span class="f4">[negation_selon_tian]</span></span>
|
||||
!setattr --name Tian-Hu --mod --qi|-@{God|b_negation_cost}
|
||||
!crit ?{Nombre de des de defense} I @{Tian-Hu|skillcost_Defense_impenetrable} @{Tian-Hu|general_effective_Defense_impenetrable} R @{Tian-Hu|general_effective_Rempart_parfait} c @{Tian-Hu|crit_level} S @{Tian-Hu|general_skilllevel_Encaissement} @{Tian-Hu|general_effective_Encaissement} H @{Tian-Hu|base_defense_dices} H @{Tian-Hu|exal_defense_dices} s @{Tian-Hu|general_defense_threshold} l @{Tian-Hu|general_defense_addall} A @{Tian-Hu|Skill_general_attribute_select_defense} t @{Tian-Hu|transcendence} - ?{Dégats a parer|0} a d n @{Tian-Hu|undescored_name} + @{Tian-Hu|general_effective_shield1} + @{Tian-Hu|general_effective_shield2} + @{Tian-Hu|general_effective_shield3} v @{Tian-Hu|pctreceived} v @{Tian-Hu|pctreceived_s} v @{Tian-Hu|pctreceived_b} v @{Tian-Hu|temp_pdef} + @{Tian-Hu|temp_def} + @{Tian-Hu|parry_power} v @{Tian-Hu|pctreceived_in} v @{Tian-Hu|negation_pdef} ?{Type d'attaque|Magique,+ @{Tian-Hu|general_skilllevel_res_magique_effective} v @{Tian-Hu|res_magique_pct}|Voile,+ @{Tian-Hu|general_skilllevel_res_voile_effective} v @{Tian-Hu|res_voile_pct}|Divine,+ @{Tian-Hu|general_skilllevel_res_divine_effective} v @{Tian-Hu|res_divine_pct}|Existence,0|Physique,+ @{Tian-Hu|general_skilllevel_res_physique_effective} v @{Tian-Hu|res_physique_pct}} + @{Tian-Hu|general_skilllevel_res_omega_effective} v @{Tian-Hu|res_omega_pct}
|
||||
!setattr --name Tian-Hu --temp_pdef|0 --temp_def|0
|
||||
/w Tian-Hu Vous pouvez parer toute attaque quelqu’en soit le type. Si cette parade est totale, vous effectuez un bloquage total dans une zone de [[(@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Omfhl2uh-tu6YYe_defensive_combat_skilllevel}+1)*@{God|b_negation_range}]] mètres.
|
||||
**Négation selon Tian** [Coût : @{God|b_negation_cost} &#9784;] *Tian-Hu joint ses mains, un dôme de Qi de [[@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Omfhl2uh-tu6YYe_defensive_combat_skilllevel}*@{God|b_negation_range}]] mètres s’érige autour de Tian, toute attaque s’y éffrite puis se nullifie.*
|
||||
<span class="bold"><span class="f4">[inebranlable]</span></span>
|
||||
!setattr --name Tian-Hu --mod --maintien_qi|@{God|b_inebranlable_maintien} --qi|@{God|b_inebranlable_cost} --general_skilllevel_Encaissement|[[@{Tian-Hu|repeating_defensive-combat-skills_-Lkqsaj0X8qOQ1g4bJdB_defensive_combat_skilllevel}+@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Z5ezvreujA1cBnz_defensive_combat_skilllevel}*@{God|b_inebranlable_encaissement}]] --pctreceived_in|[[floor((@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Z5ezvreujA1cBnz_defensive_combat_skilllevel}+3)*@{God|b_inebranlable_reduction})]]
|
||||
/w Tian-Hu Vous gagnez [[floor((@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Z5ezvreujA1cBnz_defensive_combat_skilllevel}+3)*@{God|b_inebranlable_reduction})]] pourcentage de dégats reduits et [[@{Tian-Hu|repeating_defensive-combat-skills_-LkV8Z5ezvreujA1cBnz_defensive_combat_skilllevel}*@{God|b_inebranlable_encaissement}]] en Encaissement payez @{God|b_inebranlable_actions} actions en tant que cout supplémentaires.
|
||||
**Inébranlable** [Coût : @{God|b_inebranlable_cost} &#9784; | Maintien : @{God|b_inebranlable_maintien} &#9784;] *Le corps de Tian-Hu semble surchargé d’énergie, une aura défensive émane de son corps. *
|
||||
<span class="bold"><span class="f4">[inebranlable:desactivation]</span></span>
|
||||
!setattr --name Tian-Hu --mod --maintien_qi|-@{God|b_inebranlable_cost}
|
||||
!setattr --name Tian-Hu --general_skilllevel_Encaissement|@{Tian-Hu|repeating_defensive-combat-skills_-Lkqsaj0X8qOQ1g4bJdB_defensive_combat_skilllevel} --pctreceived_in|0
|
||||
*Tian-Hu relache l’éffet d’Inébranlable.*
|
||||
<span class="bold"><span class="f4">[mouvement_intangible]</span></span>
|
||||
!setattr --name Tian-Hu --mod --qi|-@{God|b_mouvement_cost}
|
||||
/w Tian-Hu Vous pouvez éffectuer un mouvement de [[@{Tian-Hu|repeating_general-combat-skills_-LkV8y0-NCSCU0qhKO3j_general_combat_skilllevel}*@{God|b_mouvement_power}]] mètres dans nimporte quelle direction. Cette action compte comme un dégagement sur lequel vous ne pouvez subir des attaques d’opportunités.
|
||||
**Mouvement Intangible** [Coût : @{God|b_mouvement_cost} &#9784;] *Tian-Hu devient intangible et insaisissable et se déplace de [[@{Tian-Hu|repeating_general-combat-skills_-LkV8y0-NCSCU0qhKO3j_general_combat_skilllevel}*@{God|b_mouvement_power}]] mètres.*
|
||||
<span class="bold"><span class="f4">[unicite_elementaire]</span></span>
|
||||
!setattr --name Tian-Hu --elemental_dmg|?{Element|Eau,[[(@{Tian-Hu|elem_eau_tot}+@{Tian-Hu|elem_omega})*@{God|b_unicite_dmg}*@{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}]]| Air,[[(@{Tian-Hu|elem_air_tot}+@{Tian-Hu|elem_omega})*@{God|b_unicite_dmg}*@{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}]]| Feu,[[(@{Tian-Hu|elem_feu_tot}+@{Tian-Hu|elem_omega})*@{God|b_unicite_dmg}*@{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}]]| Terre,[[(@{Tian-Hu|elem_terre_tot}+@{Tian-Hu|elem_omega})*@{God|b_unicite_dmg}*@{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}]]| Glace,[[(@{Tian-Hu|elem_glace_tot}+@{Tian-Hu|elem_omega})*@{God|b_unicite_dmg}*@{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}]]| Metal,[[(@{Tian-Hu|elem_metal_tot}+@{Tian-Hu|elem_omega})*@{God|b_unicite_dmg}*@{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}]]| Magma,[[(@{Tian-Hu|elem_magma_tot}+@{Tian-Hu|elem_omega})*@{God|b_unicite_dmg}*@{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}]]| Vapeur,[[(@{Tian-Hu|elem_vapeur_tot}+@{Tian-Hu|elem_omega})*@{God|b_unicite_dmg}*@{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}]]| Bois,[[(@{Tian-Hu|elem_bois_tot}+@{Tian-Hu|elem_omega})*@{God|b_unicite_dmg}*@{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}]]| Foudre,[[(@{Tian-Hu|elem_foudre_tot}+@{Tian-Hu|elem_omega})*@{God|b_unicite_dmg}*@{Tian-Hu|repeating_offensive-combat-skills_-LkV9lr2UF0Kt-N5Tw3U_offensive_combat_skilllevel}]]}
|
||||
!setattr --name Tian-Hu --mod --maintien_qi|@{God|b_unicite_maintien}
|
||||
**Unicité Élémentaire** [Coût: @{God|b_unicite_cost} &#9784; | Maintien @{God|b_unicite_maintien} &#9784;] *Le Qi de Tian-Hu est imbué d’un élément.*
|
||||
<span class="bold"><span class="f4">[unicite_elementaire:desactivation]</span></span>
|
||||
!setattr --name Tian-Hu --mod --maintien_qi|-@{God|b_unicite_maintien}
|
||||
*Tian-Hu relache l’unicité élémentaire.*
|
||||
<span class="bold"><span class="f4">[paume_purificatrice]</span></span>
|
||||
!setattr --name Tian-Hu --mod --qi|-@{God|b_peaume_cost} --temp_dmg|[[@{Tian-Hu|repeating_offensive-combat-skills_-LkVA0e3odWsx6PblWZp_offensive_combat_skilllevel}*@{God|b_peaume_dmg}]]
|
||||
/w Tian-Hu Votre prochaine attaque inflige [[@{God|b_peaume_dmg}]] dégats réduits, si vous infligez des dégats a la cible, ajoutez [[floor(@{Tian-Hu|repeating_offensive-combat-skills_-LkVA0e3odWsx6PblWZp_offensive_combat_skilllevel}*@{God|b_peaume_DD})]] DD au jet de resistance pour retirer chaque altération sur la cible
|
||||
**Paume purificatrice** [Coût : @{God|b_peaume_cost} &#9784;] *La paume de Tian-Hu irradie d’énergie alors qu’il l’appose sur @{target|T1|character_name}, force/offre un jet de résistance pour retirer chaque altération à DD &#xb1;[[floor(@{Tian-Hu|repeating_offensive-combat-skills_-LkVA0e3odWsx6PblWZp_offensive_combat_skilllevel}*@{God|b_peaume_DD})]].*
|
||||
<span class="bold"><span class="f4">[usurpation_du_souffle]</span></span>
|
||||
!setattr --name Tian-Hu --maintien_qi|[[@{Tian-Hu|maintien_qi}+@{God|b_usurpation_cost}]] --qi|[[{@{Tian-Hu|qi}+floor(@{God|b_usurpation}*@{Tian-Hu|repeating_skills_-LkV6EpN8WozHEhlnFYW_general_skilllevel})-@{Tian-Hu|maintien_qi},@{Tian-Hu|repeating_skills_-LkV6EpN8WozHEhlnFYW_general_skilllevel}*@{God|b_qimax}}kl1]]
|
||||
/w Tian-Hu Regagnez immediatement **[[floor(@{God|b_usurpation}*@{Tian-Hu|repeating_skills_-LkV6EpN8WozHEhlnFYW_general_skilllevel})]] &#9784;** votre regeneration de Qi est diminuée de @{God|b_usurpation_cost} jusqu’a la fin du combat. Il vous reste [[@{Tian-Hu|usurpation_charges}-1]] utilisations de *Usurpation du souffle*.
|
||||
**Usurpation du Souffle** *L’énergie environnante est brutalement aspirée et convertie de force en Qi éclatant l’un des méridiens de Tian-Hu. Une substance noirâtre suinte par les pores de sa peau.*
|
||||
<span class="bold"><span class="f4">[unification_avec_le_monde]</span></span>
|
||||
/w Tian-Hu Lorsque vous subissez des dégats réduisant vos points de vie en dessous de zero, reduisez les points de vie perdus a [[floor(@{Tian-Hu|Life_Points|max}*(11-@{Tian-Hu|repeating_skills_-Lku53eb0UiRIdWDfZfV_general_skilllevel})*@{God|b_monde_reduct})]] si ce seuil de dégats devait ne pas etre atteint, regagnez @{God|b_monde_qi} &#9784;.
|
||||
<span class="bold"><span class="f4">[chatiment_celeste]</span></span>
|
||||
!setattr --name Tian-Hu --mod --temp_dmg|[[?{Actions investies}*@{Tian-Hu|repeating_offensive-combat-skills_-LkVAHd9Ww93XuUmP8qF_offensive_combat_skilllevel}*@{God|b_chatiment_dmg}]] --temp_pdmg|[[@{Tian-Hu|repeating_offensive-combat-skills_-LkVAHd9Ww93XuUmP8qF_offensive_combat_skilllevel}*@{God|b_chatiment_pct}]] --maintien_qi|1 --qi|@{God|b_chatiment_cost}
|
||||
/w Tian-Hu Canalisation; Vous perdez un point de régénération de Qi pour la durée du combat
|
||||
**Châtiment Céleste** [Coût : @{God|b_chatiment_cost} &#9784;] *Tian-Hu cannalise du Qi son corps déborde d’énergie semblant distordre la réalité autour de lui.*
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,318 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold"><span class="f4">[Ultime] Harmony [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Reserve/Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Les points d’harmonie se gagnent au cours d’une longue méditation.
|
||||
A hauteur de un point par semaine de méditation, et peuvent servir de coût à certaines techniques majeures.
|
||||
Les points d'harmonie donnent un bonus passif a la discrétion, l'initiative et aux techniques de résistance mentale et de perception.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous changez votre niveau d'harmonie
|
||||
<span class="f4"><span class="underline">Spécial</span></span>
|
||||
Système de stack augmentant hors combat et diminuant lors de l’utilisation active des techniques liées.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Harmony Of Shadow [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif & Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Passif - Augmente la discrétion de 1.3*@{Voile|repeating_skills_-Lk0Ld9vbR5NTT6DFitP_general_skilllevel}*@{Voile|harmony}, et rend les actions de dégagement plus simple de @{Voile|harmony}*1.3 degrés de difficultée.
|
||||
Actif - Augmente pendant un cours instant la conscience de son environnement,
|
||||
permettant de révéler la vrai nature des adversaire et objets dans le champ de perception.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Voile augmente son état de conscience du réel, les adversaires et objets dans un cercle de [[@{Voile|harmony}*10*@{Voile|repeating_skills_-Lk0Ld9vbR5NTT6DFitP_general_skilllevel}]] metres aux alentours revelent leur vraie nature.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Harmonie de l'ombre ** Voile obtiens pendant un cours instant une image de la réalité au dela des apparences, dans un rayon de [[@{Voile|harmony}*10*@{Voile|repeating_skills_-Lk0Ld9vbR5NTT6DFitP_general_skilllevel}]] metres.
|
||||
<span class="f4"><span class="underline">Spécial</span></span>
|
||||
L’activation de la technique diminue le stack d’un point et montre & ajuste le nouvel l'etat des passifs
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Harmony Of Wind [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif & Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Passif - Augmente le nombre d’action de @{Voile|repeating_skills_-Lk0LfoIZqkpZCKWUf8I_general_skilllevel}@{Voile|harmony}/1.2 et rend les attaques d’opportunités plus difficiles d'un facteur @{Voile|harmony}/1.3*@{Voile|repeating_skills_-Lk0LfoIZqkpZCKWUf8I_general_skilllevel}
|
||||
Actif - Permet de se désengager d’une attaque magique ou physique et un replacer gratuitement. Compte comme une esquive totale de l’attaque.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous pouvez réapparaitre n'importe ou dans un cercle de [[@{Voile|repeating_skills_-Lk0LfoIZqkpZCKWUf8I_general_skilllevel}]] metres autours de vous.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Harmonie du vent ** La présence de Voile deviens intangible pendant un bref instant, la rendant insensible a toutes les formes de dégats.
|
||||
<span class="f4"><span class="underline">Spécial</span></span>
|
||||
L’activation de la technique diminue le stack d’un point et montre & ajuste le nouvel l'etat des passifs
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Harmony Of Water [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif & Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Passif - Certaines contraintes physiques (frottement vent, courant gravité, résistance des matériaux)
|
||||
sont moins limitants pour les actions du personnage, facilitant les actions de mouvements de [[@{Voile|repeating_skills_-Lk0Li-kTIahFB0V9Iny_general_skilllevel}]] degrés.
|
||||
Actif - Amplifie cet effet pendant un court instant, permettant d’effectuer des action défiant la physique.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous pouvez ignorer la plupars des contraintes physiques pendant [[@{Voile|repeating_skills_-Lk0Li-kTIahFB0V9Iny_general_skilllevel}]] actions.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Harmonie de l'eau ** Pendant un cours instant, Voile dénie les effets des regles du monde materiel. Sa conscience de sa place dans le monde et de la maniere dont elle peut interagir avec celui ci s'affaiblit.
|
||||
<span class="f4"><span class="underline">Spécial</span></span>
|
||||
L’effet du passif dépend du nombre de stack d’Harmony, l’activation de l’actif diminue le stack d’un point.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Harmony Of Metal [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif & Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Passif - Augmente la résistance mentale et la capacité à rester stoïque quelle que soit la situation, rendant difficile la lecture de son langage corporel, ajoutant un bonus de [[@{Voile|harmony}*1.8*@{Voile|repeating_skills_Lk0LjlHlBkETSvDcjDd_general_skilllevel}]] aux test dans ces domaines.
|
||||
Actif - Permet d'atténuer les effets néfastes appliqués sur l’esprit. Gagnez un bonus de [[@{Voile|repeating_skills_Lk0LjlHlBkETSvDcjDd_general_skilllevel}*1.8]] a votre resistances mentale.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Votre esprit se renforce, repoussant les effets déléteres sur vous.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Harmonie du metal ** La volontée de Voile s'affirme, soufflant les influences négatives.
|
||||
<span class="f4"><span class="underline">Spécial</span></span>
|
||||
L’effet du passif dépend du nombre de stack d’Harmony, l’activation de l’actif diminue le stack d’un point.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Harmony Etheree [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif & Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Passif - Voile obtient une réduction des degrés de difficultés de ses esquives dépendant de l’harmonie et de l’harmonie de l’Ethéré
|
||||
Actif - Vos @{Voile|repeating_skills_-LmBMUm9kLgbLrFbzmsi_general_skilllevel} prochainnes actions comptent comme des actions libres
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vos @{Voile|repeating_skills_-LmBMUm9kLgbLrFbzmsi_general_skilllevel} prochaines actions comptent comme des actions libres
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Harmonie Etherée ** La vitesse de Voile semble démultipliée pendant un instant.
|
||||
<span class="f4"><span class="underline">Spécial</span></span>
|
||||
&
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Harmony Foudroyante [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif & Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Passif - Vos attaques infligent des dégats elementaires de foudre
|
||||
Actif - Voile sacrifie la totalité de ses boucliers pour ajouter une partie de leur valeur à sa prochaine attaque sous forme de dégâts
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Votre prochainne attaque infligera [[floor(@{Voile|repeating_skills_-LmBMY-4IJtvXEUdPjkN_general_skilllevel}*@{Voile|shield}*0.3)]] dégats de foudre supplementaire
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Harmonie Foudroyante ** Les boucliers de Voile volent en éclat, l'energie s'accumulant dans son arme, flamboyant d'energie a travers le champs de bataille
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Momentum [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Reserve/Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Les Points de Momentum se gagnent activement au cours d’un combat, en fonction du nombre d’attaques parades ou esquives effectuées dans le tour.
|
||||
Chaque stack de momentum donne un bonus à l’esquive, la parade, à l’attaque,
|
||||
la vitesse de déplacement,l’acrobatie et le saut, représentant le momentum progressivement gagné par le personnage.
|
||||
Tant que le personnage a du momentum, il est particulièrement difficile de porter des attaques d’opportunités contre lui.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous gagnez un point de Momentum. Votre attaque et votre parade bénéficient d'un bonus de [[3.7*@{Voile|momentum}]], votre esquive beneficie d'un bonus de [[2.2*@{Voile|momentum}]] et votre vitesse de déplacement est désormais de [[(@{Voile|base-Agilite}+@{Voile|exal-Agilite})+1*@{Voile|momentum}]].
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
La vitesse et la puissance de Voile augmente, ne laissant apparaitre qu'une silhouette. brouillée par la vitesse.
|
||||
<span class="f4"><span class="underline">Spécial</span></span>
|
||||
Momentum max - 20*@{Voile|repeating_skills_-Lk0MZh88yaOnxpRaacq_general_skilllevel}.
|
||||
Système de stack augmentant en combat et diminuant lors de l’utilisation active des techniques liées.
|
||||
|
||||
<span class="bold"><span class="f4">[Majeur] Impact [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Canalisation/Empower
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Dépense l’ensemble du momentum dans une charge durant une action complète.
|
||||
La puissance de l’impact fracture le sol et inflige de lourds dégâts aux
|
||||
adversaires dans une large zone dépendant du nombre de points de momentum consumés
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous perdez votre momentum
|
||||
[Placer l'Impact](!&#13;#place_aoe Impact)
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Impact ** Un terrible impact sur une zone de [[floor((@{Voile|repeating_skills_-Lk0Mb-NlPrZS0G8qZEt_general_skilllevel}+4)*0.02*@{Voile|momentum})]] mètres infligeant [[@{Voile|repeating_skills_-Lk0Mb-NlPrZS0G8qZEt_general_skilllevel}*2.2*@{Voile|momentum}]] dégâts bonus à l’attaque
|
||||
<span class="f4"><span class="underline">Spécial</span></span>
|
||||
Système de stack augmentant en combat et diminuant lors de l’utilisation active des techniques liées.
|
||||
|
||||
<span class="bold"><span class="f4">[Majeur] Adagio [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Chaque attaque contre un adversaire différent augmente le momentum
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Voile saute d'adversaire en adversaire (jusqu'a @{Voile|repeating_skills_-Lk0Mbt8pCFsrUR0Oddn_general_skilllevel} adversaires différent), n'appliquant que ses on hit a chaque adversaire.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Adagio ** Voile utilise ses differents adversaires pour rebondir de l'un a l'autre et augmenter son Momentum
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Tempo Martial [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant/Empower
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Sacrifiez [[4]] actions; votre prochaine action physique baisse de [[round(@{Voile|repeating_skills_-Lk0NBFvdaBqbDj1zZ6l_general_skilllevel}*0.3)]] degrés de difiiculté, vous gagnez un bonus de [[30*@{Voile|repeating_skills_-Lk0NBFvdaBqbDj1zZ6l_general_skilllevel}]] a votre prochaine attaque, votre prochaine parade et votre prochaine esquive.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Tempo Martial ** Voile se synchronyse au tempo de ses adversaires pour se servir de leurs actions contre eux, faisant tourbilloner sa lance autour d'elle.
|
||||
|
||||
<span class="bold"><span class="f4">[Ultime] Sceau Du Phenix [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Durée/buff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme 80 points de la Porte de Sang, vous pouvez dépenser ses points meme si cela devait consummez plus que votre reserve. Si vous faites ainsi, vous perdez [[15]] points de vie maximum. Vous gagnez une grande regeneration et ne pouvez pas mourir.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Les @{Voile|repeating_magic-vital-skills_-Lk0HmbYyglmpIEtJtRV_magic_vital_skilllevel} prochaines attaques ne peuvent pas vous tuer, a chaque fois que vous devriez mourir regagnez [[45]] points de vie a la place.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Sceau du Phenix ** Dans l’adversité, le Phénix de Voile se relève de ses Cendre, les blessures se refermant dans une gerbe de sang frais.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Lune de sang [2]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Empower
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme 25 points de la Porte de Sang, crée un bouclier de valeur 22*@{Voile|repeating_magic-vital-skills_-Lk0IPjvvYGG2jNhSLZL_magic_vital_skilllevel} pour parer une attaque unique
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Crée un bouclier d’une valeur [[22*(@{Voile|repeating_magic-vital-skills_-Lk0IPjvvYGG2jNhSLZL_magic_vital_skilllevel}+3)*@{Voile|multiple_seals}]]
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Lune de Sang ** Les veine de Voile éclatent projetant un mur de sang dans toutes les directions.
|
||||
|
||||
<span class="bold"><span class="f4">[Mineure] Sang [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme 35 points de la Porte de Sang
|
||||
Infligez 50*@{Voile|repeating_magic-vital-skills_-Lk0Ikx5LI0341mCvRDZ_magic_vital_skilllevel} blessures
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Inflige [[50*@{Voile|repeating_magic-vital-skills_-Lk0Ikx5LI0341mCvRDZ_magic_vital_skilllevel}]] blessures
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Sang ** Un éclat de douleur dans un éclat d'acier, voile inflige [[50*@{Voile|repeating_magic-vital-skills_-Lk0Ikx5LI0341mCvRDZ_magic_vital_skilllevel}*@{Voile|multiple_seals}]] blessures sur une cible a [[@{Voile|repeating_magic-vital-skills_-Lk0Ikx5LI0341mCvRDZ_magic_vital_skilllevel}]] metres d'elle.
|
||||
|
||||
<span class="bold"><span class="f4">[Mineure] Contresang [2]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme 30 points de la Porte de Sang
|
||||
Vous regagnez 30*@{Voile|repeating_magic-vital-skills_-Lk0J6g4u8NBNAFB3asT_magic_vital_skilllevel} points de vie
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous regagnez [[30*@{Voile|repeating_magic-vital-skills_-Lk0J6g4u8NBNAFB3asT_magic_vital_skilllevel}*@{Voile|multiple_seals}]] points de vie
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Contresang ** Le sang jaillit des veines de la main gauche de Voile pour combler les blessures.
|
||||
|
||||
<span class="bold"><span class="f4">[Mineure] Sang de Feu [2]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant/Durée
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme 30 points de la Porte de Sang.
|
||||
Crée une flamme pouvant inflier 50*@{Voile|repeating_magic-vital-skills_-Lk0JQiMYucKCBgRDi2V_magic_vital_skilllevel} dégats
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Crée [[@{Voile|multiple_seals}*@{Voile|repeating_magic-vital-skills_-Lk0JQiMYucKCBgRDi2V_magic_vital_skilllevel}]] petites flammes pouvant inflier [[50]] dégats
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Sang de Feu ** Une flamme jaillit des mains de Voile.
|
||||
|
||||
<span class="bold"><span class="f4">[Mineure] Amplitude [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme 10 points de la Porte de souffrance
|
||||
Augmente la puissance de la prochaine attaque de 45*@{Voile|repeating_magic-vital-skills_-Lk0JVQp9Lw7kRfWBI5G_magic_vital_skilllevel} dégats
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Augmente les dégats de la prochaine attaque de [[45*@{Voile|repeating_magic-vital-skills_-Lk0JVQp9Lw7kRfWBI5G_magic_vital_skilllevel}*@{Voile|multiple_seals}]] dégats
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Amplitude ** La lance de Voile semble accellerer soudainement, laissant entendre en traversant l'air un hurlement d'ame en peine.
|
||||
|
||||
<span class="bold"><span class="f4">[Mineure] Ombre [2]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Durée/Buff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme @20 points de la Porte de souffrance
|
||||
Augmente la discrétion de 4*@{Voile|repeating_magic-vital-skills_-Lk0JZeeKHm5vfnrcqpp_magic_vital_skilllevel}
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Augmente la discrétion d'une cible de [[4*@{Voile|repeating_magic-vital-skills_-Lk0JZeeKHm5vfnrcqpp_magic_vital_skilllevel}*@{Voile|multiple_seals}]] jusqu'à la fin du combat
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Ombre ** Une energie lugubre recouvre la peau de Voile, la dissimulant aux regards.
|
||||
|
||||
<span class="bold"><span class="f4">[Mineure] Souffle De Sang [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant/Empower
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme 15 points de la Porte de Souffrance
|
||||
Votre prochaine attaque gagne un Fauchage
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Votre prochaine attaque peut toucher jusqu'a [[@{Voile|repeating_magic-vital-skills_-Lk0IuscZnLZGW3GnEx0_magic_vital_skilllevel}*2*@{Voile|multiple_seals}]] cibles supplémentaires sans malus, elle obeit aux regles de fauchage.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Souffle de Sang ** Dans une détonnation de tonnere, une lame lugubre trache l'air a la suite de l'attaque de Voile.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Torrent pourpre [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Lorsque vous gagnez un point dans la Porte des abysses, gagnez @{Voile|repeating_magic-vital-skills_-Lk0JhpooCT7WC1qoCw2_magic_vital_skilllevel}20 point supplémentaires
|
||||
Lorsque vous gagnez un point dans la Porte de Sang, gagnez @{Voile|repeating_magic-vital-skills_-Lk0JhpooCT7WC1qoCw2_magic_vital_skilllevel}*10 points supplémentaires
|
||||
Lorsque vous gagnez un point dans la Porte de Souffrance, gagnez @{Voile|repeating_magic-vital-skills_-Lk0JhpooCT7WC1qoCw2_magic_vital_skilllevel}*20 points supplémentaires
|
||||
|
||||
<span class="bold"><span class="f4">[Mineure] Temps [16]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme 6 points de la Porte de Abysses.
|
||||
Un sceau se relance
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Votre sceau se relance jusqu'a [[@{Voile|repeating_magic-vital-skills_-Lk0Iq6aEZjX8hGsfbZg_magic_vital_skilllevel}*@{Voile|multiple_seals}]] fois
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Temps ** Une energie sombre jaillit du visage de Voile, copiant ses mouvements avec un leger retard.
|
||||
|
||||
<span class="bold"><span class="f4">[Mineure] Ame [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme 5 points de la Porte de Abysses
|
||||
Augmente la zone d’un sceau a 2*@{Voile|repeating_magic-vital-skills_-Lk0JFRyMCjaM7mSPEzI_magic_vital_skilllevel} cible ou 10*@{Voile|repeating_magic-vital-skills_-Lk0JFRyMCjaM7mSPEzI_magic_vital_skilllevel} metres
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Augmente la zone d’un sceau a [[2*@{Voile|repeating_magic-vital-skills_-Lk0JFRyMCjaM7mSPEzI_magic_vital_skilllevel}*@{Voile|multiple_seals}]] cible ou [[10*@{Voile|repeating_magic-vital-skills_-Lk0JFRyMCjaM7mSPEzI_magic_vital_skilllevel}*@{Voile|multiple_seals}]] metres
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Ame ** Une magie noire se déploie soudainement, étoufant toute une zone dans un miasme de mort.
|
||||
|
||||
<span class="bold"><span class="f4">[Mineure] Influx [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Durée/Buff
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme 3 points de la Porte de Abysses
|
||||
Augmente les attributs physique de 2*@{Voile|repeating_magic-vital-skills_-Lk0J1ZhLzPrkvj3y3S0_magic_vital_skilllevel}
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Vous augmente vos attributs physique de [[2*@{Voile|repeating_magic-vital-skills_-Lk0J1ZhLzPrkvj3y3S0_magic_vital_skilllevel}*@{Voile|multiple_seals}]]
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Influx ** Une energie tenebreuse recouvre Voile.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Bis Repetitas [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Actif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Consomme 4 points de la Porte des Abysses. La prochaine attaque non technique portée contre un adversaire ciblé infligeras [[@{Voile|repeating_magic-vital-skills_-Lk0IHG528wQQzEWVnyC_magic_vital_skilllevel}*50]]&#37; de dégats suplémentaires.
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
La prochaine attaque portée contre un adversaire ciblé infligeras [[@{Voile|repeating_magic-vital-skills_-Lk0IHG528wQQzEWVnyC_magic_vital_skilllevel}*50]]&#37; de dégats suplémentaires.
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
** Bis Repetitas ** Dans un éclat d'energie sombre, un éclat de temps viens heurter la réalitée, brouillant le passé et le présent, frappant encore et encore.
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Brume de sang [4]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif/Buff/Durée
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Lors de l’ouverture d’un sceau, offre un bonus de 20*@{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel} sur votre prochaine esquive
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Ire Sanglante [2]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif/Empower/Durée
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Lors de l’ouverture d’un sceau, offre un bonus de 25*@{Voile|repeating_magic-vital-skills_-Lk0K39r7eCcYVEBFeKy_magic_vital_skilllevel} dégat d’arme a votre prochaine attaque
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Soif Impie [8]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif/Instant & Passif/Buff/Durée
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Lors de l’ouverture d’un sceau, offre un bonus de 2*@{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel} en régénération
|
||||
|
||||
<span class="bold"><span class="f4">[Avancée] Bain de Sang [2]</span></span>
|
||||
<span class="f4"><span class="underline">Type de technique</span></span>
|
||||
Passif/Instant
|
||||
<span class="f4"><span class="underline">Description</span></span>
|
||||
Choisisez l'un : Regagnez [[@{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}*20]] points de vie, regagnez [[6]] actions ou regagnez [[@{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}*42]] points de sang
|
||||
Vous avez [[@{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}]] charges de *Bain de sang*
|
||||
<span class="f4"><span class="underline">Description personelle</span></span>
|
||||
Choisisez l'un : Regagnez [[@{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}*20]] points de vie, regagnez [[6]] actions ou regagnez [[@{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}*42]] points de sang
|
||||
Il vous reste [[@{Voile|bloodbath_charges}-1]] charges de *Bain de sang*
|
||||
<span class="f4"><span class="underline">Description publique</span></span>
|
||||
**Bain de Sang** Les veines de Voile semble soudainement virer au noir sur ses bras.
|
||||
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,173 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">Characters/voile.ini</span>
|
||||
<span class="bold"><span class="f4">[start]</span></span>
|
||||
!setattr --name Voile --momentum|0 --temp_dmg|0 --temp_pdmg|0 --temp_esq|0 --temp_def|0 --temp_pdef|0 --regen|0 --dot|0 --frostdamage|0 --frostshield|0 --momentum_dmg|0 --momentum_esq|0 --pctreceived_b|0 --pctreceived_s|0 --tempo_dmg|0 --tempo_par|0 --tempo_esq|0 --momentum_par|0 --actions|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor(@{Voile|harmony}*@{God|b_wind_har_act})]]|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor(@{Voile|harmony}*@{God|b_wind_har_act})]] --bloodbath_charges|[[@{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}]] --pcthealing|100 --shieldregen|0 --grieviouswounds|1
|
||||
/w Voile Début du combat
|
||||
/w Voile Toutes les reserves sont réinitialisées.
|
||||
<span class="bold"><span class="f4">[turn]</span></span>
|
||||
!setattr --name Voile --Life_Points|[[{@{Voile|Life_Points}+floor(@{Voile|regen}*@{Voile|pcthealing}/100)-1*(@{Voile|dot}),@{Voile|Life_Points|max}}kl1]] --actions|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor(@{Voile|harmony}*@{God|b_wind_har_act})]]|[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor(@{Voile|harmony}*@{God|b_wind_har_act})]]
|
||||
/w Voile Il vous reste @{Voile|bloodbath_charges} utilisations de *Bain de sang*
|
||||
<span class="bold"><span class="f4">[multiple_seals]</span></span>
|
||||
!setattr --name Voile --multiple_seals|[[?{Nombre de sceaux}]]
|
||||
<span class="bold"><span class="f4">[show_harmony]</span></span>
|
||||
/w Voile &{template:default} {{name=Etat d'harmonie}} {{initiative=+[[@{Voile|harmony}*@{God|b_harmony_init}]]}} {{perception=+[[floor(@{Voile|harmony}*@{God|b_harmony_per})]]}} {{Discretion=+[[floor(@{Voile|harmony}*@{God|b_shadow_har_disc})]]}} {{Nombre d'actions=[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor(@{Voile|harmony}*@{God|b_wind_har_act})]]}} {{Attaques d'opportunités=+[[floor(@{Voile|harmony}*@{God|b_wind_har_opp})]]seuil}} {{RM=+[[floor(@{Voile|harmony}*@{God|b_metal_har})]]}} {{Esquive=-[[floor(@{God|b_eth_har}*@{Voile|harmony})]]DD&s}} {{Bonus action mouvement=[[floor(@{God|b_water_har}*@{Voile|repeating_skills_-Lk0Li-kTIahFB0V9Iny_general_skilllevel})]] degrés}}
|
||||
<span class="bold"><span class="f4">[change_harmony]</span></span>
|
||||
!setattr --name Voile --repeating_skills_-Lk0OZCwmTWY0AVmn5jZ_general_skilllevel|[[@{Voile|repeating_skills_-Lk0ONlvjF-Ke6kBOfV1_general_skilllevel}+floor(@{Voile|harmony}*@{God|b_shadow_har_disc})]] --actions||[[@{Voile|base-Agilite}+@{Voile|exal-Agilite}+@{Voile|general_skilllevel_supernatural_reflexes}*2+floor(@{Voile|harmony}*@{God|b_wind_har_act})]] --repeating_skills_-Lk0Oqd0D-uzwPP2JgQI_general_skilllevel|[[floor(@{Voile|repeating_skills_-Lk0OpSq7JnSaXtidJlz_general_skilllevel}+@{Voile|harmony}*@{God|b_metal_har})]] --Initiative|[[@{Voile|repeating_general-combat-skills_-LkJoCQxRED339Hi8os2_general_combat_skilllevel}+floor(@{God|b_harmony_init}*@{Voile|harmony})]]
|
||||
<span class="bold"><span class="f4">[show_momentum]</span></span>
|
||||
/w Voile &{template:default} {{name=Momentum}} {{Attaque=[[floor(@{God|b_momentum_dmg}*@{Voile|momentum})]]}}{{Parade=[[floor(@{God|b_momentum_dmg}*@{Voile|momentum})]]}}{{Esquive=[[floor(@{God|b_momentum_esq}*@{Voile|momentum})]]}}{{Déplacement=[[(@{Voile|base-Agilite}+@{Voile|exal-Agilite})*2+floor(@{God|b_momentum_speed}*@{Voile|momentum})]]}} {{Accrobatie=[[floor(@{Voile|repeating_skills_-Lk0OvBC82YsRXaMneDn_general_skilllevel}+floor(@{Voile|momentum}*@{God|b_momentum_sec}))]]}} {{Saut=[[floor(@{Voile|repeating_skills_-Lk0P-9iI72bg79b2W3e_general_skilllevel}+floor(@{Voile|momentum}*@{God|b_momentum_sec}))]]}} {{Course=[[floor(@{Voile|repeating_skills_-Lk0OsyNJXcxSDfPiOrM_general_skilllevel}+@{Voile|momentum}*@{God|b_momentum_sec})]]}}
|
||||
!setattr --name Voile --momentum_dmg|[[floor(@{God|b_momentum_dmg}*@{Voile|momentum})]] --momentum_par|[[floor(@{God|b_momentum_dmg}*@{Voile|momentum})]] --momentum_esq|[[floor(@{God|b_momentum_esq}*@{Voile|momentum})]] --repeating_skills_-Lk0Ou0iuRqjFl3zh6j8_general_skilllevel|[[floor(@{Voile|repeating_skills_-Lk0OsyNJXcxSDfPiOrM_general_skilllevel}+@{Voile|momentum}*@{God|b_momentum_sec})]] --repeating_skills_-Lk0P0QpdsqtnER6E3hZ_general_skilllevel|[[floor(@{Voile|repeating_skills_-Lk0P-9iI72bg79b2W3e_general_skilllevel}+@{Voile|momentum}*@{God|b_momentum_sec})]] --repeating_skills_-Lk0OyMid1KcRS6-i3NF_general_skilllevel|[[floor(@{Voile|repeating_skills_-Lk0OvBC82YsRXaMneDn_general_skilllevel}+@{Voile|momentum}*@{God|b_momentum_sec})]]
|
||||
/w Voile Votre attaque et votre parade bénéficient d'un bonus de [[floor(@{God|b_momentum_dmg}*@{Voile|momentum})]], votre esquive beneficie d'un bonus de [[floor(@{God|b_momentum_esq}*@{Voile|momentum})]] et votre vitesse de déplacement est désormais de [[(@{Voile|base-Agilite}+@{Voile|exal-Agilite})+floor(@{God|b_momentum_speed}*@{Voile|momentum})]].
|
||||
<span class="bold"><span class="f4">[change_momentum]</span></span>
|
||||
!setattr --name Voile --momentum|[[{@{God|b_momentum_max}*@{Voile|repeating_skills_-Lk0MZh88yaOnxpRaacq_general_skilllevel},@{Voile|momentum}+@{God|b_add_momentum}}kl1]] --momentum_dmg|[[floor(@{God|b_momentum_dmg}*(@{Voile|momentum}+@{God|b_add_momentum}))]] --momentum_par|[[floor(@{God|b_momentum_dmg}*(@{Voile|momentum}+@{God|b_add_momentum}))]] --momentum_esq|[[floor(@{God|b_momentum_esq}*(@{Voile|momentum}+@{God|b_add_momentum}))]] --repeating_skills_-Lk0Ou0iuRqjFl3zh6j8_general_skilllevel|[[floor(@{Voile|repeating_skills_-Lk0OsyNJXcxSDfPiOrM_general_skilllevel}+@{Voile|momentum}*@{God|b_momentum_sec})]] --repeating_skills_-Lk0P0QpdsqtnER6E3hZ_general_skilllevel|[[floor(@{Voile|repeating_skills_-Lk0P-9iI72bg79b2W3e_general_skilllevel}+@{Voile|momentum}*@{God|b_momentum_sec})]] --repeating_skills_-Lk0OyMid1KcRS6-i3NF_general_skilllevel|[[floor(@{Voile|repeating_skills_-Lk0OvBC82YsRXaMneDn_general_skilllevel}+@{Voile|momentum}*@{God|b_momentum_sec})]]
|
||||
<span class="bold"><span class="f4">[show_blood]</span></span>
|
||||
#change_blood
|
||||
/w Voile Offre un bonus de [[@{God|b_brumesang_value}*@{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel}*@{Voile|multiple_seals}]] sur votre prochaine esquive
|
||||
/w Voile Vous gagnez un bonus de [[@{God|b_iresanglante_dmg}*@{Voile|repeating_magic-vital-skills_-Lk0K39r7eCcYVEBFeKy_magic_vital_skilllevel}*@{Voile|multiple_seals}]] dégat d’arme a votre prochaine attaque
|
||||
/w Voile Vous regagnez [[(@{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel}*10)]] points de vie et un bonus de [[@{God|b_soifimpie_rgn}*@{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel}*@{Voile|multiple_seals}]] en régénération jusqu'a la fin du combat
|
||||
<span class="bold"><span class="f4">[change_blood]</span></span>
|
||||
!setattr --name Voile --mod --temp_dmg|[[@{God|b_iresanglante_dmg}*@{Voile|repeating_magic-vital-skills_-Lk0K39r7eCcYVEBFeKy_magic_vital_skilllevel}*@{Voile|multiple_seals}]] --temp_esq|[[@{God|b_brumesang_value}*@{Voile|repeating_magic-vital-skills_-Lk0JovHaDzlyDlxntqG_magic_vital_skilllevel}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --Life_Points|[[{@{Voile|Life_Points}+@{God|b_soifimpie_rgn}*@{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel}*@{Voile|multiple_seals}, @{Voile|Life_Points|max}}kl1]] --regen|[[@{God|b_soifimpie_rgn}*@{Voile|repeating_magic-vital-skills_-Lk0KBJLxY9ZzAgs4ZHh_magic_vital_skilllevel}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
<span class="bold"><span class="f4">[attaque_macro]</span></span>
|
||||
!crit ?{Nombre de des d'attaque} P @{Voile|general_effective_Perfection} c @{Voile|crit_level} M @{Voile|skillcost_Technique_martiale} @{Voile|general_effective_Technique_martiale} E @{Voile|skillcost_Exploiter_les_points_faibles} @{Voile|general_effective_Exploiter_les_points_faibles} F @{Voile|general_effective_Fauchage} D @{Voile|general_effective_Coup_dechirant} H @{Voile|base_damage_dices} H @{Voile|exal_damage_dices} A @{Voile|Skill_general_attribute_select_attaque} s @{Voile|general_attack_threshold} l @{Voile|general_attack_addall} a a n @{Voile|undescored_name} + @{Voile|additional_damage_dices} + @{Voile|general_effective_weapon1} + @{Voile|general_effective_weapon2} t @{Voile|transcendence} + @{Voile|general_effective_weapon3} f @{Voile|pctinflicted} f @{Voile|pctinflicted_s} f @{Voile|pctinflicted_b} + @{Voile|temp_dmg} f @{Voile|temp_pdmg} + @{Voile|momentum_dmg} + @{Voile|tempo_dmg}
|
||||
!setattr --name Voile --temp_pdmg|0 --temp_dmg|0 --tempo_dmg|0
|
||||
#change_momentum
|
||||
<span class="bold"><span class="f4">[esquive_macro]</span></span>
|
||||
!crit ?{Nombre de des d'esquive} I @{Voile|skillcost_Defense_impenetrable} @{Voile|general_effective_Defense_impenetrable} R @{Voile|general_effective_Rempart_parfait} c @{Voile|crit_level} H @{Voile|base_dodge_dices} A @{Voile|Skill_general_attribute_select_dodge} t @{Voile|transcendence} s ?{Voile|Seuil d'esquive} - ?{Dégats a esquiver|0} a e n @{Voile|undescored_name} v @{Voile|pctreceived} v @{Voile|pctreceived_s} v @{Voile|pctreceived_b} + @{Voile|temp_esq} + @{Voile|momentum_esq} + @{Voile|tempo_esq}
|
||||
!setattr --name Voile --temp_esq|0 --tempo_esq|0
|
||||
#change_momentum
|
||||
<span class="bold"><span class="f4">[parade_macro]</span></span>
|
||||
!crit ?{Nombre de des de defense} I @{Voile|skillcost_Defense_impenetrable} @{Voile|general_effective_Defense_impenetrable} R @{Voile|general_effective_Rempart_parfait} c @{Voile|crit_level} S @{Voile|general_skilllevel_Encaissement} @{Voile|general_effective_Encaissement} H @{Voile|base_defense_dices} H @{Voile|exal_defense_dices} s @{Voile|general_defense_threshold} l @{Voile|general_defense_addall} A @{Voile|Skill_general_attribute_select_defense} t @{Voile|transcendence} - ?{Dégats a parer|0} a d n @{Voile|undescored_name} + @{Voile|general_effective_shield1} + @{Voile|general_effective_shield2} + @{Voile|general_effective_shield3} v @{Voile|pctreceived} v @{Voile|pctreceived_s} v @{Voile|pctreceived_b} v @{Voile|temp_pdef} + @{Voile|temp_def} + @{Voile|momentum_esq} + @{Voile|tempo_par} ?{Type d'attaque|Magique,+ @{Voile|general_skilllevel_res_magique_effective} v @{Voile|res_magique_pct}|Voile,+ @{Voile|general_skilllevel_res_voile_effective} v @{Voile|res_voile_pct}|Divine,+ @{Voile|general_skilllevel_res_divine_effective} v @{Voile|res_divine_pct}|Existence,0|Physique,+ @{Voile|general_skilllevel_res_physique_effective} v @{Voile|res_physique_pct}} + @{Voile|general_skilllevel_res_omega_effective} v @{Voile|res_omega_pct}
|
||||
!setattr --name Voile --temp_pdef|0 --temp_def|0 --tempo_par|0
|
||||
#change_momentum
|
||||
<span class="bold"><span class="f4">[parade_brute_macro]</span></span>
|
||||
!crit ?{Nombre de des de defense} I @{Voile|skillcost_Defense_impenetrable} @{Voile|general_effective_Defense_impenetrable} R @{Voile|general_effective_Rempart_parfait} c @{Voile|crit_level} S @{Voile|general_skilllevel_Encaissement} @{Voile|general_effective_Encaissement} H @{Voile|base_defense_dices} H @{Voile|exal_defense_dices} s @{Voile|general_defense_threshold} l @{Voile|general_defense_addall} A @{Voile|Skill_general_attribute_select_defense} t @{Voile|transcendence} - ?{Dégats a parer|0} a d n @{Voile|undescored_name} + @{Voile|general_effective_shield3} v @{Voile|pctreceived} v @{Voile|pctreceived_s} v @{Voile|pctreceived_b} v @{Voile|temp_pdef} + @{Voile|temp_def} + @{Voile|momentum_esq} ?{Type d'attaque|Magique,+ @{Voile|general_skilllevel_res_magique_effective} v @{Voile|res_magique_pct}|Voile,+ @{Voile|general_skilllevel_res_voile_effective} v @{Voile|res_voile_pct}|Divine,+ @{Voile|general_skilllevel_res_divine_effective} v @{Voile|res_divine_pct}|Existence,0|Physique,+ @{Voile|general_skilllevel_res_physique_effective} v @{Voile|res_physique_pct}} + @{Voile|general_skilllevel_res_omega_effective} v @{Voile|res_omega_pct}
|
||||
!setattr --name Voile --temp_pdef|0 --temp_def|0
|
||||
#change_momentum
|
||||
<span class="bold"><span class="f4">[harmony]</span></span>
|
||||
!setattr --name Voile --harmony|[[?{Niveau d'harmonie}]]
|
||||
/w Voile Vous changez votre niveau d'harmonie
|
||||
<span class="bold"><span class="f4">[shadow_har]</span></span>
|
||||
!setattr --name Voile --mod --harmony|-1
|
||||
/w Voile Voile augmente son état de conscience du réel, les adversaires et objets dans un cercle de [[@{Voile|harmony}*@{God|b_shadow_har}*@{Voile|repeating_skills_-Lk0Ld9vbR5NTT6DFitP_general_skilllevel}]] metres aux alentours revelent leur vraie nature.
|
||||
** Harmonie de l'ombre ** Voile obtiens pendant un cours instant une image de la réalité au dela des apparences, dans un rayon de [[@{Voile|harmony}*@{God|b_shadow_har}*@{Voile|repeating_skills_-Lk0Ld9vbR5NTT6DFitP_general_skilllevel}]] metres.
|
||||
<span class="bold"><span class="f4">[wind_har]</span></span>
|
||||
!setattr --name Voile --mod --harmony|-1
|
||||
/w Voile Vous pouvez réapparaitre n'importe ou dans un cercle de [[@{Voile|repeating_skills_-Lk0LfoIZqkpZCKWUf8I_general_skilllevel}]] metres autours de vous.
|
||||
** Harmonie du vent ** La présence de Voile deviens intangible pendant un bref instant, la rendant insensible a toutes les formes de dégats.
|
||||
<span class="bold"><span class="f4">[water_har]</span></span>
|
||||
!setattr --name Voile --mod --harmony|-1
|
||||
/w Voile Vous pouvez ignorer la plupars des contraintes physiques pendant [[@{Voile|repeating_skills_-Lk0Li-kTIahFB0V9Iny_general_skilllevel}]] actions.
|
||||
** Harmonie de l'eau ** Pendant un cours instant, Voile dénie les effets des regles du monde materiel. Sa conscience de sa place dans le monde et de la maniere dont elle peut interagir avec celui ci s'affaiblit.
|
||||
<span class="bold"><span class="f4">[metal_har]</span></span>
|
||||
!setattr --name Voile --mod --harmony|-1
|
||||
/w Voile Votre esprit se renforce, repoussant les effets déléteres sur vous.
|
||||
** Harmonie du metal ** La volontée de Voile s'affirme, soufflant les influences négatives.
|
||||
<span class="bold"><span class="f4">[eth_har]</span></span>
|
||||
!setattr --name Voile --mod --harmony|-1
|
||||
/w Voile Vos @{Voile|repeating_skills_-LmBMUm9kLgbLrFbzmsi_general_skilllevel} prochaines actions comptent comme des actions libres
|
||||
** Harmonie Etherée ** La vitesse de Voile semble démultipliée pendant un instant.
|
||||
<span class="bold"><span class="f4">[fou_har]</span></span>
|
||||
!setattr --name Voile --mod --harmony|-1 --temp_dmg|[[floor(@{Voile|repeating_skills_-LmBMY-4IJtvXEUdPjkN_general_skilllevel}*@{Voile|shield}*@{God|b_fou_dmg})]]
|
||||
!setattr --name Voile --shield|0
|
||||
/w Voile Votre prochainne attaque infligera [[floor(@{Voile|repeating_skills_-LmBMY-4IJtvXEUdPjkN_general_skilllevel}*@{Voile|shield}*@{God|b_fou_dmg})]] dégats de foudre supplementaire
|
||||
** Harmonie Foudroyante ** Les boucliers de Voile volent en éclat, l'energie s'accumulant dans son arme, flamboyant d'energie a travers le champs de bataille
|
||||
<span class="bold"><span class="f4">[momentum]</span></span>
|
||||
/w Voile Vous gagnez un point de Momentum. Votre attaque et votre parade bénéficient d'un bonus de [[@{God|b_momentum_dmg}*@{Voile|momentum}]], votre esquive beneficie d'un bonus de [[@{God|b_momentum_esq}*@{Voile|momentum}]] et votre vitesse de déplacement est désormais de [[(@{Voile|base-Agilite}+@{Voile|exal-Agilite})+@{God|b_momentum_speed}*@{Voile|momentum}]].
|
||||
La vitesse et la puissance de Voile augmente, ne laissant apparaitre qu'une silhouette. brouillée par la vitesse.
|
||||
<span class="bold"><span class="f4">[impact]</span></span>
|
||||
!setattr --name Voile --mod --temp_dmg|[[@{Voile|repeating_skills_-Lk0Mb-NlPrZS0G8qZEt_general_skilllevel}*@{God|b_impact}*@{Voile|momentum}]]
|
||||
!setattr --name Voile --momentum|0 --momentum_dmg|0 --momentum_par|0 --momentum_esq|0
|
||||
/w Voile Vous perdez votre momentum
|
||||
/w Voile [Placer l'Impact](!&#13;#place_aoe Impact)
|
||||
** Impact ** Un terrible impact sur une zone de [[floor((@{Voile|repeating_skills_-Lk0Mb-NlPrZS0G8qZEt_general_skilllevel}+@{God|b_impact_size_base})*@{God|b_impact_size}*@{Voile|momentum})]] mètres infligeant [[@{Voile|repeating_skills_-Lk0Mb-NlPrZS0G8qZEt_general_skilllevel}*@{God|b_impact}*@{Voile|momentum}]] dégâts bonus à l’attaque
|
||||
<span class="bold"><span class="f4">[adagio]</span></span>
|
||||
!setattr --name Voile --momentum|[[{@{God|b_momentum_max}*@{Voile|repeating_skills_-Lk0MZh88yaOnxpRaacq_general_skilllevel},@{Voile|momentum}+(?{Nombre d'adversaires touchés})*@{God|b_adagio}}kl1]]
|
||||
/w Voile Voile saute d'adversaire en adversaire (jusqu'a @{Voile|repeating_skills_-Lk0Mbt8pCFsrUR0Oddn_general_skilllevel} adversaires différent), n'appliquant que ses on hit a chaque adversaire.
|
||||
** Adagio ** Voile utilise ses differents adversaires pour rebondir de l'un a l'autre et augmenter son Momentum
|
||||
<span class="bold"><span class="f4">[tempo_martial]</span></span>
|
||||
!setattr --name Voile --mod --actions|-@{God|b_tempo_dep}
|
||||
!setattr --name Voile --tempo_dmg|[[{@{Voile|tempo_dmg}+@{God|b_tempo}*@{Voile|repeating_skills_-Lk0NBFvdaBqbDj1zZ6l_general_skilllevel},@{God|b_tempo_max}*@{Voile|repeating_skills_-Lk0NBFvdaBqbDj1zZ6l_general_skilllevel}}kl1]] --tempo_par|[[{@{Voile|tempo_par}+@{God|b_tempo}*@{Voile|repeating_skills_-Lk0NBFvdaBqbDj1zZ6l_general_skilllevel},@{God|b_tempo_max}*@{Voile|repeating_skills_-Lk0NBFvdaBqbDj1zZ6l_general_skilllevel}}kl1]] --tempo_esq|[[{@{Voile|tempo_esq}+@{God|b_tempo}*@{Voile|repeating_skills_-Lk0NBFvdaBqbDj1zZ6l_general_skilllevel},@{God|b_tempo_max}*@{Voile|repeating_skills_-Lk0NBFvdaBqbDj1zZ6l_general_skilllevel}}kl1]]
|
||||
/w Voile Sacrifiez [[@{God|b_tempo_dep}]] actions; votre prochaine action physique baisse de [[round(@{Voile|repeating_skills_-Lk0NBFvdaBqbDj1zZ6l_general_skilllevel}*@{God|b_tempo_degre})]] degrés de difiiculté, vous gagnez un bonus de [[@{God|b_tempo}*@{Voile|repeating_skills_-Lk0NBFvdaBqbDj1zZ6l_general_skilllevel}]] a votre prochaine attaque, votre prochaine parade et votre prochaine esquive.
|
||||
** Tempo Martial ** Voile se synchronyse au tempo de ses adversaires pour se servir de leurs actions contre eux, faisant tourbilloner sa lance autour d'elle.
|
||||
<span class="bold"><span class="f4">[sceau_phenix]</span></span>
|
||||
!setattr --name Hellsdoor --mod --blood_gate|-[[80]]
|
||||
/w Voile Les @{Voile|repeating_magic-vital-skills_-Lk0HmbYyglmpIEtJtRV_magic_vital_skilllevel} prochaines attaques ne peuvent pas vous tuer, a chaque fois que vous devriez mourir regagnez [[@{God|b_phenix_reg}]] points de vie a la place.
|
||||
** Sceau du Phenix ** Dans l’adversité, le Phénix de Voile se relève de ses Cendre, les blessures se refermant dans une gerbe de sang frais.
|
||||
<span class="bold"><span class="f4">[Lune_de_Sang]</span></span>
|
||||
!setattr --name Voile --mod --shield|[[@{God|b_sceaulunesang_shield}*(@{Voile|repeating_magic-vital-skills_-Lk0IPjvvYGG2jNhSLZL_magic_vital_skilllevel}+@{God|b_sceaulunesang_base})*@{Voile|multiple_seals}]]
|
||||
!setattr --name Hellsdoor --mod --blood_gate|[[-1*@{God|b_lune_de_sang_charge_level}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
/w Voile Crée un bouclier d’une valeur [[@{God|b_sceaulunesang_shield}*(@{Voile|repeating_magic-vital-skills_-Lk0IPjvvYGG2jNhSLZL_magic_vital_skilllevel}+@{God|b_sceaulunesang_base})*@{Voile|multiple_seals}]]
|
||||
** Lune de Sang ** Les veine de Voile éclatent projetant un mur de sang dans toutes les directions.
|
||||
<span class="bold"><span class="f4">[Sang]</span></span>
|
||||
!setattr --name Hellsdoor --mod --blood_gate|[[-1*@{God|b_sang_charge_level}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
/w Voile Inflige [[@{God|b_sang_dmg}*@{Voile|repeating_magic-vital-skills_-Lk0Ikx5LI0341mCvRDZ_magic_vital_skilllevel}]] blessures
|
||||
** Sang ** Un éclat de douleur dans un éclat d'acier, voile inflige [[@{God|b_sang_dmg}*@{Voile|repeating_magic-vital-skills_-Lk0Ikx5LI0341mCvRDZ_magic_vital_skilllevel}*@{Voile|multiple_seals}]] blessures sur une cible a [[@{Voile|repeating_magic-vital-skills_-Lk0Ikx5LI0341mCvRDZ_magic_vital_skilllevel}]] metres d'elle.
|
||||
<span class="bold"><span class="f4">[Contresang]</span></span>
|
||||
!setattr --name Hellsdoor --mod --blood_gate|[[-@{God|b_contresang_charge_level}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --Life_Points|[[{@{Voile|Life_Points}+[[floor(@{Voile|pcthealing}*@{God|b_contresang_soin}/100)*@{Voile|multiple_seals}]],@{Voile|Life_Points|max}}kl1]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
/w Voile Vous regagnez [[@{God|b_contresang_soin}*@{Voile|repeating_magic-vital-skills_-Lk0J6g4u8NBNAFB3asT_magic_vital_skilllevel}*@{Voile|multiple_seals}]] points de vie
|
||||
** Contresang ** Le sang jaillit des veines de la main gauche de Voile pour combler les blessures.
|
||||
<span class="bold"><span class="f4">[Sang_de_Feu]</span></span>
|
||||
!setattr --name Hellsdoor --mod --blood_gate|[[-@{God|b_sangfeu_charge_level}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
/w Voile Crée [[@{Voile|multiple_seals}*@{Voile|repeating_magic-vital-skills_-Lk0JQiMYucKCBgRDi2V_magic_vital_skilllevel}]] petites flammes pouvant inflier [[@{God|b_sangfeu_dmg}]] dégats
|
||||
** Sang de Feu ** Une flamme jaillit des mains de Voile.
|
||||
<span class="bold"><span class="f4">[Amplitude]</span></span>
|
||||
!setattr --name Hellsdoor --mod --suffering_gate|[[-@{God|b_amplitude_chargelevel}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --mod --temp_dmg|[[@{God|b_amplitude_percent}*@{Voile|repeating_magic-vital-skills_-Lk0JVQp9Lw7kRfWBI5G_magic_vital_skilllevel}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
/w Voile Augmente les dégats de la prochaine attaque de [[@{God|b_amplitude_percent}*@{Voile|repeating_magic-vital-skills_-Lk0JVQp9Lw7kRfWBI5G_magic_vital_skilllevel}*@{Voile|multiple_seals}]] dégats
|
||||
** Amplitude ** La lance de Voile semble accellerer soudainement, laissant entendre en traversant l'air un hurlement d'ame en peine.
|
||||
<span class="bold"><span class="f4">[Ombre]</span></span>
|
||||
!setattr --name Hellsdoor --mod --suffering_gate|[[-@{God|b_ombre_chargelevel}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
/w Voile Augmente la discrétion d'une cible de [[@{God|b_ombre_discretion}*@{Voile|repeating_magic-vital-skills_-Lk0JZeeKHm5vfnrcqpp_magic_vital_skilllevel}*@{Voile|multiple_seals}]] jusqu'à la fin du combat
|
||||
** Ombre ** Une energie lugubre recouvre la peau de Voile, la dissimulant aux regards.
|
||||
<span class="bold"><span class="f4">[Souffle_de_sang]</span></span>
|
||||
!setattr --name Hellsdoor --mod --suffering_gate|[[-@{God|b_souffle_de_sang_charge_level}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
/w Voile Votre prochaine attaque peut toucher jusqu'a [[@{Voile|repeating_magic-vital-skills_-Lk0IuscZnLZGW3GnEx0_magic_vital_skilllevel}*@{God|b_souffle_de_sang}*@{Voile|multiple_seals}]] cibles supplémentaires sans malus, elle obeit aux regles de fauchage.
|
||||
** Souffle de Sang ** Dans une détonnation de tonnere, une lame lugubre trache l'air a la suite de l'attaque de Voile.
|
||||
<span class="bold"><span class="f4">[Torrent_Pourpre]</span></span>
|
||||
!setattr --name Hellsdoor --mod --suffering_gate|[[floor(?{Ouverture de la porte de la Souffrance}*(@{Voile|repeating_magic-vital-skills_-Lk0JhpooCT7WC1qoCw2_magic_vital_skilllevel}*@{God|b_torrentpourpre_souffrance}+@{God|b_base_abysse})/100)]] --abyss_gate|[[floor(?{Ouverture de la porte des Abysses}*(@{Voile|repeating_magic-vital-skills_-Lk0JhpooCT7WC1qoCw2_magic_vital_skilllevel}*@{God|b_torrentpourpre_abysse}+@{God|b_base_souffrance})/100)]] --blood_gate|[[floor(?{Ouverture de la porte de Sang}*(@{Voile|repeating_magic-vital-skills_-Lk0JhpooCT7WC1qoCw2_magic_vital_skilllevel}*@{God|b_torrentpourpre_sang}+@{God|b_base_sang})/100)]]
|
||||
<span class="bold"><span class="f4">[Temps]</span></span>
|
||||
!setattr --name Hellsdoor --mod --abyss_gate|[[-@{God|b_temps_charge_level}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
/w Voile Votre sceau se relance jusqu'a [[@{Voile|repeating_magic-vital-skills_-Lk0Iq6aEZjX8hGsfbZg_magic_vital_skilllevel}*@{Voile|multiple_seals}]] fois
|
||||
** Temps ** Une energie sombre jaillit du visage de Voile, copiant ses mouvements avec un leger retard.
|
||||
<span class="bold"><span class="f4">[Ame]</span></span>
|
||||
!setattr --name Hellsdoor --mod --abyss_gate|[[-@{God|b_ame_charge_level}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
/w Voile Augmente la zone d’un sceau a [[@{God|b_ame_target}*@{Voile|repeating_magic-vital-skills_-Lk0JFRyMCjaM7mSPEzI_magic_vital_skilllevel}*@{Voile|multiple_seals}]] cible ou [[@{God|b_ame_alt_range}*@{Voile|repeating_magic-vital-skills_-Lk0JFRyMCjaM7mSPEzI_magic_vital_skilllevel}*@{Voile|multiple_seals}]] metres
|
||||
** Ame ** Une magie noire se déploie soudainement, étoufant toute une zone dans un miasme de mort.
|
||||
<span class="bold"><span class="f4">[Influx]</span></span>
|
||||
!setattr --name Hellsdoor --mod --abyss_gate|[[-@{God|b_influx_charge_level}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
/w Voile Vous augmente vos attributs physique de [[@{God|b_influx_phys}*@{Voile|repeating_magic-vital-skills_-Lk0J1ZhLzPrkvj3y3S0_magic_vital_skilllevel}*@{Voile|multiple_seals}]]
|
||||
** Influx ** Une energie tenebreuse recouvre Voile.
|
||||
<span class="bold"><span class="f4">[bis_repetitas]</span></span>
|
||||
!setattr --name Hellsdoor --mod --abyss_gate|-[[@{God|b_bis_repetitas_charge_level}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --mod --temp_pdmg|[[@{Voile|repeating_magic-vital-skills_-Lk0IHG528wQQzEWVnyC_magic_vital_skilllevel}*@{God|b_bis_repetitas_onhit}*@{Voile|multiple_seals}]]
|
||||
!setattr --name Voile --multiple_seals|1
|
||||
/w Voile La prochaine attaque portée contre un adversaire ciblé infligeras [[@{Voile|repeating_magic-vital-skills_-Lk0IHG528wQQzEWVnyC_magic_vital_skilllevel}*@{God|b_Bis_repetitas_Onhit}]]&#37; de dégats suplémentaires.
|
||||
** Bis Repetitas ** Dans un éclat d'energie sombre, un éclat de temps viens heurter la réalitée, brouillant le passé et le présent, frappant encore et encore.
|
||||
<span class="bold"><span class="f4">[Bain_de_Sang]</span></span>
|
||||
!setattr --name Voile --mod --bloodbath_charges|-1
|
||||
/w Voile Choisisez l'un : Regagnez [[@{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}*@{God|b_bloodbath_heal}]] points de vie, regagnez [[@{God|b_bloodbath_act}]] actions ou regagnez [[@{Voile|repeating_magic-vital-skills_-Lk0KWNdsKB9AeKJwoRI_magic_vital_skilllevel}*@{God|b_bloodbath}]] points de sang
|
||||
/w Voile Il vous reste [[@{Voile|bloodbath_charges}-1]] charges de *Bain de sang*
|
||||
**Bain de Sang** Les veines de Voile semble soudainement virer au noir sur ses bras.
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
//Variables a initialiser par parse
|
||||
/*
|
||||
var nb_dices=0;
|
||||
Action a a e d
|
||||
var all_dices d*
|
||||
var nb_2add=0; //+
|
||||
var nb_2sub=0; //-
|
||||
|
||||
var relances=0; //r
|
||||
Perfection P
|
||||
|
||||
Defense
|
||||
Défense_impénétrable I 1
|
||||
Défense_impénétrable I 2 - Rappel
|
||||
Défense_impénétrable I 4
|
||||
Rempart_parfait R
|
||||
|
||||
Offense
|
||||
Technique_martiale M 1
|
||||
Technique_martiale M 2
|
||||
Coup_déchirant D
|
||||
Fauchage F
|
||||
Exploiter_les_points_faibles E 1
|
||||
Exploiter_les_points_faibles E 2 - Rappel
|
||||
Exploiter_les_points_faibles E 4
|
||||
|
||||
Spécial
|
||||
Tir_précis T 1
|
||||
Tir_précis T 2
|
||||
Tir_implacable i
|
||||
Charge C
|
||||
Charge_indomptable N - (Sur la feuille de perso)
|
||||
Seuil s
|
||||
On Hit crit H
|
||||
Attribute values A
|
||||
Encaissement S
|
||||
|
||||
*/
|
||||
|
||||
// SKILLNAME
|
||||
on("change:skill_SKILLNAME_activation change:general_skilllevel_SKILLNAME", function() {
|
||||
getAttrs(["skill_SKILLNAME_activation", "general_skilllevel_SKILLNAME"], function(values) {
|
||||
setAttrs({"general_effective_SKILLNAME":values.skill_SKILLNAME_activation*values.general_skilllevel_SKILLNAME});
|
||||
});
|
||||
});
|
||||
|
||||
<!--SKILLNAME -->
|
||||
<input class="sheet-skill_name" style="margin-right: 4px;" type="text" name="attr_general_skill_SKILLNAME" disabled="true" value="SKILLNAME" title="Nom de la compétence" />
|
||||
<input type="number" min="0" value= "0" name="attr_skillcost_SKILLNAME" title="Coût de la compétence"/>
|
||||
<input class="sheet-skill_name" value= "0" style="margin-right: 4px;" type="number" min="0" max="10" name="attr_general_skilllevel_SKILLNAME" title="Niveau dans la compétence" />
|
||||
<select class="sheet-skill_select" style="margin-right:4px" name="attr_Skill_general_attribute_select_SKILLNAME"><option value="@{base-Force} + @{exal-Force}">For</option><option value="@{base-Agilite} + @{exal-Agilite}">Agi</option><option value="@{base-Perception} + @{exal-Perception}">Per</option><option value="@{base-Charisme} + @{exal-Charisme}">Cha</option><option value="@{base-Intelligence} + @{exal-Intelligence}">Int</option><option value="@{base-Perception} + @{exal-Perception}">Per</option><option value="@{base-Volonte} + @{exal-Volonte}">Vol</option><option value="@{base-Psyche} + @{exal-Psyche}">Psy</option><option value="@{base-Chance} + @{exal-Chance}">Chn</option></select>
|
||||
<button type='roll' class="sheet-skillbutton" value="/e fait un jet de @{general_skill_SKILLNAME} [[(@{general_skilllevel_SKILLNAME}+(@{Skill_general_attribute_select_SKILLNAME}) - d@{dice})]] "></button>
|
||||
<input type="checkbox" class="sheet-skill_activation" style="margin-right: 4px;" value="1" name="attr_skill_SKILLNAME_activation" />
|
||||
<input class="sheet-skill_hidden" value= "0" type="number" name="attr_general_effective_SKILLNAME"/>
|
||||
|
||||
<!--FIELD_TYPE -->
|
||||
<fieldset class="repeating_FIELD_TYPE-skills">
|
||||
<input class="sheet-skill_name" type="text" name="attr_FIELD_TYPE_skillname" title="Nom de la compétence" />
|
||||
<input type="number" name="attr_FIELD_TYPE_skillcost" title="Coût de la compétence" />
|
||||
<input type="number" min="-10" max="10" name="attr_FIELD_TYPE_skilllevel" title="Niveau dans la compétence" />
|
||||
<select class="sheet-skill_select" name="attr_FIELD_TYPE_attribute_select">
|
||||
<option value="@{base-Force} + @{exal-Force}">For</option>
|
||||
<option value="@{base-Agilite} + @{exal-Agilite}">Agi</option>
|
||||
<option value="@{base-Perception} + @{exal-Perception}">Per</option>
|
||||
<option value="@{base-Charisme} + @{exal-Charisme}">Cha</option>
|
||||
<option value="@{base-Intelligence} + @{exal-Intelligence}">Int</option>
|
||||
<option value="@{base-Perception} + @{exal-Perception}">Per</option>
|
||||
<option value="@{base-Volonte} + @{exal-Volonte}">Vol</option>
|
||||
<option value="@{base-Psyche} + @{exal-Psyche}">Psy</option>
|
||||
<option value="@{base-Chance} + @{exal-Chance}">Chn</option>
|
||||
</select>
|
||||
<button type='roll' class="sheet-skillbutton" value="/e fait un jet de @{FIELD_TYPE_skillname} au d@{dice} [[@{FIELD_TYPE_skilllevel}+(@{FIELD_TYPE_attribute_select}) - d@{dice}]]"></button>
|
||||
</fieldset>
|
||||
|
||||
<!--shield3 -->
|
||||
<input class="sheet-skill_name" style="margin-right: 0px;" type="text" name="attr_general_item_shield3_name" value="shield3" />
|
||||
<input class="sheet-skill_name" value="0" style="margin-right: 0px;" type="number" name="attr_general_item_shield3" title="Valeur de l'équipemet" />
|
||||
<input type="checkbox" class="sheet-skill_activation" value="1" name="attr_item_shield3_activation" />
|
||||
<input class="sheet-skill_hidden" value="0" type="number" name="attr_general_effective_shield3" />
|
||||
|
||||
// shield3
|
||||
on("change:item_shield3_activation change:general_item_shield3", function() {
|
||||
getAttrs(["item_shield3_activation", "general_item_shield3"], function(values) {
|
||||
setAttrs({"general_effective_shield3":values.item_shield3_activation*values.general_item_shield3});
|
||||
});
|
||||
});
|
||||
|
||||
name roll_name dice_name result threshold
|
||||
/e - Test d.+(\w*).*\[\[(.*)-.*\]\]
|
||||
&{template:d10skillcheck}{{name=@{character_name}} {{roll_name=$1}} {{dice_name=@{dice}}} {{result=$2}} {{threshold=[[]]}}
|
||||
|
||||
/e .* @{(\w*)}.*\[(.*) -.*\)?\]\]
|
||||
&{template:d10skillcheck}{{name=@{character_name}}} {{roll_name=@{$1}}} {{dice_name=@{dice}}} {{result=[[$2-d@{dice}cs1cf@{dice}]]}} {{threshold=[[$2]]}}
|
||||
|
|
@ -0,0 +1,87 @@
|
|||
#!/bin/python3
|
||||
#coding: utf-8
|
||||
elems=["eau", "air","terre","feu","glace","metal","magma","vapeur","bois","foudre"]
|
||||
|
||||
def makes(skill):
|
||||
return "@{{elem_{}}}".format(skill)
|
||||
|
||||
def makeb(skill):
|
||||
return "@{{elem_{}_buff}}".format(skill)
|
||||
|
||||
def maket(skill):
|
||||
return "@{{elem_{}_tot}}".format(skill)
|
||||
|
||||
mat_adj=[
|
||||
[2, 0, 0, 0, 1, 0, 0, 1, 1, 0],
|
||||
[0, 2, 0, 0, 1, 1, 0, 0, 0, 1],
|
||||
[0, 0, 2, 0, 0, 1, 1, 0, 1, 0],
|
||||
[0, 0, 0, 2, 0, 0, 1, 1, 0, 1],
|
||||
[1, 1, 0, 0, 3, 0, 0, 0, 0, 0],
|
||||
[0, 1, 1, 0, 0, 3, 0, 0, 0, 0],
|
||||
[0, 0, 1, 1, 0, 0, 3, 0, 0, 0],
|
||||
[1, 0, 0, 1, 0, 0, 0, 3, 0, 0],
|
||||
[1, 0, 1, 0, 0, 0, 0, 0, 3, 0],
|
||||
[0, 1, 0, 1, 0, 0, 0, 0, 0, 3]
|
||||
]
|
||||
|
||||
contexts=[
|
||||
"Influence l'aptitude à prodiguer des soins et les dégats des attaques élémentaires d'eau",
|
||||
"Influence l'aptitude à générer des boucliers et les dégats des attaques élémentaires de vent",
|
||||
"Influence l'aptitude à infliger des altération d'état physiques (renversement etc...) et les dégats des attaques élémentaires de terre",
|
||||
"Influence l'aptitude à infliger des dégats et les dégats des attaques élémentaires de feu",
|
||||
"Influence l'aptitude à infliger des altération d'état magiques et les dégats des attaques élémentaires de glace",
|
||||
"Influence l'aptitude à changer les caractéristiques physiques, négativement et positivement et les dégats non élémentaires",
|
||||
"Influence l'aptitude à infliger des maux et maladies ainsi que les dégats de lave",
|
||||
"Influence l'aptitude à changer les caractéristiques magiques, négativement et positivement ainsi que les dégats toxiques",
|
||||
"Influence l'aptitude à diminuer les soins et dimminuer les dégats infligés ainsi qu'augmenter les dégats de bois",
|
||||
"Influence l'aptitude à détruire les boucliers et diminuer les défences ainsi que les dégats des attaques élémentaires de foudre"
|
||||
]
|
||||
texts=[
|
||||
"Affinité à l'Eau (Ag)",
|
||||
"Affinité à l'Air (Int)",
|
||||
"Affinité à la Terre (For)",
|
||||
"Affinité au Feu (Psy)",
|
||||
"Affinité à la Glace (Vol)",
|
||||
"Affinité au Metal (Chn)",
|
||||
"Affinité au Magma (Chr)",
|
||||
"Affinité à la Vapeur (Per)",
|
||||
"Affinité au Bois",
|
||||
"Affinité à la Foudre"
|
||||
]
|
||||
|
||||
addentum=[
|
||||
"Agilite",
|
||||
"Intelligence",
|
||||
"Force",
|
||||
"Psyche",
|
||||
"Volonte",
|
||||
"Chance",
|
||||
"Charisme",
|
||||
"Perception",
|
||||
"",
|
||||
""
|
||||
]
|
||||
|
||||
|
||||
blob=""" <input class="sheet-skill_name" disabled="true" style="margin-right: 4px;" type="text" title="{contex}" name="attr_magic_elem_{elem}" value="{text}" />
|
||||
<input class="sheet-skill_name" value="1" style="margin-right: 4px;" type="number" name="attr_elem_{elem}" title="Valeur de l'affinité" />
|
||||
<input class="sheet-skill_name" value="0" style="margin-right: 4px;" type="number" name="attr_elem_{elem}_buff" title="Bonus temporaire" />
|
||||
<input class="sheet-trait" disabled="true" title="Valeur totale de l'affinité" name="attr_elem_{elem}_tot" value="{val}" />
|
||||
<br/>
|
||||
"""
|
||||
|
||||
for i in range(10):
|
||||
mat=mat_adj[i]
|
||||
ret=''
|
||||
for j in range(10):
|
||||
if mat[j]!=0:
|
||||
e=elems[j]
|
||||
if mat[j]==1:
|
||||
ret+="{}+{}+".format(makes(e),makeb(e))
|
||||
else:
|
||||
ret+="{}*({}+{})+".format(mat[j],makes(e),makeb(e))
|
||||
ret=ret[:-1]
|
||||
if addentum[i]:
|
||||
ret+="+(@{{base-{c}}}+@{{exal-{c}}})*2".format(c=addentum[i])
|
||||
|
||||
print(blob.format(contex=contexts[i], elem=elems[i],text=texts[i],val="floor(({})/3)".format(ret)))
|
||||
|
|
@ -0,0 +1,451 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Convert ANSI (terminal) colours and attributes to HTML
|
||||
|
||||
# Licence: LGPLv2
|
||||
# Author:
|
||||
# http://www.pixelbeat.org/docs/terminal_colours/
|
||||
# Examples:
|
||||
# ls -l --color=always | ansi2html.sh > ls.html
|
||||
# git show --color | ansi2html.sh > last_change.html
|
||||
# Generally one can use the `script` util to capture full terminal output.
|
||||
# Changes:
|
||||
# V0.1, 24 Apr 2008, Initial release
|
||||
# V0.2, 01 Jan 2009, Phil Harnish <philharnish@gmail.com>
|
||||
# Support `git diff --color` output by
|
||||
# matching ANSI codes that specify only
|
||||
# bold or background colour.
|
||||
# P@draigBrady.com
|
||||
# Support `ls --color` output by stripping
|
||||
# redundant leading 0s from ANSI codes.
|
||||
# Support `grep --color=always` by stripping
|
||||
# unhandled ANSI codes (specifically ^[[K).
|
||||
# V0.3, 20 Mar 2009, http://eexpress.blog.ubuntu.org.cn/
|
||||
# Remove cat -v usage which mangled non ascii input.
|
||||
# Cleanup regular expressions used.
|
||||
# Support other attributes like reverse, ...
|
||||
# P@draigBrady.com
|
||||
# Correctly nest <span> tags (even across lines).
|
||||
# Add a command line option to use a dark background.
|
||||
# Strip more terminal control codes.
|
||||
# V0.4, 17 Sep 2009, P@draigBrady.com
|
||||
# Handle codes with combined attributes and color.
|
||||
# Handle isolated <bold> attributes with css.
|
||||
# Strip more terminal control codes.
|
||||
# V0.25, 26 Jan 2019
|
||||
# http://github.com/pixelb/scripts/commits/master/scripts/ansi2html.sh
|
||||
|
||||
gawk --version >/dev/null || exit 1
|
||||
|
||||
if [ "$1" = "--version" ]; then
|
||||
printf '0.25\n' && exit
|
||||
fi
|
||||
|
||||
usage()
|
||||
{
|
||||
printf '%s\n' \
|
||||
'This utility converts ANSI codes in data passed to stdin
|
||||
It has 4 optional parameters:
|
||||
--bg=dark --palette=linux|solarized|tango|xterm --css-only|--body-only
|
||||
E.g.: ls -l --color=always | ansi2html.sh --bg=dark > ls.html' >&2
|
||||
exit
|
||||
}
|
||||
|
||||
if [ "$1" = "--help" ]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
processArg()
|
||||
{
|
||||
[ "$1" = "--bg=dark" ] && { dark_bg=yes; return; }
|
||||
[ "$1" = "--css-only" ] && { css_only=yes; return; }
|
||||
[ "$1" = "--body-only" ] && { body_only=yes; return; }
|
||||
if [ "$1" = "--palette=solarized" ]; then
|
||||
# See http://ethanschoonover.com/solarized
|
||||
P0=073642; P1=D30102; P2=859900; P3=B58900;
|
||||
P4=268BD2; P5=D33682; P6=2AA198; P7=EEE8D5;
|
||||
P8=002B36; P9=CB4B16; P10=586E75; P11=657B83;
|
||||
P12=839496; P13=6C71C4; P14=93A1A1; P15=FDF6E3;
|
||||
return;
|
||||
elif [ "$1" = "--palette=solarized-xterm" ]; then
|
||||
# Above mapped onto the xterm 256 color palette
|
||||
P0=262626; P1=AF0000; P2=5F8700; P3=AF8700;
|
||||
P4=0087FF; P5=AF005F; P6=00AFAF; P7=E4E4E4;
|
||||
P8=1C1C1C; P9=D75F00; P10=585858; P11=626262;
|
||||
P12=808080; P13=5F5FAF; P14=8A8A8A; P15=FFFFD7;
|
||||
return;
|
||||
elif [ "$1" = "--palette=tango" ]; then
|
||||
# Gnome default
|
||||
P0=000000; P1=CC0000; P2=4E9A06; P3=C4A000;
|
||||
P4=3465A4; P5=75507B; P6=06989A; P7=D3D7CF;
|
||||
P8=555753; P9=EF2929; P10=8AE234; P11=FCE94F;
|
||||
P12=729FCF; P13=AD7FA8; P14=34E2E2; P15=EEEEEC;
|
||||
return;
|
||||
elif [ "$1" = "--palette=xterm" ]; then
|
||||
P0=000000; P1=CD0000; P2=00CD00; P3=CDCD00;
|
||||
P4=0000EE; P5=CD00CD; P6=00CDCD; P7=E5E5E5;
|
||||
P8=7F7F7F; P9=FF0000; P10=00FF00; P11=FFFF00;
|
||||
P12=5C5CFF; P13=FF00FF; P14=00FFFF; P15=FFFFFF;
|
||||
return;
|
||||
else # linux console
|
||||
P0=000000; P1=AA0000; P2=00AA00; P3=AA5500;
|
||||
P4=0000AA; P5=AA00AA; P6=00AAAA; P7=AAAAAA;
|
||||
P8=555555; P9=FF5555; P10=55FF55; P11=FFFF55;
|
||||
P12=5555FF; P13=FF55FF; P14=55FFFF; P15=FFFFFF;
|
||||
[ "$1" = "--palette=linux" ] && return;
|
||||
fi
|
||||
}
|
||||
|
||||
processArg #defaults
|
||||
for var in "$@"; do processArg $var; done
|
||||
[ "$css_only" ] && [ "$body_only" ] && usage
|
||||
|
||||
# Mac OSX's GNU sed is installed as gsed
|
||||
# use e.g. homebrew 'gnu-sed' to get it
|
||||
if ! sed --version >/dev/null 2>&1; then
|
||||
if gsed --version >/dev/null 2>&1; then
|
||||
alias sed=gsed
|
||||
else
|
||||
echo "Error, can't find an acceptable GNU sed." >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
[ "$css_only" ] || [ "$body_only" ] || printf '%s' "<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"../term.css\"/>
|
||||
"
|
||||
[ "$body_only" ] || [ "$css_only" ] && printf '%s\n' \
|
||||
'To use the css generated from --css-only, do: '\
|
||||
'<head><link rel="stylesheet" type="text/css" href="style.css"/></head>' >&2
|
||||
[ "$css_only" ] && exit
|
||||
[ "$body_only" ] || printf '%s' '
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
'
|
||||
[ "$body_only" ] && printf '%s\n' 'Be sure to use <body class="f9 b9"> and <pre>' >&2
|
||||
|
||||
p='\x1b\[' #shortcut to match escape codes
|
||||
|
||||
# Handle various xterm control sequences.
|
||||
# See /usr/share/doc/xterm-*/ctlseqs.txt
|
||||
sed "
|
||||
# escape ampersand and quote
|
||||
s#&#\&#g; s#\"#\"#g;
|
||||
s#\x1b[^\x1b]*\x1b\\\##g # strip anything between \e and ST
|
||||
s#\x1b][0-9]*;[^\a]*\a##g # strip any OSC (xterm title etc.)
|
||||
|
||||
s#\r\$## # strip trailing \r
|
||||
|
||||
# strip other non SGR escape sequences
|
||||
s#[\x07]##g
|
||||
s#\x1b[]>=\][0-9;]*##g
|
||||
s#\x1bP+.\{5\}##g
|
||||
# Mark cursor positioning codes \"Jr;c;
|
||||
s#${p}\([0-9]\{1,2\}\)G#\"J;\1;#g
|
||||
s#${p}\([0-9]\{1,2\}\);\([0-9]\{1,2\}\)H#\"J\1;\2;#g
|
||||
|
||||
# Mark clear as \"Cn where n=1 is screen and n=0 is to end-of-line
|
||||
s#${p}H#\"C1;#g
|
||||
s#${p}K#\"C0;#g
|
||||
# Mark Cursor move columns as \"Mn where n is +ve for right, -ve for left
|
||||
s#${p}C#\"M1;#g
|
||||
s#${p}\([0-9]\{1,\}\)C#\"M\1;#g
|
||||
s#${p}\([0-9]\{1,\}\)D#\"M-\1;#g
|
||||
s#${p}\([0-9]\{1,\}\)P#\"X\1;#g
|
||||
|
||||
s#${p}[0-9;?]*[^0-9;?m]##g
|
||||
|
||||
" |
|
||||
|
||||
# Normalize the input before transformation
|
||||
sed "
|
||||
# escape HTML (ampersand and quote done above)
|
||||
s#>#\>#g; s#<#\<#g;
|
||||
|
||||
# handle truecolor
|
||||
s#${p}38;2;\([0-9]\{1,3\}\);\([0-9]\{1,3\}\);\([0-9]\{1,3\}\)m#\
|
||||
<span style=\"color:rgb(\1\,\2\,\3\)\">#g
|
||||
s#${p}48;2;\([0-9]\{1,3\}\);\([0-9]\{1,3\}\);\([0-9]\{1,3\}\)m#\
|
||||
<span style=\"background-color:rgb(\1\,\2\,\3\)\">#g
|
||||
|
||||
# normalize SGR codes a little
|
||||
|
||||
# split 256 colors out and mark so that they're not
|
||||
# recognised by the following 'split combined' line
|
||||
:e
|
||||
s#${p}\([0-9;]\{1,\}\);\([34]8;5;[0-9]\{1,3\}\)m#${p}\1m${p}¬\2m#g; t e
|
||||
s#${p}\([34]8;5;[0-9]\{1,3\}\)m#${p}¬\1m#g;
|
||||
|
||||
:c
|
||||
s#${p}\([0-9]\{1,\}\);\([0-9;]\{1,\}\)m#${p}\1m${p}\2m#g; t c # split combined
|
||||
s#${p}0\([0-7]\)#${p}\1#g #strip leading 0
|
||||
s#${p}1m\(\(${p}[4579]m\)*\)#\1${p}1m#g #bold last (with clr)
|
||||
s#${p}m#${p}0m#g #add leading 0 to norm
|
||||
|
||||
# undo any 256 color marking
|
||||
s#${p}¬\([34]8;5;[0-9]\{1,3\}\)m#${p}\1m#g;
|
||||
|
||||
# map 16 color codes to color + bold
|
||||
s#${p}9\([0-7]\)m#${p}3\1m${p}1m#g;
|
||||
s#${p}10\([0-7]\)m#${p}4\1m${p}1m#g;
|
||||
|
||||
# change 'reset' code to \"R
|
||||
s#${p}0m#\"R;#g
|
||||
" |
|
||||
|
||||
# Convert SGR sequences to HTML
|
||||
sed "
|
||||
# common combinations to minimise html (optional)
|
||||
:f
|
||||
s#${p}3[0-7]m${p}3\([0-7]\)m#${p}3\1m#g; t f
|
||||
:b
|
||||
s#${p}4[0-7]m${p}4\([0-7]\)m#${p}4\1m#g; t b
|
||||
s#${p}3\([0-7]\)m${p}4\([0-7]\)m#<span class=\"f\1 b\2\">#g
|
||||
s#${p}4\([0-7]\)m${p}3\([0-7]\)m#<span class=\"f\2 b\1\">#g
|
||||
|
||||
s#${p}1m#<span class=\"bold\">#g
|
||||
s#${p}4m#<span class=\"underline\">#g
|
||||
s#${p}5m#<span class=\"blink\">#g
|
||||
s#${p}7m#<span class=\"reverse\">#g
|
||||
s#${p}9m#<span class=\"line-through\">#g
|
||||
s#${p}3\([0-9]\)m#<span class=\"f\1\">#g
|
||||
s#${p}4\([0-9]\)m#<span class=\"b\1\">#g
|
||||
|
||||
s#${p}38;5;\([0-9]\{1,3\}\)m#<span class=\"ef\1\">#g
|
||||
s#${p}48;5;\([0-9]\{1,3\}\)m#<span class=\"eb\1\">#g
|
||||
|
||||
s#${p}[0-9;]*m##g # strip unhandled codes
|
||||
" |
|
||||
|
||||
# Convert alternative character set and handle cursor movement codes
|
||||
# Note we convert here, as if we do at start we have to worry about avoiding
|
||||
# conversion of SGR codes etc., whereas doing here we only have to
|
||||
# avoid conversions of stuff between &...; or <...>
|
||||
#
|
||||
# Note we could use sed to do this based around:
|
||||
# sed 'y/abcdefghijklmnopqrstuvwxyz{}`~/▒␉␌␍␊°±␋┘┐┌└┼⎺⎻─⎼⎽├┤┴┬│≤≥π£◆·/'
|
||||
# However that would be very awkward as we need to only conv some input.
|
||||
# The basic scheme that we do in the awk script below is:
|
||||
# 1. enable transliterate once "T1; is seen
|
||||
# 2. disable once "T0; is seen (may be on diff line)
|
||||
# 3. never transliterate between &; or <> chars
|
||||
# 4. track x,y movements and active display mode at each position
|
||||
# 5. buffer line/screen and dump when required
|
||||
sed "
|
||||
# change 'smacs' and 'rmacs' to \"T1 and \"T0 to simplify matching.
|
||||
s#\x1b(0#\"T1;#g;
|
||||
s#\x0E#\"T1;#g;
|
||||
|
||||
s#\x1b(B#\"T0;#g
|
||||
s#\x0F#\"T0;#g
|
||||
" |
|
||||
(
|
||||
gawk '
|
||||
function dump_line(l,del,c,blanks,ret) {
|
||||
for(c=1;c<maxX;c++) {
|
||||
if ((c SUBSEP l) in attr || length(cur)) {
|
||||
ret = ret blanks fixas(cur,attr[c,l])
|
||||
if(del) delete attr[c,l]
|
||||
blanks=""
|
||||
}
|
||||
if ((c SUBSEP l) in dump) {
|
||||
ret=ret blanks dump[c,l]
|
||||
if(del) delete dump[c,l]
|
||||
blanks=""
|
||||
} else blanks=blanks " "
|
||||
}
|
||||
if(length(cur)) ret=ret blanks
|
||||
return ret
|
||||
}
|
||||
|
||||
function dump_screen(l,ret) {
|
||||
for(l=1;l<=maxY;l++)
|
||||
ret=ret dump_line(l,0) "\n"
|
||||
return ret fixas(cur, "")
|
||||
}
|
||||
|
||||
function atos(a,i,ret) {
|
||||
for(i=1;i<=length(a);i++) if(i in a) ret=ret a[i]
|
||||
return ret
|
||||
}
|
||||
|
||||
function fixas(a,s,spc,i,attr,rm,ret) {
|
||||
spc=length(a)
|
||||
l=split(s,attr,">")
|
||||
for(i=1;i<=spc;i++) {
|
||||
rm=rm?rm:(a[i]!=attr[i]">")
|
||||
if(rm) {
|
||||
ret=ret "</span>"
|
||||
delete a[i];
|
||||
}
|
||||
}
|
||||
for(i=1;i<l;i++) {
|
||||
attr[i]=attr[i]">"
|
||||
if(a[i]!=attr[i]) {
|
||||
a[i]=attr[i]
|
||||
ret = ret attr[i]
|
||||
}
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
||||
function encode(string,start,end,i,ret,pos,sc,buf) {
|
||||
if(!end) end=length(string);
|
||||
if(!start) start=1;
|
||||
state=3
|
||||
for(i=1;i<=length(string);i++) {
|
||||
c=substr(string,i,1)
|
||||
if(state==2) {
|
||||
sc=sc c
|
||||
if(c==";") {
|
||||
c=sc
|
||||
state=last_mode
|
||||
} else continue
|
||||
} else {
|
||||
if(c=="\r") { x=1; continue }
|
||||
if(c=="<") {
|
||||
# Change attributes - store current active
|
||||
# attributes in span array
|
||||
split(substr(string,i),cord,">");
|
||||
i+=length(cord[1])
|
||||
span[++spc]=cord[1] ">"
|
||||
continue
|
||||
}
|
||||
else if(c=="&") {
|
||||
# All goes to single position till we see a semicolon
|
||||
sc=c
|
||||
state=2
|
||||
continue
|
||||
}
|
||||
else if(c=="\b") {
|
||||
# backspace move insertion point back 1
|
||||
if(spc) attr[x,y]=atos(span)
|
||||
x=x>1?x-1:1
|
||||
continue
|
||||
}
|
||||
else if(c=="\"") {
|
||||
split(substr(string,i+2),cord,";")
|
||||
cc=substr(string,i+1,1);
|
||||
if(cc=="T") {
|
||||
# Transliterate on/off
|
||||
if(cord[1]==1&&state==3) last_mode=state=4
|
||||
if(cord[1]==0&&state==4) last_mode=state=3
|
||||
}
|
||||
else if(cc=="C") {
|
||||
# Clear
|
||||
if(cord[1]+0) {
|
||||
# Screen - if Recording dump screen
|
||||
if(dumpStatus==dsActive) ret=ret dump_screen()
|
||||
dumpStatus=dsActive
|
||||
delete dump
|
||||
delete attr
|
||||
x=y=1
|
||||
} else {
|
||||
# To end of line
|
||||
for(pos=x;pos<maxX;pos++) {
|
||||
dump[pos,y]=" "
|
||||
if (!spc) delete attr[pos,y]
|
||||
else attr[pos,y]=atos(span)
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(cc=="J") {
|
||||
# Jump to x,y
|
||||
i+=length(cord[2])+1
|
||||
# If line is higher - dump previous screen
|
||||
if(dumpStatus==dsActive&&cord[1]<y) {
|
||||
ret=ret dump_screen();
|
||||
dumpStatus=dsNew;
|
||||
}
|
||||
x=cord[2]
|
||||
if(length(cord[1]) && y!=cord[1]){
|
||||
y=cord[1]
|
||||
if(y>maxY) maxY=y
|
||||
# Change y - start recording
|
||||
dumpStatus=dumpStatus?dumpStatus:dsReset
|
||||
}
|
||||
}
|
||||
else if(cc=="M") {
|
||||
# Move left/right on current line
|
||||
x+=cord[1]
|
||||
}
|
||||
else if(cc=="X") {
|
||||
# delete on right
|
||||
for(pos=x;pos<=maxX;pos++) {
|
||||
nx=pos+cord[1]
|
||||
if(nx<maxX) {
|
||||
if((nx SUBSEP y) in attr) attr[pos,y] = attr[nx,y]
|
||||
else delete attr[pos,y]
|
||||
if((nx SUBSEP y) in dump) dump[pos,y] = dump[nx,y]
|
||||
else delete dump[pos,y]
|
||||
} else if(spc) {
|
||||
attr[pos,y]=atos(span)
|
||||
dump[pos,y]=" "
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(cc=="R") {
|
||||
# Reset attributes
|
||||
while(spc) delete span[spc--]
|
||||
}
|
||||
i+=length(cord[1])+2
|
||||
continue
|
||||
}
|
||||
else if(state==4&&i>=start&&i<=end&&c in Trans) c=Trans[c]
|
||||
}
|
||||
if(dumpStatus==dsReset) {
|
||||
delete dump
|
||||
delete attr
|
||||
ret=ret"\n"
|
||||
dumpStatus=dsActive
|
||||
}
|
||||
if(dumpStatus==dsNew) {
|
||||
# After moving/clearing we are now ready to write
|
||||
# somthing to the screen so start recording now
|
||||
ret=ret"\n"
|
||||
dumpStatus=dsActive
|
||||
}
|
||||
if(dumpStatus==dsActive||dumpStatus==dsOff) {
|
||||
dump[x,y] = c
|
||||
if(!spc) delete attr[x,y]
|
||||
else attr[x,y] = atos(span)
|
||||
if(++x>maxX) maxX=x;
|
||||
}
|
||||
}
|
||||
# End of line if dumping increment y and set x back to first col
|
||||
x=1
|
||||
if(!dumpStatus) return ret dump_line(y,1);
|
||||
else if(++y>maxY) maxY=y;
|
||||
return ret
|
||||
}
|
||||
BEGIN{
|
||||
OFS=FS
|
||||
# dump screen status
|
||||
dsOff=0 # Not dumping screen contents just write output direct
|
||||
dsNew=1 # Just after move/clear waiting for activity to start recording
|
||||
dsReset=2 # Screen cleared build new empty buffer and record
|
||||
dsActive=3 # Currently recording
|
||||
F="abcdefghijklmnopqrstuvwxyz{}`~"
|
||||
T="▒␉␌␍␊°±␋┘┐┌└┼⎺⎻─⎼⎽├┤┴┬│≤≥π£◆·"
|
||||
maxX=80
|
||||
delete cur;
|
||||
x=y=1
|
||||
for(i=1;i<=length(F);i++)Trans[substr(F,i,1)]=substr(T,i,1);
|
||||
}
|
||||
|
||||
{ $0=encode($0) }
|
||||
1
|
||||
END {
|
||||
if(dumpStatus) {
|
||||
print dump_screen();
|
||||
}
|
||||
}'
|
||||
)
|
||||
|
||||
[ "$body_only" ] || printf '</pre>
|
||||
</body>
|
||||
</html>\n'
|
||||
|
|
@ -0,0 +1,80 @@
|
|||
on("change:graphic", function(obj) {
|
||||
log("Heard change for object ID: " +getAttrByName(obj.get("represents"), "Life_Points"));
|
||||
if (obj.get("isdrawing")) {
|
||||
return;
|
||||
}
|
||||
|
||||
var HP = {
|
||||
now: parseInt(obj.get(CurrentHPLocation),10) || 0,
|
||||
old: parseInt(prev[CurrentHPLocation],10) || 0,
|
||||
max: parseInt(obj.get(MaxHPLocation),10) || 0,
|
||||
tmp: 0
|
||||
},
|
||||
tmpHPInAttr = false,
|
||||
tmpHPAttr,
|
||||
target = {};
|
||||
|
||||
if (0 === HP.max) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(obj.get(TempHitPointsIn)) {
|
||||
HP.tmp = parseInt(obj.get(TempHitPointsIn),10) || 0;
|
||||
} else if(obj.get('represents')) {
|
||||
tmpHPInAttr = true;
|
||||
tmpHPAttr = findObjs({_type: 'attribute', _characterid: obj.get('represents'), name: TempHitPointsIn})[0];
|
||||
if(tmpHPAttr) {
|
||||
HP.tmp = parseInt(tmpHPAttr.get('current'),10) || 0;
|
||||
}
|
||||
}
|
||||
|
||||
HP.bloodied = Math.floor(HP.max/2) || 0;
|
||||
HP.dead = -HP.bloodied;
|
||||
HP.delta = HP.now-HP.old;
|
||||
HP.healed = (HP.delta > 0);
|
||||
HP.hurt = (HP.delta <0);
|
||||
|
||||
if ( 0 !== HP.delta ) {
|
||||
if (HP.tmp && (HP.delta < 0 )) {
|
||||
target[TempHitPointsIn] = Math.max( HP.tmp + HP.delta, 0 );
|
||||
HP.delta = Math.min( HP.delta + HP.tmp, 0 );
|
||||
target[CurrentHPLocation] = Math.min( HP.old + HP.delta, HP.max );
|
||||
HP.now = target[CurrentHPLocation];
|
||||
HP.tmp = target[TempHitPointsIn];
|
||||
} else if (HP.now > HP.max) {
|
||||
HP.now=HP.max;
|
||||
target[CurrentHPLocation]=HP.max;
|
||||
} else if( ASSUME_HEALS && HP.old < 0 && (HP.delta > 0)) {
|
||||
HP.now=Math.min( HP.delta, HP.max );
|
||||
target[CurrentHPLocation]=HP.now;
|
||||
}
|
||||
|
||||
if ( HP.now <= HP.dead ) {
|
||||
HP.now=HP.dead;
|
||||
target[CurrentHPLocation]=HP.dead;
|
||||
target['status_'+DeadMarker]=true;
|
||||
} else {
|
||||
target['status_'+DeadMarker]=false;
|
||||
}
|
||||
|
||||
if ( HP.now <= 0 && HP.now > HP.dead ) {
|
||||
target['status_'+DyingMarker]=true;
|
||||
} else {
|
||||
target['status_'+DyingMarker]=false;
|
||||
}
|
||||
|
||||
if ( HP.now <= HP.bloodied && HP.now > HP.dead ) {
|
||||
target['status_'+BloodiedMarker]=true;
|
||||
} else {
|
||||
target['status_'+BloodiedMarker]=false;
|
||||
}
|
||||
if(tmpHPInAttr) {
|
||||
if(tmpHPAttr && undefined !== target[TempHitPointsIn] ) {
|
||||
tmpHPAttr.set({current: (target[TempHitPointsIn] || 0)});
|
||||
}
|
||||
delete target[TempHitPointsIn];
|
||||
}
|
||||
obj.set(target);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
{"config":{"command":"condition","userAllowed":false,"userToggle":false,"sendOnlyToGM":false,"showDescOnStatusChange":true,"showIconInDescription":true,"firsttime":false},"conditions":{
|
||||
"stunned":{"name":"Sonné","description":"<p>Vous êtes sonné, perdez toutes vos actions, vos réactions doivent être validées d'un jet de résistance physique.</p><p>Pour chaque tour passé sous cette altération d'état, vous pouvez diminuer ce jet d'un degré</p>","icon":"fist"},
|
||||
"frightened":{"name":"Terreur","description":"<p>Pris de terreur, vous êtes incapable d'effectuer des actions concernant l'objet de votre peur.</p><p>Vous devez effectuer un jet de résistance mentale pour agir.</p>","icon":"screaming"},
|
||||
"grappled":{"name":"Immobilisé","description":"<p>Vous ne pouvez effectuer d'actions de combat offensives.</p><p>Vous devez effectuer un jet de force opposé pour vous dégager de cette étreinte.</p><p>Toutes les attaques contre une personne immobilisée infligent un malus pour parer.</p>","icon":"grab"},
|
||||
"paralyzed":{"name":"Paralysé","description":"<p>Vous ne pouvez effectuer d'actions nécessitant une composante gestuelle.</p>","icon":"back-pain"},
|
||||
"unconscious":{"name":"Inconscient","description":"<p>Vous ne pouvez effectuer de tests ou d'actions tant que ce status est actif</p> <p>Perdez ce status si vous réussissez un test de résistance physique d'un degré de difficulté dépendant de votre niveau de fatigue</p>","icon":"interdiction"},
|
||||
"poisoned":{"name":"Empoisonné","description":"<p>Vous êtes sous l'effet d'une toxine, votre vitalité est lentement drainée</p>","icon":"chemical-bolt"},
|
||||
"stasis":{"name":"Stase","description":"<p>Ignorez tous les dégâts que vous devriez recevoir. Interrompez toute forme de canalisation en cours.</p><p>Le temps et les afflictions n'ont plus effet sur vous.</p>","icon":"aura"},
|
||||
"slow":{"name":"Ralentissement","description":"<p>Vous perdez des actions au début de chacun de vos tours.</p>","icon":"snail"},
|
||||
"shock":{"name":"Choqué","description":"<p>Vous perdez une partie de votre réserve au début de chaque tour. Vous ne pouvez effectuer d'attaques d'opportunité.</p>","icon":"pummeled"},
|
||||
"grievious":{"name":"Dégâts aggravés","description":"<p>Les soins et régénérations sont moins efficaces sur vous.</p>","icon":"half-heart"},
|
||||
"restrained":{"name":"Restreint","description":"<p>Vous ne pouvez effectuer d'actions de déplacement.</p>","icon":"fishing-net"},
|
||||
"medication":{"name":"Médication","description":"<p>Vous êtes sous l'effet d'une médication.</p>","icon":"drink-me"},
|
||||
"snap":{"name":"Fatalité inexorable","description":"<p>Lié jusqu'a l'ame par les chaines de la causalité, chaque action est une torture pour vous.</p>","icon":"edge-crack"},
|
||||
"altphy":{"name":"Altération Physique","description":"<p>Vos caractéristiques physiques sont altérées.</p>","icon":"red"},
|
||||
"altmag":{"name":"Altération Magique","description":"<p>Vos caractéristiques magiques sont altérées.</p>","icon":"blue"},
|
||||
"aura":{"name":"Auréole","description":"<p>Si vous deviez subir des dégâts létaux, devenez inciblable pendant une action à la place.</p><p>Si vous êtes sous l'effet d'une ou plusieurs altérations d'état négatives, retirez-les.</p>","icon":"angel-outfit"},
|
||||
"tenacity":{"name":"Tenacité","description":"<p>Vos défenses sont grandement augmentées.</p>","icon":"white-tower"},
|
||||
"benediction":{"name":"Bénédiction de l'Hiver","description":"<p>Votre force est grandement augmentée par la force du gel.</p>","icon":"strong"},
|
||||
"defiance":{"name":"Défi","description":"<p>Dans la traque de votre vraie Némésis, votre corps et votre etre sont infusés d'une immense puissance.</p>","icon":"all-for-one"},
|
||||
"tired":{"name":"Fatigue aggravée","description":"<p>Votre régénération de fatigue est grandement diminuée et vous ne recuperez pas du stress normalement.</p>","icon":"sleepy"}
|
||||
}}
|
||||
|
|
@ -0,0 +1,234 @@
|
|||
#encoding:UTF-8
|
||||
import sys,os,traceback
|
||||
import re,argparse,configparser
|
||||
from os import listdir
|
||||
from os.path import isfile, join,basename
|
||||
import subprocess
|
||||
import blessings
|
||||
term=blessings.Terminal()
|
||||
|
||||
parser = argparse.ArgumentParser(description='Macro generator')
|
||||
parser.add_argument('command',choices=["macro","god","diff",'show',"index"],help="The selected command")
|
||||
parser.add_argument('characters',default=["all"],help="Name of the characters to list, all by default",nargs="*")
|
||||
parser.add_argument("-o",metavar="output",default="tty",help="File for the output command, tty by default",nargs="?")
|
||||
parser.add_argument("-s",metavar="suffix",default="",help="Suffix to append to all the files",nargs="?")
|
||||
parser.add_argument("-v",default=False,action='store_true',help="Default")
|
||||
parser.add_argument("--version",default="@~1",help="The version to pick from or from wich to make the diff from",nargs="?")
|
||||
verbose=False
|
||||
def dprint(text):
|
||||
if verbose:
|
||||
print(text)
|
||||
reserved_chars=["God.ini"]
|
||||
|
||||
errors={
|
||||
"notfound":term.red("[Error] Couldn't find {char} in the Character directory"),
|
||||
"sectionnotfound":term.red("[Error] Coulnd't find section {section} in {where}"),
|
||||
"noreplacement":term.yellow("[Warning] Couldn't find replacement for {var} in {where}")
|
||||
}
|
||||
god=configparser.ConfigParser(inline_comment_prefixes="#")
|
||||
god.read("Characters/God.ini")
|
||||
|
||||
def write_index(output,suffix):
|
||||
list=[f for f in listdir(output) if (f != "index.html" and isfile(join(output, f)))]
|
||||
list.sort() #key=lambda a: a[:6]
|
||||
towrite="""<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="../term.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="f9 b9">
|
||||
<pre>
|
||||
<span class="bold">Liste des fichiers</span>
|
||||
"""
|
||||
for file in list:
|
||||
towrite+=' <span class="bold"><a href="./{}">› {}</a></span>\n'.format(file,file[:-5].title())
|
||||
towrite+=""" </pre>
|
||||
</body>
|
||||
</html>"""
|
||||
if output=="tty":
|
||||
print(towrite)
|
||||
return
|
||||
with open(join(output,"index.html"),"w") as f:
|
||||
f.write(towrite)
|
||||
|
||||
def save_text_ansi(foutput,ret):
|
||||
pi=subprocess.Popen(("./ansi2html.sh","--palette=xterm"),stdin=subprocess.PIPE,stdout=subprocess.PIPE)
|
||||
e=str.encode(ret,"utf8")
|
||||
pi.stdin.write(e)
|
||||
pi.stdin.close()
|
||||
|
||||
with open(foutput,"wb") as f:
|
||||
while True:
|
||||
line=pi.stdout.readline()
|
||||
if not line:
|
||||
break
|
||||
f.write(line)
|
||||
|
||||
|
||||
def macro(characters,output,version,suffix):
|
||||
list_files,names=get_char(characters)
|
||||
if not list_files:
|
||||
return
|
||||
ret=""
|
||||
for file,name in zip(list_files,names):
|
||||
ret=macro_one(file,output,version,suffix)
|
||||
if output=="tty":
|
||||
print(ret)
|
||||
else:
|
||||
foutput=join(output,"{}_macro{}.html".format(name,suffix))
|
||||
save_text_ansi(foutput,ret)
|
||||
|
||||
def macro_one(character,output,version,suffix):
|
||||
config=configparser.ConfigParser(inline_comment_prefixes="#")
|
||||
config.read(character)
|
||||
ret=term.bold(character)+"\n"
|
||||
for sect in config.sections():
|
||||
try:
|
||||
text=""
|
||||
if (config[sect]["macro"] != "" or config[sect]["others"] !="" or config[sect]["self"] !=""):
|
||||
text+=term.bold_blue("[{name}]\n".format(name=sect))
|
||||
selfw=replace_vars('/w {you} ',config,god,"self",sect,character,godlink=True)
|
||||
if (config[sect]["macro"]):
|
||||
text+=replace_vars(config[sect]["macro"],config,god,"macro",sect,character,godlink=True)+"\n"
|
||||
if (config[sect]['self']!=""):
|
||||
for l in replace_vars(config[sect]["self"],config,god,"self",sect,character,godlink=True).split("\n"):
|
||||
text+=selfw+l+"\n"
|
||||
if (config[sect]["others"]!=""):
|
||||
text+=replace_vars(config[sect]["others"],config,god,"others",sect,character,godlink=True)+"\n"
|
||||
ret+=text
|
||||
except KeyError as e:
|
||||
#if(e=="macro"):
|
||||
# pass # No macro found, not really important
|
||||
print(errors["sectionnotfound"].format(section=e,where=sect))
|
||||
|
||||
return ret
|
||||
|
||||
def show(characters,output,version,suffix):
|
||||
list_files,names=get_char(characters)
|
||||
if not list_files:
|
||||
return
|
||||
ret=""
|
||||
for file,name in zip(list_files,names):
|
||||
ret=show_one(file,output,version,suffix)
|
||||
if output=="tty":
|
||||
print(ret)
|
||||
else:
|
||||
foutput=join(output,"{}{}.html".format(name,suffix))
|
||||
save_text_ansi(foutput,ret)
|
||||
|
||||
def show_one(character,output,version,suffix):
|
||||
config=configparser.ConfigParser(inline_comment_prefixes="#")
|
||||
config.read(character)
|
||||
ret=""
|
||||
for sect in config.sections():
|
||||
try:
|
||||
if ("display_name" not in config[sect]):
|
||||
continue
|
||||
text=""
|
||||
text+=term.bold_blue("[{level}] {title} [{cost}]\n").format( title=config[sect]["display_name"], level=config[sect]["level"],cost=config[sect]["cost"])
|
||||
for dname,sname in (("Type de technique","type"),('Description',"description"),("Description personelle",'self'),("Description publique","others"),("Spécial","special")):
|
||||
try:
|
||||
if not config[sect][sname]:
|
||||
continue
|
||||
content=replace_vars(config[sect][sname],config,god,sname,sect,character)
|
||||
adden=" {t}\n {c}\n".format(t=term.blue_underline(dname),c=content.replace("\n","\n "))
|
||||
text+=adden
|
||||
except KeyError:
|
||||
dprint(errors["sectionnotfound"].format(section=sname,where=sect))
|
||||
ret+=text+'\n'
|
||||
except KeyError as e:
|
||||
print(errors["sectionnotfound"].format(section=e,where=sect))
|
||||
return ret
|
||||
|
||||
toreplace=re.compile("(?!@)\{([\w_-]+)\}")
|
||||
def replace_vars(text,char,god,section,name,character,godlink=False):
|
||||
vars=toreplace.findall(text)
|
||||
if vars:
|
||||
for group in vars:
|
||||
try:
|
||||
text=text.replace("{"+group+"}",char[name][group])
|
||||
except:
|
||||
try:
|
||||
if character not in god:
|
||||
w="DEFAULT"
|
||||
else:
|
||||
w=character
|
||||
if group[0]=="b" and godlink:
|
||||
if group not in god[w]:
|
||||
raise KeyError
|
||||
link="@{God|"+group+"}"
|
||||
else:
|
||||
link=god[w][group]
|
||||
text=text.replace("{"+group+"}",link)
|
||||
except KeyError as e:
|
||||
dprint(errors["noreplacement"].format(var=group,where=name+"@"+character))
|
||||
return text
|
||||
|
||||
def god_macro(characters,output,version,suffix):
|
||||
config=configparser.ConfigParser(inline_comment_prefixes="#")
|
||||
config.read(join("Characters","God.ini"))
|
||||
ret="!setattr --name God --silent "
|
||||
for sect in config.sections():
|
||||
for elt in config[sect]:
|
||||
if elt in config["DEFAULT"]:
|
||||
continue
|
||||
print(elt)
|
||||
ret+=" --{}|{}".format(elt,config[sect][elt])
|
||||
print(ret)
|
||||
|
||||
def index(characters,output,version,suffix):
|
||||
write_index(output,suffix)
|
||||
|
||||
def diff(characters,output,version,suffix):
|
||||
import datetime
|
||||
chars,names=get_char(characters,all=True)
|
||||
if len(chars)==0:
|
||||
dprint(errors["notfound"].format(char="any character"))
|
||||
return
|
||||
list=["git", "diff",version,"--word-diff=color","-U5"]+chars
|
||||
if output=="tty":
|
||||
dprint("Printing diff")
|
||||
pi=subprocess.check_output(list).decode("utf-8")
|
||||
print(pi)
|
||||
else:
|
||||
proc=subprocess.Popen(list,stdout=subprocess.PIPE)
|
||||
pi=subprocess.check_output(("./ansi2html.sh"),stdin=proc.stdout)
|
||||
date=datetime.datetime.now().strftime("%y%m%d %Hh%M")
|
||||
save_file=join(output,"{}{}.html".format(date,suffix))
|
||||
with open(save_file,"wb") as file:
|
||||
file.write(pi)
|
||||
|
||||
def get_char(names,all=False):
|
||||
if names[0]=="all":
|
||||
return get_all_chars(all=all)
|
||||
char,rnames=[],[]
|
||||
for n in names:
|
||||
c=join("Characters", n+".ini")
|
||||
if isfile(c):
|
||||
char.append(c)
|
||||
rnames.append(n)
|
||||
else:
|
||||
dprint(errors["notfound"].format(char=c))
|
||||
return char,rnames
|
||||
|
||||
def get_all_chars(all):
|
||||
if all:
|
||||
c=[]
|
||||
else:
|
||||
c=reserved_chars
|
||||
names=[f for f in listdir("Characters") if (f not in c and isfile(join("Characters", f)))]
|
||||
return [join("Characters", f) for f in names],[n[:-4] for n in names] # MOAR BLOBSHITCODING
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
args=parser.parse_args(sys.argv[1:])
|
||||
verbose=args.v
|
||||
except:
|
||||
parser.print_help()
|
||||
sys.exit()
|
||||
if args.s!="":
|
||||
args.s=" "+args.s
|
||||
commands={"macro":macro,"god":god_macro,"diff":diff,"show":show,"index":index}
|
||||
commands[args.command](args.characters,args.o,args.version,args.s)
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# pyenv
|
||||
.python-version
|
||||
|
||||
# celery beat schedule file
|
||||
celerybeat-schedule
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
minitest
|
||||
|
||||
A minimalistic testing interface with blessings
|
||||
|
||||
Jump directly to the ifmain part for a more in-depth example
|
||||
|
||||
simpleTestUnit is a good example on how to implement a good test class
|
||||
|
|
@ -0,0 +1 @@
|
|||
__all__ = ["minitest"]
|
||||
|
|
@ -0,0 +1,412 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Copyleft (c) 2016 Cocobug All Rights Reserved.
|
||||
try:
|
||||
from blessings import Terminal
|
||||
except:
|
||||
class Terminal():
|
||||
"Just output empty strings"
|
||||
def __init__(self):
|
||||
pass
|
||||
def __repr__(self):
|
||||
return ""
|
||||
def __eq__(self,ot):
|
||||
return False
|
||||
def __str__(self):
|
||||
return ""
|
||||
def __getattr__(self,attr):
|
||||
return Color()
|
||||
|
||||
class Color():
|
||||
def __init__(self):
|
||||
pass
|
||||
def __str__(self):
|
||||
return ""
|
||||
def __call__(self,attr):
|
||||
return attr
|
||||
def __getattr__(self,attr):
|
||||
return attr
|
||||
|
||||
|
||||
import types,string,traceback,sys
|
||||
|
||||
__all__ =["testGroup","testUnit"]
|
||||
|
||||
SUCCESS_STATUS=1
|
||||
FAILURE_STATUS=2
|
||||
WARNING_STATUS=4
|
||||
CRITICAL_STATUS=8
|
||||
|
||||
class testCoreOutOfTests(IndexError):
|
||||
pass
|
||||
|
||||
class testGroup(object):
|
||||
"""TestGroup, group a number of testUnit, exec them and print the results"""
|
||||
def __init__(self,name="",terminal=None,prefix="",verbose=False,align=0):
|
||||
self._tests=[]
|
||||
self.name=name
|
||||
self.t=terminal
|
||||
self.prefix=prefix
|
||||
(self.t)
|
||||
if self.t==None:
|
||||
self.t=Terminal()
|
||||
self.results=[]
|
||||
self.status_modules={
|
||||
"success":0,
|
||||
"total":0,
|
||||
"warning":0,
|
||||
"critical":0,
|
||||
"failure":0
|
||||
}
|
||||
self.success_text= self.t.green("success")
|
||||
self.failure_text=self.t.bright_red("failure")
|
||||
self.warning_text=self.t.bright_yellow("warning")
|
||||
self.critical_text=self.t.white_on_red("critical")
|
||||
self.verbose=verbose
|
||||
self.align=align
|
||||
|
||||
|
||||
def addTest(self,testUnit):
|
||||
self._tests.append(testUnit)
|
||||
return self
|
||||
|
||||
def test(self):
|
||||
"Execute all tests, some options might exist at some point"
|
||||
module_success,module_total=0,0
|
||||
|
||||
print(self.prefix+"+ Executing test group "+self.pretty_group(self.name))
|
||||
oldprefix=self.prefix
|
||||
self.prefix+="| "
|
||||
self.results=[]
|
||||
|
||||
for test in self._tests:
|
||||
try:
|
||||
list_status,total,log_results=self.print_result(test.test())
|
||||
except:
|
||||
list_status,total,log_results=self.print_result([])
|
||||
|
||||
print(self.pretty_subtests(test.name,list_status,total))
|
||||
|
||||
if list_status["success"]+list_status["warning"]==total:
|
||||
self.status_modules["success"]+=1
|
||||
self.status_modules["total"]+=1
|
||||
for log in log_results:
|
||||
print(log)
|
||||
self.results.append([self,SUCCESS_STATUS,""])
|
||||
self.prefix=oldprefix
|
||||
|
||||
print(self.pretty_group_result(self.status_modules,self.status_modules["total"]))
|
||||
return self.results
|
||||
|
||||
def get_status(self):
|
||||
"Get the status of every module, if no test was run, should return an empty dict"
|
||||
return self.status_modules
|
||||
|
||||
def print_result(self,table):
|
||||
"Get the array of success/failures and print according to the options (still none yet)"
|
||||
total=len(table)
|
||||
success=0
|
||||
results_array=[]
|
||||
nb=0
|
||||
list_status={
|
||||
"success":0,
|
||||
"failure":0,
|
||||
"warning":0,
|
||||
"critical":0
|
||||
}
|
||||
for item,status,infos in table:
|
||||
nb+=1
|
||||
if status==SUCCESS_STATUS:
|
||||
list_status["success"]+=1
|
||||
elif status==WARNING_STATUS:
|
||||
list_status["warning"]+=1
|
||||
elif status==CRITICAL_STATUS:
|
||||
list_status["critical"]+=1
|
||||
else:
|
||||
list_status["failure"]+=1
|
||||
if self.verbose or status!=SUCCESS_STATUS:
|
||||
results_array.append(self.pretty_result(status,nb,item,infos))
|
||||
return list_status,total,results_array
|
||||
|
||||
|
||||
def pretty_group_result(self,module_status,total):
|
||||
"Prettyfying the result of the batch of tests"
|
||||
bloc=self.prefix+"+ Done "
|
||||
return bloc+self.pretty_group(self.name)+self.pretty_dots(bloc,len(self.name))+self.pretty_successrate(module_status,total)
|
||||
|
||||
def pretty_name(self,item):
|
||||
"Just a pretty way of showing the name of a test"
|
||||
try:
|
||||
return item.__name__.strip("<>")
|
||||
except:
|
||||
return str(item)
|
||||
|
||||
def pretty_subtests(self,name,success,total):
|
||||
"Pretty way of showing the result of the group of tests"
|
||||
bloc=self.prefix+"testing "+ self.pretty_test(name)
|
||||
return bloc+self.pretty_dots(bloc)+self.pretty_successrate(success,total)
|
||||
|
||||
def pretty_result(self,status,nb,item,infos):
|
||||
"Just a pretty way of showing the result of one test"
|
||||
bloc=self.prefix+" * "+" ["+str(nb)+"] "+self.pretty_name(item)
|
||||
if status==CRITICAL_STATUS:
|
||||
pbloc=self.prefix+" * "+" ["+str(nb)+"] "+self.t.bold_bright_red(self.pretty_name(item))
|
||||
else:
|
||||
pbloc=bloc
|
||||
return pbloc+self.pretty_dots(bloc)+self.pretty_status(status)+self.pretty_info(infos)
|
||||
|
||||
def pretty_dots(self,bloc,padding=0):
|
||||
lenbloc=len(bloc)+padding
|
||||
if (self.align>lenbloc+2):
|
||||
dots="."*(self.align-lenbloc)
|
||||
else:
|
||||
dots=".."
|
||||
return dots
|
||||
|
||||
def pretty_info(self,infos):
|
||||
"Prettyfy the additional infos"
|
||||
if infos=="":
|
||||
return ""
|
||||
return self.t.italic(" ("+str(infos)+")")
|
||||
|
||||
def pretty_status(self,status):
|
||||
"Prettyfy the status of the test"
|
||||
if status==SUCCESS_STATUS:
|
||||
return self.success_text
|
||||
elif status==FAILURE_STATUS:
|
||||
return self.failure_text
|
||||
elif status==WARNING_STATUS:
|
||||
return self.warning_text
|
||||
else:
|
||||
return self.critical_text
|
||||
|
||||
def pretty_group(self,name):
|
||||
"Prettify the name of the testGroup"
|
||||
return self.t.bold(name)
|
||||
|
||||
def pretty_test(self,test):
|
||||
"Prettify the name of the testUnit"
|
||||
return test
|
||||
|
||||
def pretty_successrate(self,success,total):
|
||||
warnings=""
|
||||
if success["success"]==total:
|
||||
wrap=self.t.green
|
||||
txt=self.success_text
|
||||
elif success["success"]+success["warning"]==total:
|
||||
wrap=self.t.yellow
|
||||
txt=self.warning_text
|
||||
warnings=" ({} warnings)".format(str(success["warning"]))
|
||||
elif success["critical"]!=0:
|
||||
wrap=self.t.white_on_red
|
||||
txt=self.critical_text
|
||||
else:
|
||||
wrap=self.t.bright_red
|
||||
txt=self.failure_text
|
||||
return wrap(txt+" ["+str(success["success"]+success["warning"])+"/"+str(total)+"]"+warnings)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
class testUnit(object):
|
||||
"""A very basic test unit, only test() is mandatory
|
||||
test(): should return a list of [function,status,infos]
|
||||
Function added as test should raise error if incorect (assert is your friend),
|
||||
you can customise the test unit in any way that the field info become actually informative
|
||||
The whole class can (should) be modified to hold the test environement
|
||||
"""
|
||||
def __init__(self,name):
|
||||
"The name if the name of the group of test executed"
|
||||
self._tests=[]
|
||||
self.name=name
|
||||
self.results=[]
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
def addTest(self,test):
|
||||
"Add a function to the test unit"
|
||||
self._tests.append(test)
|
||||
return self
|
||||
|
||||
def test(self):
|
||||
"Execute all tests"
|
||||
self.results=[]
|
||||
for test in self._tests:
|
||||
try:
|
||||
test()
|
||||
self.addResult(test,SUCCESS_STATUS,'')
|
||||
except Exception as e:
|
||||
self.addResult(test,FAILURE_STATUS,e)
|
||||
return self.results
|
||||
|
||||
def addResult(self,testName,status,info):
|
||||
self.results.append([testName,status,info])
|
||||
|
||||
class simpleTestUnit(testUnit):
|
||||
"""Very simple test function, it tries to autodetect tests and add them and batch test them,
|
||||
this is not default behavior and should not be expected from other functions
|
||||
The very usage of this self.list_ongoing_tests makes the class non embetted effect protected and non-thread-friendly
|
||||
Note that using list_ongoing_tests and addResult together can lead to unpredictable results, use addSuccess and addFailure instead"""
|
||||
|
||||
def __init__(self,name):
|
||||
super(simpleTestUnit, self).__init__(name)
|
||||
self.results=[]
|
||||
self.list_ongoing_tests=[]
|
||||
self.userTests=[]
|
||||
self._simpleTestList=[]
|
||||
|
||||
def currentTest(self,name=None,nonDestructive=False):
|
||||
"""Set the current test by calling it with an argument or get it with no arguments or None (this is a malpractice and I don't care)
|
||||
When using the nonDestructive tag don't forget to actually finish the test at some point, consider never using it"""
|
||||
if name==None:
|
||||
try:
|
||||
if nonDestructive:
|
||||
return self.list_ongoing_tests[-1]
|
||||
else:
|
||||
return self.list_ongoing_tests.pop()
|
||||
except IndexError:
|
||||
raise testCoreOutOfTests
|
||||
else:
|
||||
return self.list_ongoing_tests.append(name)
|
||||
|
||||
|
||||
def addSuccess(self,nonDestructive=False):
|
||||
"Mark the success of the current test (named in the function by self.currentTest)"
|
||||
self.addResult(self.currentTest(nonDestructive=nonDestructive),SUCCESS_STATUS,"")
|
||||
|
||||
def addFailure(self,msg,nonDestructive=False):
|
||||
"Mark the failure of the current test"
|
||||
self.addResult(self.currentTest(nonDestructive=nonDestructive),FAILURE_STATUS,msg)
|
||||
|
||||
def addCritical(self,name,msg=""):
|
||||
self.addResult(name,CRITICAL_STATUS,msg)
|
||||
|
||||
def addWarning(self,msg="",nonDestructive=False):
|
||||
self.addResult(self.currentTest(nonDestructive=nonDestructive),WARNING_STATUS,msg)
|
||||
|
||||
def test(self):
|
||||
"""User can add functions to be tested in userTests,
|
||||
the functions should use self.addSuccess() and self.addFailure("") to keep track of the results
|
||||
test() will then proceed to autodetect all other tests"""
|
||||
|
||||
self.results=[]
|
||||
self._simpleTestList=self.userTests[:]
|
||||
|
||||
for method in dir(self):
|
||||
if method.startswith("_test"):
|
||||
method=getattr(self,method)
|
||||
if isinstance(method,types.FunctionType) or isinstance(method,types.MethodType):
|
||||
self._simpleTestList.append(method)
|
||||
|
||||
try:
|
||||
for fonct in self._simpleTestList:
|
||||
fonct()
|
||||
except testCoreOutOfTests:
|
||||
self.criticalTraceback()
|
||||
except Exception as e:
|
||||
if len(self.list_ongoing_tests)>0:
|
||||
self.addFailure(e)
|
||||
else:
|
||||
#self.criticalTraceback() #This is an arguable choice
|
||||
self.addResult("minitest.py:error",CRITICAL_STATUS,e)
|
||||
return self.results
|
||||
|
||||
def criticalTraceback(self):
|
||||
exc,funct,tb=sys.exc_info()
|
||||
code=tb.tb_frame.f_code
|
||||
self.addCritical("minitest.py:critical","fatal error {} line {} ({}@{})".format(exc.__name__,code.co_firstlineno,code.co_name,code.co_filename))
|
||||
# #print(traceback.extract_stack()[0])
|
||||
# # print(stack.name)
|
||||
# for stack in traceback.extract_stack():
|
||||
# # print(dir(frame))
|
||||
# self.addCritical("core:critical","{} line {} ({})".format(stack.name,stack.lineno,stack.filename))
|
||||
if __name__ == '__main__':
|
||||
term=Terminal()
|
||||
mainClasses=testGroup("Main Classes",term,verbose=True,align=40)
|
||||
subclass=testGroup("Subgroup",term,"| ",verbose=True,align=40)
|
||||
|
||||
mainTest=testUnit("lambda functions")
|
||||
mainTest.addTest(lambda :True)
|
||||
mainTest.addTest(lambda :True)
|
||||
lambdaTest=testUnit("incorrect lambdas")
|
||||
lambdaTest.addTest(lambda x:True)
|
||||
lambdaTest.addTest(lambda x,y:True)
|
||||
|
||||
class newTestUnit(testUnit):
|
||||
"""Just a custom test Class, simple and easyest ?"""
|
||||
def __init__(self):
|
||||
super(newTestUnit, self).__init__("custom test")
|
||||
|
||||
def test(self):
|
||||
self.results=[]
|
||||
|
||||
# Now all the customs test happen, and are append to the results
|
||||
potatoe=[]
|
||||
try: # You are supposed to fail this step
|
||||
if potatoe[1]==2:
|
||||
self.addResult("empty_table",self.FAILURE_STATUS,"Non empty array")
|
||||
except:
|
||||
self.addResult("empty_table",SUCCESS_STATUS,"")
|
||||
potatoe.append([2]*2) # Not try protected, but could be if a bug was a possibility
|
||||
|
||||
try:
|
||||
goodinit=True
|
||||
for e in potatoe:
|
||||
if e==3:
|
||||
goodinit=False
|
||||
self.addResult("init_table",FAILURE_STATUS,"Wrong elements")
|
||||
if goodinit:
|
||||
self.addResult("init_table",SUCCESS_STATUS,"")
|
||||
except:
|
||||
self.addResult("init_table",FAILURE_STATUS,"???")
|
||||
|
||||
return self.results
|
||||
|
||||
class anotherTest(simpleTestUnit):
|
||||
"""docstring for anotherTest."""
|
||||
def __init__(self):
|
||||
super(anotherTest, self).__init__("YET ANOTHER TEST")
|
||||
|
||||
def _testCustom(self):
|
||||
self.currentTest("testing true")
|
||||
if True:
|
||||
self.addSuccess()
|
||||
else:
|
||||
self.addFailure("True is False")
|
||||
|
||||
self.currentTest("additions:simple")
|
||||
if 1+3==4:
|
||||
self.addSuccess()
|
||||
else:
|
||||
self.addFailure("1+3 != 4")
|
||||
|
||||
self.currentTest("error")
|
||||
if False:
|
||||
self.addSuccess()
|
||||
else:
|
||||
self.addFailure("Supposed to fail")
|
||||
|
||||
self.currentTest("overload")
|
||||
self.addSuccess()
|
||||
self.addFailure("Supposed to overload")
|
||||
|
||||
|
||||
def _testAnotherCustomTest(self):
|
||||
"""Please note that the order of execution is entirely dependant on dir()
|
||||
and you should never rely on it for the order of the tests"""
|
||||
|
||||
self.currentTest("warning:notext")
|
||||
self.addWarning()
|
||||
self.currentTest("warning:custom")
|
||||
self.addWarning("warning")
|
||||
self.addCritical("critical:critical","very bad things happened")
|
||||
mainTest.test()
|
||||
lambdaTest.test()
|
||||
|
||||
mainClasses.addTest(lambdaTest)
|
||||
subclass.addTest(mainTest)
|
||||
mainClasses.addTest(subclass)
|
||||
mainClasses.addTest(newTestUnit())
|
||||
mainClasses.addTest(anotherTest())
|
||||
mainClasses.test()
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
python3 macro.py -v show -o Generated
|
||||
python3 macro.py -v macro -o Generated
|
||||
python3 macro.py -v index -o Changes
|
||||
python3 macro.py -v index -o Generated
|
||||
#python3 macro.py -v diff -v ~-1 -o Changes
|
||||
git add -A
|
||||
git commit
|
||||
git push
|
||||
git checkout gh-pages && git merge age-of-chaos && git push && git checkout age-of-chaos
|
||||
|
|
@ -0,0 +1,600 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: UTF-8 -*-
|
||||
|
||||
# Not actually part of the project; just easier to maintain everything here
|
||||
|
||||
import sys,os,traceback
|
||||
import re
|
||||
|
||||
try:
|
||||
from minitest import minitest
|
||||
term=minitest.Terminal()
|
||||
except:
|
||||
pass
|
||||
|
||||
try:
|
||||
args=sys.argv[1:]
|
||||
command=sys.argv[1]
|
||||
except:
|
||||
print("No command specified, just outputing the help")
|
||||
command="help"
|
||||
|
||||
EOL="\n"
|
||||
tab=" "
|
||||
#Custom parsing
|
||||
ENCAISSEMENT_PARSE="""d_vars.encaissement=to_number(tab[i+1]);
|
||||
d_vars.encaissement_dices="d20";
|
||||
if (tab[i+2]=="4") d_vars.encaissement_dices="d10";
|
||||
i+=3;
|
||||
break;"""
|
||||
|
||||
FLAT_DICES_PARSE="""d_vars.flat_dices[d_vars.nb_flat_dices]=to_p_number(tab[i+1]);
|
||||
d_vars.nb_flat_dices++;
|
||||
i+=2;
|
||||
break;"""
|
||||
|
||||
TECHNIQUE_PARSE="""d_vars.technique_m=to_p_number(tab[i+2]);
|
||||
i+=3;
|
||||
break;"""
|
||||
## Custom adders:
|
||||
lambda_flat_dices=lambda a: "@flat_dices[@flat_dices]=type({tab+1});\n@nb_flat_dices++;"
|
||||
|
||||
## Custom rerolls:
|
||||
|
||||
categories=['varname','Pretty name','nb_args','type','code','id','default','action','parser']
|
||||
hashedCategories={}
|
||||
for c in range(len(categories)):
|
||||
hashedCategories[categories[c]]=c
|
||||
|
||||
def findCat(element,category):
|
||||
return element[hashedCategories[category]]
|
||||
|
||||
list=[]
|
||||
#list.append(['varname','Pretty name','nb_args','type','code','id','default','action','parser'])
|
||||
list.append(['perfection','Perfection',1,'pint','P',0,0,"",None])
|
||||
list.append(['defense_i_0','Defence impénétrable simple',2,'pint','I',1,0,"",None])
|
||||
list.append(['defense_i_1','Defence impénétrable expert',2,'pint','I',2,0,"",None])
|
||||
list.append(['defense_i_2','Defence impénétrable meta',2,'pint','I',4,0,"",None])
|
||||
list.append(['rempart_p','Rempart parfait',1,'pint','R',0,0,"",None])
|
||||
list.append(['technique_m','Perfection',1,'pint','M',0,0,"",TECHNIQUE_PARSE]) #+=3
|
||||
list.append(['coup_d','Coup_déchirant',1,'pint','D',0,0,"",None])
|
||||
list.append(['fauchage','Fauchage',1,'pint','F',0,0,"",None])
|
||||
list.append(['exploiter_p_0','Exploiter_les_points_faibles simple',2,'pint','E',1,0,"",None])
|
||||
list.append(['exploiter_p_1','Exploiter_les_points_faibles expert',2,'pint','E',2,0,"",None])
|
||||
list.append(['exploiter_p_2','Exploiter_les_points_faibles meta',2,'pint','E',4,0,"",None])
|
||||
list.append(['tir_p_0','Tir_précis expert',2,'pint','T',2,0,"",None])
|
||||
list.append(['tir_p_1','Tir_précis meta',2,'pint','T',4,0,"",None])
|
||||
list.append(['tir_i','Tir_implacable',1,'pint','i',0,0,"",None])
|
||||
list.append(['charge','Charge',1,'pint','C',0,0,"",None])
|
||||
list.append(['charge_i','Charge_indomptable',1,'pint','N',0,0,"",None])
|
||||
list.append(['nb_2add','Nombre à ajouter',1,'int','+',0,0,"+",None])
|
||||
list.append(['nb_2sub','Nombre a soustraire',1,'int','-',0,0,"+",None])
|
||||
list.append(['relances','Relances',1,'pint','r',0,0,"",None])
|
||||
list.append(['seuil','Seuil',1,'pint','s',0,0,"",None])
|
||||
list.append(['action','Type d\'Action',1,'str','a',0,'""',"",None])
|
||||
list.append(['flat_dices','Des fixes',1,'pint','d',0,"[]","+",FLAT_DICES_PARSE])
|
||||
list.append(['on_hit_c','Dégats a l\'impact critique',1,'int','H',0,0,"+",None])
|
||||
list.append(['attribute','Caractéristique',1,'int','A',0,0,"+",None])
|
||||
list.append(['encaissement','Encaissement',1,'pint','S',0,0,"",ENCAISSEMENT_PARSE]) # It's actually 2 args but no switch
|
||||
list.append(['replace','Des de substitution',1,'int','L',0,-1,"",None])
|
||||
list.append(['add_to_all','Valeur d\'ajout aux des',1,'int','l',0,0,"",None])
|
||||
list.append(['max_dices','Nombre de des max',1,'pint','m',0,-1,"",None])
|
||||
list.append(['player_name','Nom du joueur',1,'str','n',0,'""',"",None])
|
||||
|
||||
list.append(['crit_level','Niveau de critique',1,'pint','c',0,2,"",None])
|
||||
list.append(['transcendence','Transcendence',1,'pint','t',0,3,"",None])
|
||||
list.append(['pctreceived','Pourcentage dégats recus',1,'int','v',0,0,"+",None])
|
||||
list.append(['pctinflicted','Pourcentage dégats infligés',1,'int','f',0,0,"+",None])
|
||||
|
||||
list.append(['nb_dices','Nombre de des',1,'pint','',0,0,"",None])
|
||||
list.append(['nb_flat_dices','Nombre de des fixes',1,'pint','',0,0,"",None])
|
||||
list.append(['encaissement_dices','Perfection',1,'pint','',0,'""',"",None])
|
||||
list.append(['results','Resultats',1,'pint','',0,"[]","",None])
|
||||
list.append(['cleave','Fauchage',1,'pint','',0,"[]","",None])
|
||||
list.append(['encaissement_result','Resultat d\'encaissement',1,'pint','',0,0,"",None])
|
||||
list.append(['technique_result','Dégats technique martiale',1,'int','',0,0,"",None])
|
||||
list.append(['coup_d_results','Coup déchirant results',1,'pint','',0,"[]","",None])
|
||||
|
||||
|
||||
|
||||
|
||||
class megaListWrapper():
|
||||
def __init__(self,table=list):
|
||||
self.table=table
|
||||
self.len=len(table)
|
||||
self.indexes={}
|
||||
for i in range(len(table)):
|
||||
self.indexes[findCat(table[i],"varname")]=i
|
||||
# Theese are array because you can't acess them directly
|
||||
self.singles=[]
|
||||
self.code=[]
|
||||
self.doubles={}
|
||||
for i in table:
|
||||
if findCat(i,'nb_args')==1:
|
||||
self.singles.append(i)
|
||||
elif findCat(i,'nb_args')==2:
|
||||
n=findCat(i,'code')
|
||||
if n not in self.doubles:
|
||||
self.doubles[n]=[]
|
||||
self.doubles[n].append(i)
|
||||
if findCat(i,'code')!='':
|
||||
self.code.append(i)
|
||||
|
||||
def __getitem__(self,argument): #Actually return the full line as a list wrapper
|
||||
return listWrapper(self.table[self.indexes[argument]])
|
||||
|
||||
def __iter__(self):
|
||||
for index,key in self.indexes.items():
|
||||
yield self[index]
|
||||
|
||||
def itersingles(self):
|
||||
"Only iterate over the simple argument ones"
|
||||
for index in self.singles:
|
||||
yield self[findCat(index,'varname')]
|
||||
|
||||
def iterdoubles(self):
|
||||
"Only iterate over the double arguments ones return a table with all"
|
||||
for table in self.doubles.values():
|
||||
yield [self[findCat(l,'varname')] for l in table]
|
||||
|
||||
def iterdefined(self):
|
||||
"Only iterate over the ones with defined code"
|
||||
pass
|
||||
|
||||
def __contains__(self,val):
|
||||
return val in self.indexes
|
||||
|
||||
def __len__(self):
|
||||
return self.len
|
||||
|
||||
def pprint(self):
|
||||
for e in self:
|
||||
print(e[0],":",e)
|
||||
|
||||
class listWrapper():
|
||||
def __init__(self,list,index=hashedCategories):
|
||||
self.list=list
|
||||
self.indexes=index
|
||||
|
||||
def pprint(self):
|
||||
print(self.list)
|
||||
|
||||
def asList(self):
|
||||
return self.list
|
||||
|
||||
def __len__(self):
|
||||
return len(self.list)
|
||||
|
||||
def __repr__(self):
|
||||
return str(self.list)
|
||||
|
||||
def __getitem__(self,nb):
|
||||
return self.list[nb]
|
||||
|
||||
def __getattr__(self,index):
|
||||
return self.list[self.indexes[index]]
|
||||
|
||||
def __iter__(self):
|
||||
for e in self.list:
|
||||
yield e
|
||||
|
||||
## Commands
|
||||
def initialise(args):
|
||||
"Initialise the variables for the switch"
|
||||
text="var d_vars={"
|
||||
for line in list:
|
||||
text+='"{}":{},'.format(line[0],line[6])
|
||||
text=text[:-1]+'};'
|
||||
return text
|
||||
|
||||
def pprint(args):
|
||||
"Print the whole list of values"
|
||||
for i in list:
|
||||
print(i)
|
||||
|
||||
def pErrors(name,errors):
|
||||
"Print sucess or error of given test"
|
||||
if errors:
|
||||
print("{:<15}: {} errors occured".format(name,errors))
|
||||
else:
|
||||
print("{:<15}: All test sucessful".format(name))
|
||||
return errors
|
||||
|
||||
def reroll(args):
|
||||
"Generate the reroll inline message"
|
||||
|
||||
reroll="var msg_relance=\"<a class='sheet-rolltemplate-d10fight' href='!crit 0"
|
||||
def addZero(name):
|
||||
return '"+d_vars.{}+"'.format(name)
|
||||
|
||||
def addOne(code,name):
|
||||
return ' {} {}'.format(code,addZero(name))
|
||||
|
||||
def addTwo(code,id,name):
|
||||
return ' {} {} {}'.format(code,id,addZero(name))
|
||||
|
||||
def addSimple(wline):
|
||||
if wline.code!="" and wline.code not in ("r","+",'M','D',"d","S"):
|
||||
if wline.nb_args==1:
|
||||
return addOne(wline.code,wline.varname)
|
||||
elif wline.nb_args==2:
|
||||
return addTwo(wline.code,wline.id,wline.varname)
|
||||
else:
|
||||
#print("{} must be handled differently".format(wline.varname))
|
||||
return ""
|
||||
|
||||
# Actual adding of all the lines
|
||||
for l in wrapper:
|
||||
reroll+=addSimple(l)
|
||||
|
||||
# Some lines needs to be added afterwards
|
||||
reroll+=' + "+(d_vars.{}+d_vars.{}+d_vars.{})'.format(wrapper["nb_2add"].varname, wrapper["technique_result"].varname, wrapper["encaissement_result"].varname)
|
||||
|
||||
# Last part of the command
|
||||
reroll+='+" r ?{Relances ?}";\n'
|
||||
reroll+='for (var i=0,len=d_vars.results.length;i<len;i++) msg_relance+=" d "+d_vars.results[i];\n'
|
||||
reroll+='msg_relance+="\'>Relancer ce jet</a>";'
|
||||
|
||||
return reroll
|
||||
|
||||
def find_code(args):
|
||||
"Find the next available code for given name"
|
||||
try:
|
||||
code=args[1]
|
||||
except:
|
||||
print("One argument expected")
|
||||
return 0
|
||||
listFree=''
|
||||
for letter in code:
|
||||
Letter=letter.capitalize()
|
||||
free,Free=1,1
|
||||
for line in wrapper:
|
||||
if free and letter==line.code:
|
||||
free=0
|
||||
if Free and Letter==line.code:
|
||||
Free=0
|
||||
if not free and not Free:
|
||||
break
|
||||
if Free and Letter not in listFree:
|
||||
listFree+=Letter
|
||||
if free and letter not in listFree:
|
||||
listFree+=letter
|
||||
if listFree:
|
||||
if len(listFree)==1:
|
||||
return 'The code "{}" is available.'.format(listFree)
|
||||
else:
|
||||
return 'The following codes "{}" are available'.format(listFree)
|
||||
else:
|
||||
print('No letter from name "{}" is available'.format(code))
|
||||
print(find_code([0,"abcdefghijklmnopqrstuvwxyz&_?.§!;"]))
|
||||
|
||||
def parser(args):
|
||||
"Generate the argument parser"
|
||||
res=tab+"if (len_args>0){"+EOL
|
||||
res+=tab*2+"d_vars.nb_dices=to_p_number(tab[0]);"+EOL
|
||||
res+=tab+"}"+EOL
|
||||
res+=tab+"for (i = 1; i < len_args;) {"+EOL
|
||||
res+=tab*2+"switch(tab[i]) {"+EOL
|
||||
def typewise(type):
|
||||
if type=="pint":
|
||||
return "to_p_number({});"
|
||||
elif type=='int':
|
||||
return "to_number({});"
|
||||
return "{};"
|
||||
|
||||
doubles={}
|
||||
for elt in wrapper.itersingles():
|
||||
if elt.parser:
|
||||
res+=tab*3+'case "{}":'.format(elt.code)+EOL
|
||||
for l in elt.parser.splitlines():
|
||||
res+=tab*4+l+EOL
|
||||
elif elt.code!="":
|
||||
res+=tab*3+'case "{}":'.format(elt.code)+EOL
|
||||
res+=tab*4+'d_vars.{}{}={}'.format(elt.varname,elt.action,typewise(elt.type).format("tab[i+1]"))+EOL
|
||||
res+=tab*4+'i+=2;'+EOL
|
||||
res+=tab*4+'break;'+EOL
|
||||
for grp in wrapper.iterdoubles():
|
||||
res+=tab*3+'case "{}":'.format(grp[0].code)+EOL
|
||||
res+=tab*4+'switch (tab[i+1]) {'+EOL
|
||||
for elt in grp:
|
||||
if elt.parser:
|
||||
for l in elt.parser.splitlines():
|
||||
res+=tab*5+l+EOL
|
||||
elif elt.code!="":
|
||||
res+=tab*5+'case "{}":'.format(elt.id)+EOL
|
||||
res+=tab*6+'d_vars.{}{}={}'.format(elt.varname,elt.action,typewise(elt.type).format("tab[i+2]"))+EOL
|
||||
res+=tab*6+'break;'+EOL
|
||||
if not elt.parser:
|
||||
res+=tab*4+"}"+EOL
|
||||
res+=tab*4+'i+=3;'+EOL
|
||||
res+=tab*4+'break;'+EOL
|
||||
|
||||
res+=tab*3+"default:"+EOL
|
||||
res+=tab*4+'logit("Argument "+tab[i]+" unknown.");'+EOL
|
||||
res+=tab*4+"i++;"+EOL
|
||||
res+=tab*4+"break;"+EOL
|
||||
res+=tab*2+"}"+EOL
|
||||
res+=tab*1+"}"+EOL
|
||||
return res
|
||||
|
||||
class testInit(minitest.simpleTestUnit):
|
||||
"""Check the initialisation message"""
|
||||
def __init__(self):
|
||||
super(testInit, self).__init__("initialisation variables")
|
||||
|
||||
def _testInit(self):
|
||||
self.currentTest("generating test values")
|
||||
|
||||
test_values={"nb_dices":0,"perfection":0,"defense_i_0":0,"defense_i_1":0,
|
||||
"defense_i_2":0,"rempart_p":0,"technique_m":0,"coup_d":0,"coup_d_results":"[]",
|
||||
"fauchage":0,"exploiter_p_0":0,"exploiter_p_1":0,"exploiter_p_2":0,"tir_p_0":0,
|
||||
"tir_p_1":0,"tir_i":0,"charge":0,"charge_i":0,"nb_2add":0,"nb_2sub":0,"relances":0,
|
||||
"seuil":0,"nb_flat_dices":0,"action":'""',"flat_dices":"[]","results":"[]","technique_result":0,
|
||||
"cleave":"[]","on_hit_c":0,"attribute":0,"encaissement":0,"encaissement_dices":'""',
|
||||
"encaissement_result":0,"replace":-1,"add_to_all":0,"max_dices":-1,"player_name":'""'}
|
||||
a=len(test_values)
|
||||
b=len(list)
|
||||
try:
|
||||
dict_list={}
|
||||
for l in list:
|
||||
dict_list[l[0]]=l[6]
|
||||
self.addSuccess()
|
||||
except Exception as ex:
|
||||
self.addFailure(str(ex))
|
||||
|
||||
self.currentTest("testing list")
|
||||
if a<b:
|
||||
pass # Only if the values are updated
|
||||
# self.addFailure("Too many values in the list")
|
||||
# for l in dict_list.keys():
|
||||
# if l not in test_values:
|
||||
# self.currentTest(l)
|
||||
# self.addFailure("{} missing from the test template".format(l))
|
||||
elif b<a:
|
||||
self.addFailure("Too few values in the list")
|
||||
for t,v in test_values.items():
|
||||
if t not in dict_list.keys():
|
||||
self.currentTest(t)
|
||||
self.addFailure("Missing element {}".format(v))
|
||||
else:
|
||||
for l,vl in dict_list.items():
|
||||
if l in test_values.keys():
|
||||
if test_values[l]!=vl:
|
||||
self.currentTest(test_values[l])
|
||||
self.addFailure("Expected {}, got {}".format(l,vl))
|
||||
else:
|
||||
self.currentTest(l)
|
||||
self.addFailure("The element is not in the test values")
|
||||
self.addSuccess()
|
||||
|
||||
class testReroll(minitest.simpleTestUnit):
|
||||
"""Check the reroll inline message"""
|
||||
def __init__(self):
|
||||
super(testReroll, self).__init__("inline message")
|
||||
|
||||
def _testReroll(self):
|
||||
self.currentTest("regex generation")
|
||||
model=""""var msg_relance="<a class='sheet-rolltemplate-d10fight' href='!crit 0 P "+d_vars.perfection+" I 1 "+d_vars.defense_i_0+" I 2 "+d_vars.defense_i_1+" I 4 "+d_vars.defense_i_2+" R "+d_vars.rempart_p+" F "+d_vars.fauchage+" E 1 "+d_vars.exploiter_p_0+" E 2 "+d_vars.exploiter_p_1+" E 4 "+d_vars.exploiter_p_2+" T 2 "+d_vars.tir_p_0+" T 4 "+d_vars.tir_p_1+" i "+d_vars.tir_i+" C "+d_vars.charge+" N "+d_vars.charge_i+" + "+(d_vars.nb_2add+d_vars.technique_result+d_vars.encaissement_result)+" - "+d_vars.nb_2sub+" r ?{Relances ?}"+" s "+d_vars.seuil+" a "+d_vars.action+" H "+d_vars.on_hit_c+" A "+d_vars.attribute+" L "+d_vars.replace+" l "+d_vars.add_to_all+" m "+d_vars.max_dices+" n "+d_vars.player_name;
|
||||
for (var i=0,len=d_vars.results.length;i<len;i++) msg_relance+=" d "+d_vars.results[i];
|
||||
msg_relance+="'>Relancer ce jet</a>";"""
|
||||
var=re.compile(' ([a-zA-Z:+_] .*?".*?)(?:\+"|;)')
|
||||
self.addSuccess()
|
||||
|
||||
self.currentTest('generating inline message')
|
||||
roll=reroll(args)
|
||||
self.addSuccess()
|
||||
|
||||
self.currentTest("checking generated roll")
|
||||
for e in (var.findall(model)):
|
||||
if roll.find(e)<0:
|
||||
self.currentTest("[{}]".format(e))
|
||||
self.addFailure("missing value")
|
||||
self.addSuccess()
|
||||
|
||||
# Only if the args are updated
|
||||
#self.currentTest("checking model")
|
||||
#for e in var.findall(roll):
|
||||
# if model.find(e)<0:
|
||||
# self.currentTest("[{}]".format(e))
|
||||
# self.addFailure("missing value")
|
||||
#self.addSuccess()
|
||||
|
||||
class testWrapper(minitest.simpleTestUnit):
|
||||
"""Check the reroll inline message"""
|
||||
def __init__(self):
|
||||
super(testWrapper, self).__init__("inline message")
|
||||
|
||||
def _testWrapper(self):
|
||||
self.currentTest("generating wrapper")
|
||||
s=len(hashedCategories)
|
||||
try:
|
||||
wrapper[-1]
|
||||
errors+=1
|
||||
self.addFailure("Error: Element -1 shouldn't exist")
|
||||
except:
|
||||
self.addSuccess()
|
||||
|
||||
f=0
|
||||
self.currentTest("hashing categories")
|
||||
for ele in wrapper:
|
||||
for c in hashedCategories.keys():
|
||||
if ele.__getattr__(c)!=findCat(ele,c):
|
||||
f+=1
|
||||
self.currentTest(ele[0])
|
||||
self.addFailure("{} found, should be {}".format(findCat(ele,c),ele.__getattr__(c)))
|
||||
|
||||
for i in range(s):
|
||||
if wrapper[ele[0]][i]!=ele.asList()[i] or wrapper[ele[0]][i]!=ele[i]:
|
||||
f+=1
|
||||
self.currentTest(i)
|
||||
self.addFailure("Element differs {}!={}".format(wrapper[ele[0]][i],ele.asList()[i]))
|
||||
if f==0:
|
||||
self.addSuccess()
|
||||
else:
|
||||
self.addFailure("{} elements failed".format(f))
|
||||
|
||||
f=0
|
||||
self.currentTest("single variable")
|
||||
for i in wrapper.itersingles():
|
||||
if i[0] not in wrapper:
|
||||
f+=1
|
||||
self.addFailure("{} element missing".format(i[0]),nonDestructive=True)
|
||||
if f==0:
|
||||
self.addSuccess()
|
||||
else:
|
||||
self.addFailure("{} elements failed".format(f))
|
||||
|
||||
f=0
|
||||
self.currentTest("double variables")
|
||||
for l in wrapper.iterdoubles():
|
||||
for i in l:
|
||||
if i[0] not in wrapper:
|
||||
f+=1
|
||||
self.addFailure("{} element missing".format(i[0]),nonDestructive=True)
|
||||
if f==0:
|
||||
self.addSuccess()
|
||||
else:
|
||||
self.addFailure("{} elements failed".format(f))
|
||||
|
||||
|
||||
class testParser(minitest.simpleTestUnit):
|
||||
"""Check the reroll inline message"""
|
||||
def __init__(self):
|
||||
super(testParser, self).__init__("inline message")
|
||||
|
||||
def _testParser(self):
|
||||
self.currentTest("loading parser")
|
||||
par=parser(args)
|
||||
self.addSuccess()
|
||||
f=0
|
||||
nb_code=0
|
||||
self.currentTest("testing all variables")
|
||||
for line in list:
|
||||
cat=findCat(line,"code")
|
||||
if cat!="":
|
||||
nb_code+=1
|
||||
if 'case "{}"'.format(cat) not in par:
|
||||
f+=1
|
||||
self.addFailure("code {} not found".format(cat),nonDestructive=True)
|
||||
if 'd_vars.{}'.format(findCat(line,"varname")) not in par:
|
||||
f+=1
|
||||
self.addFailure("variable {} not found".format(findCat(line,"varname")),nonDestructive=True)
|
||||
if f==0:
|
||||
self.addSuccess()
|
||||
else:
|
||||
self.addFailure("{} failures".format(f))
|
||||
|
||||
self.currentTest("testing i++ count")
|
||||
count=par.count("i+=")
|
||||
nb_code=nb_code+len([l for l in wrapper.iterdoubles()])-sum([len(l) for l in wrapper.iterdoubles()])
|
||||
if count!=nb_code:
|
||||
self.addFailure("{} occurences found (expected {})".format(par.count("i+="),nb_code))
|
||||
else:
|
||||
self.addSuccess()
|
||||
|
||||
self.currentTest("counting {}")
|
||||
counto=par.count("{")
|
||||
countc=par.count("}")
|
||||
tot=len([l for l in wrapper.iterdoubles()])+3
|
||||
if counto!=countc or counto!=tot:
|
||||
self.addFailure("found {} '{{' and {} '}} ' instead of {}".format(counto,countc,tot))
|
||||
else:
|
||||
self.addSuccess()
|
||||
|
||||
f=0
|
||||
self.currentTest("checking special text")
|
||||
for line in list:
|
||||
cat=findCat(line,"parser")
|
||||
if cat:
|
||||
for l in cat.splitlines():
|
||||
if l not in par:
|
||||
self.addFailure("{} isn't in the end result".format(l),nonDestructive=True)
|
||||
if f==0:
|
||||
self.addSuccess()
|
||||
else:
|
||||
self.addFailure("{} failures".format(f))
|
||||
"""for varname with symbol, find symbol
|
||||
for Special text, find special
|
||||
"""
|
||||
|
||||
def test_all(args):
|
||||
"Execute all tests"
|
||||
subclass=minitest.testGroup("Main Classes",term,verbose=True)
|
||||
all_s,t=["reroll","init","wrapper","parser"],0
|
||||
if len(args)>1:
|
||||
sub=[]# A list of test to execute
|
||||
for a in args[1:]:
|
||||
a=a.strip("-")
|
||||
if a in all_s or a=="all":
|
||||
t+=1
|
||||
sub.append(a.strip("-"))
|
||||
else:
|
||||
print("Argument {} unknown".format(a))
|
||||
else:
|
||||
sub=all_s
|
||||
t=len(sub)
|
||||
|
||||
if "all" in sub or "reroll" in sub:
|
||||
#"Check the reroll inline generation"
|
||||
subclass.addTest(testReroll())
|
||||
if "all" in sub or "init" in sub:
|
||||
#"Check the initialisation message"
|
||||
subclass.addTest(testInit())
|
||||
if "all" in sub or "wrapper" in sub:
|
||||
#"Test the wrapper, only useful internally"
|
||||
subclass.addTest(testWrapper())
|
||||
if "all" in sub or "parser" in sub:
|
||||
#"Check the reroll inline generation"
|
||||
subclass.addTest(testParser())
|
||||
|
||||
if t>0:
|
||||
subclass.test()
|
||||
status=subclass.get_status()
|
||||
return status['failure']
|
||||
return 0
|
||||
|
||||
def export(args):
|
||||
if len(args)>1:
|
||||
filen=args[1]
|
||||
try:
|
||||
f=open(filen)
|
||||
except:
|
||||
filen="export.log"
|
||||
f=open(filen,"w+")
|
||||
|
||||
def title(t):
|
||||
return "{} {} {}".format("#"*10,t,"#"*10)+EOL
|
||||
|
||||
f.write(title("Relances"))
|
||||
f.write(reroll([])+EOL)
|
||||
f.write(title("Reroll"))
|
||||
f.write(initialise([])+EOL)
|
||||
f.write(title("Parse"))
|
||||
f.write(parser([])+EOL)
|
||||
|
||||
f.close()
|
||||
|
||||
return "All data written in '{}'".format(filen)
|
||||
|
||||
def help(args):
|
||||
"Help, print the following message"
|
||||
print("List of availables commands")
|
||||
for key in commands.keys():
|
||||
print(" {}: {}".format(key,commands[key].__doc__))
|
||||
|
||||
commands={"init":initialise,"print":pprint,"reroll":reroll,
|
||||
"test":test_all,"code":find_code,"parser":parser,"export":export,"help":help}
|
||||
|
||||
if __name__ == '__main__':
|
||||
wrapper=megaListWrapper()
|
||||
try:
|
||||
ret=commands[command](args)
|
||||
if ret:
|
||||
print(ret)
|
||||
except KeyError:
|
||||
print("Command {} doesn't exist".format(command))
|
||||
commands['help'](args)
|
||||
except Exception:
|
||||
print("Couldn't execute command "+command)
|
||||
print(" > {} ({})".format(sys.exc_info()[1],sys.exc_info()[0]))
|
||||
traceback.print_tb(sys.exc_info()[2])
|
||||
|
|
@ -0,0 +1,296 @@
|
|||
a,a:link, a:visited {
|
||||
color: #06005f;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover, a:active {
|
||||
color: #9f99ff;;;
|
||||
background-color: #666666;
|
||||
}
|
||||
pre { white-space: pre-wrap; }
|
||||
.ef0,.f0 { color: #000000; } .eb0,.b0 { background-color: #000000; }
|
||||
.ef1,.f1 { color: #CD0000; } .eb1,.b1 { background-color: #CD0000; }
|
||||
.ef2,.f2 { color: #137400; } .eb2,.b2 { background-color: #137400; }
|
||||
.ef3,.f3 { color: #CDCD00; } .eb3,.b3 { background-color: #CDCD00; }
|
||||
.ef4,.f4 { color: #0000EE; } .eb4,.b4 { background-color: #0000EE; }
|
||||
.ef5,.f5 { color: #CD00CD; } .eb5,.b5 { background-color: #CD00CD; }
|
||||
.ef6,.f6 { color: #249696; } .eb6,.b6 { background-color: #249696; }
|
||||
.ef7,.f7 { color: #E5E5E5; } .eb7,.b7 { background-color: #E5E5E5; }
|
||||
.ef8, .f0 > .bold,.bold > .f0 { color: #7F7F7F; font-weight: bold; font-size: 1.1em; }
|
||||
.ef9, .f1 > .bold,.bold > .f1 { color: #FF0000; font-weight: bold; font-size: 1.1em;}
|
||||
.ef10,.f2 > .bold,.bold > .f2 { color: #00FF00; font-weight: bold; font-size: 1.1em;}
|
||||
.ef11,.f3 > .bold,.bold > .f3 { color: #FFFF00; font-weight: bold; font-size: 1.1em;}
|
||||
.ef12,.f4 > .bold,.bold > .f4 { color: #0000EE; font-weight: bold; font-size: 1.1em;}
|
||||
.ef13,.f5 > .bold,.bold > .f5 { color: #FF00FF; font-weight: bold; font-size: 1.1em;}
|
||||
.ef14,.f6 > .bold,.bold > .f6 { color: #00FFFF; font-weight: bold; font-size: 1.1em;}
|
||||
.ef15,.f7 > .bold,.bold > .f7 { color: #FFFFFF; font-weight: bold; font-size: 1.1em;}
|
||||
.eb8 { background-color: #7F7F7F; }
|
||||
.eb9 { background-color: #FF0000; }
|
||||
.eb10 { background-color: #00FF00; }
|
||||
.eb11 { background-color: #FFFF00; }
|
||||
.eb12 { background-color: #5C5CFF; }
|
||||
.eb13 { background-color: #FF00FF; }
|
||||
.eb14 { background-color: #00FFFF; }
|
||||
.eb15 { background-color: #FFFFFF; }
|
||||
.ef16 { color: #000000; } .eb16 { background-color: #000000; }
|
||||
.ef17 { color: #00005f; } .eb17 { background-color: #00005f; }
|
||||
.ef18 { color: #000087; } .eb18 { background-color: #000087; }
|
||||
.ef19 { color: #0000af; } .eb19 { background-color: #0000af; }
|
||||
.ef20 { color: #0000d7; } .eb20 { background-color: #0000d7; }
|
||||
.ef21 { color: #0000ff; } .eb21 { background-color: #0000ff; }
|
||||
.ef22 { color: #005f00; } .eb22 { background-color: #005f00; }
|
||||
.ef23 { color: #005f5f; } .eb23 { background-color: #005f5f; }
|
||||
.ef24 { color: #005f87; } .eb24 { background-color: #005f87; }
|
||||
.ef25 { color: #005faf; } .eb25 { background-color: #005faf; }
|
||||
.ef26 { color: #005fd7; } .eb26 { background-color: #005fd7; }
|
||||
.ef27 { color: #005fff; } .eb27 { background-color: #005fff; }
|
||||
.ef28 { color: #008700; } .eb28 { background-color: #008700; }
|
||||
.ef29 { color: #00875f; } .eb29 { background-color: #00875f; }
|
||||
.ef30 { color: #008787; } .eb30 { background-color: #008787; }
|
||||
.ef31 { color: #0087af; } .eb31 { background-color: #0087af; }
|
||||
.ef32 { color: #0087d7; } .eb32 { background-color: #0087d7; }
|
||||
.ef33 { color: #0087ff; } .eb33 { background-color: #0087ff; }
|
||||
.ef34 { color: #00af00; } .eb34 { background-color: #00af00; }
|
||||
.ef35 { color: #00af5f; } .eb35 { background-color: #00af5f; }
|
||||
.ef36 { color: #00af87; } .eb36 { background-color: #00af87; }
|
||||
.ef37 { color: #00afaf; } .eb37 { background-color: #00afaf; }
|
||||
.ef38 { color: #00afd7; } .eb38 { background-color: #00afd7; }
|
||||
.ef39 { color: #00afff; } .eb39 { background-color: #00afff; }
|
||||
.ef40 { color: #00d700; } .eb40 { background-color: #00d700; }
|
||||
.ef41 { color: #00d75f; } .eb41 { background-color: #00d75f; }
|
||||
.ef42 { color: #00d787; } .eb42 { background-color: #00d787; }
|
||||
.ef43 { color: #00d7af; } .eb43 { background-color: #00d7af; }
|
||||
.ef44 { color: #00d7d7; } .eb44 { background-color: #00d7d7; }
|
||||
.ef45 { color: #00d7ff; } .eb45 { background-color: #00d7ff; }
|
||||
.ef46 { color: #00ff00; } .eb46 { background-color: #00ff00; }
|
||||
.ef47 { color: #00ff5f; } .eb47 { background-color: #00ff5f; }
|
||||
.ef48 { color: #00ff87; } .eb48 { background-color: #00ff87; }
|
||||
.ef49 { color: #00ffaf; } .eb49 { background-color: #00ffaf; }
|
||||
.ef50 { color: #00ffd7; } .eb50 { background-color: #00ffd7; }
|
||||
.ef51 { color: #00ffff; } .eb51 { background-color: #00ffff; }
|
||||
.ef52 { color: #5f0000; } .eb52 { background-color: #5f0000; }
|
||||
.ef53 { color: #5f005f; } .eb53 { background-color: #5f005f; }
|
||||
.ef54 { color: #5f0087; } .eb54 { background-color: #5f0087; }
|
||||
.ef55 { color: #5f00af; } .eb55 { background-color: #5f00af; }
|
||||
.ef56 { color: #5f00d7; } .eb56 { background-color: #5f00d7; }
|
||||
.ef57 { color: #5f00ff; } .eb57 { background-color: #5f00ff; }
|
||||
.ef58 { color: #5f5f00; } .eb58 { background-color: #5f5f00; }
|
||||
.ef59 { color: #5f5f5f; } .eb59 { background-color: #5f5f5f; }
|
||||
.ef60 { color: #5f5f87; } .eb60 { background-color: #5f5f87; }
|
||||
.ef61 { color: #5f5faf; } .eb61 { background-color: #5f5faf; }
|
||||
.ef62 { color: #5f5fd7; } .eb62 { background-color: #5f5fd7; }
|
||||
.ef63 { color: #5f5fff; } .eb63 { background-color: #5f5fff; }
|
||||
.ef64 { color: #5f8700; } .eb64 { background-color: #5f8700; }
|
||||
.ef65 { color: #5f875f; } .eb65 { background-color: #5f875f; }
|
||||
.ef66 { color: #5f8787; } .eb66 { background-color: #5f8787; }
|
||||
.ef67 { color: #5f87af; } .eb67 { background-color: #5f87af; }
|
||||
.ef68 { color: #5f87d7; } .eb68 { background-color: #5f87d7; }
|
||||
.ef69 { color: #5f87ff; } .eb69 { background-color: #5f87ff; }
|
||||
.ef70 { color: #5faf00; } .eb70 { background-color: #5faf00; }
|
||||
.ef71 { color: #5faf5f; } .eb71 { background-color: #5faf5f; }
|
||||
.ef72 { color: #5faf87; } .eb72 { background-color: #5faf87; }
|
||||
.ef73 { color: #5fafaf; } .eb73 { background-color: #5fafaf; }
|
||||
.ef74 { color: #5fafd7; } .eb74 { background-color: #5fafd7; }
|
||||
.ef75 { color: #5fafff; } .eb75 { background-color: #5fafff; }
|
||||
.ef76 { color: #5fd700; } .eb76 { background-color: #5fd700; }
|
||||
.ef77 { color: #5fd75f; } .eb77 { background-color: #5fd75f; }
|
||||
.ef78 { color: #5fd787; } .eb78 { background-color: #5fd787; }
|
||||
.ef79 { color: #5fd7af; } .eb79 { background-color: #5fd7af; }
|
||||
.ef80 { color: #5fd7d7; } .eb80 { background-color: #5fd7d7; }
|
||||
.ef81 { color: #5fd7ff; } .eb81 { background-color: #5fd7ff; }
|
||||
.ef82 { color: #5fff00; } .eb82 { background-color: #5fff00; }
|
||||
.ef83 { color: #5fff5f; } .eb83 { background-color: #5fff5f; }
|
||||
.ef84 { color: #5fff87; } .eb84 { background-color: #5fff87; }
|
||||
.ef85 { color: #5fffaf; } .eb85 { background-color: #5fffaf; }
|
||||
.ef86 { color: #5fffd7; } .eb86 { background-color: #5fffd7; }
|
||||
.ef87 { color: #5fffff; } .eb87 { background-color: #5fffff; }
|
||||
.ef88 { color: #870000; } .eb88 { background-color: #870000; }
|
||||
.ef89 { color: #87005f; } .eb89 { background-color: #87005f; }
|
||||
.ef90 { color: #870087; } .eb90 { background-color: #870087; }
|
||||
.ef91 { color: #8700af; } .eb91 { background-color: #8700af; }
|
||||
.ef92 { color: #8700d7; } .eb92 { background-color: #8700d7; }
|
||||
.ef93 { color: #8700ff; } .eb93 { background-color: #8700ff; }
|
||||
.ef94 { color: #875f00; } .eb94 { background-color: #875f00; }
|
||||
.ef95 { color: #875f5f; } .eb95 { background-color: #875f5f; }
|
||||
.ef96 { color: #875f87; } .eb96 { background-color: #875f87; }
|
||||
.ef97 { color: #875faf; } .eb97 { background-color: #875faf; }
|
||||
.ef98 { color: #875fd7; } .eb98 { background-color: #875fd7; }
|
||||
.ef99 { color: #875fff; } .eb99 { background-color: #875fff; }
|
||||
.ef100 { color: #878700; } .eb100 { background-color: #878700; }
|
||||
.ef101 { color: #87875f; } .eb101 { background-color: #87875f; }
|
||||
.ef102 { color: #878787; } .eb102 { background-color: #878787; }
|
||||
.ef103 { color: #8787af; } .eb103 { background-color: #8787af; }
|
||||
.ef104 { color: #8787d7; } .eb104 { background-color: #8787d7; }
|
||||
.ef105 { color: #8787ff; } .eb105 { background-color: #8787ff; }
|
||||
.ef106 { color: #87af00; } .eb106 { background-color: #87af00; }
|
||||
.ef107 { color: #87af5f; } .eb107 { background-color: #87af5f; }
|
||||
.ef108 { color: #87af87; } .eb108 { background-color: #87af87; }
|
||||
.ef109 { color: #87afaf; } .eb109 { background-color: #87afaf; }
|
||||
.ef110 { color: #87afd7; } .eb110 { background-color: #87afd7; }
|
||||
.ef111 { color: #87afff; } .eb111 { background-color: #87afff; }
|
||||
.ef112 { color: #87d700; } .eb112 { background-color: #87d700; }
|
||||
.ef113 { color: #87d75f; } .eb113 { background-color: #87d75f; }
|
||||
.ef114 { color: #87d787; } .eb114 { background-color: #87d787; }
|
||||
.ef115 { color: #87d7af; } .eb115 { background-color: #87d7af; }
|
||||
.ef116 { color: #87d7d7; } .eb116 { background-color: #87d7d7; }
|
||||
.ef117 { color: #87d7ff; } .eb117 { background-color: #87d7ff; }
|
||||
.ef118 { color: #87ff00; } .eb118 { background-color: #87ff00; }
|
||||
.ef119 { color: #87ff5f; } .eb119 { background-color: #87ff5f; }
|
||||
.ef120 { color: #87ff87; } .eb120 { background-color: #87ff87; }
|
||||
.ef121 { color: #87ffaf; } .eb121 { background-color: #87ffaf; }
|
||||
.ef122 { color: #87ffd7; } .eb122 { background-color: #87ffd7; }
|
||||
.ef123 { color: #87ffff; } .eb123 { background-color: #87ffff; }
|
||||
.ef124 { color: #af0000; } .eb124 { background-color: #af0000; }
|
||||
.ef125 { color: #af005f; } .eb125 { background-color: #af005f; }
|
||||
.ef126 { color: #af0087; } .eb126 { background-color: #af0087; }
|
||||
.ef127 { color: #af00af; } .eb127 { background-color: #af00af; }
|
||||
.ef128 { color: #af00d7; } .eb128 { background-color: #af00d7; }
|
||||
.ef129 { color: #af00ff; } .eb129 { background-color: #af00ff; }
|
||||
.ef130 { color: #af5f00; } .eb130 { background-color: #af5f00; }
|
||||
.ef131 { color: #af5f5f; } .eb131 { background-color: #af5f5f; }
|
||||
.ef132 { color: #af5f87; } .eb132 { background-color: #af5f87; }
|
||||
.ef133 { color: #af5faf; } .eb133 { background-color: #af5faf; }
|
||||
.ef134 { color: #af5fd7; } .eb134 { background-color: #af5fd7; }
|
||||
.ef135 { color: #af5fff; } .eb135 { background-color: #af5fff; }
|
||||
.ef136 { color: #af8700; } .eb136 { background-color: #af8700; }
|
||||
.ef137 { color: #af875f; } .eb137 { background-color: #af875f; }
|
||||
.ef138 { color: #af8787; } .eb138 { background-color: #af8787; }
|
||||
.ef139 { color: #af87af; } .eb139 { background-color: #af87af; }
|
||||
.ef140 { color: #af87d7; } .eb140 { background-color: #af87d7; }
|
||||
.ef141 { color: #af87ff; } .eb141 { background-color: #af87ff; }
|
||||
.ef142 { color: #afaf00; } .eb142 { background-color: #afaf00; }
|
||||
.ef143 { color: #afaf5f; } .eb143 { background-color: #afaf5f; }
|
||||
.ef144 { color: #afaf87; } .eb144 { background-color: #afaf87; }
|
||||
.ef145 { color: #afafaf; } .eb145 { background-color: #afafaf; }
|
||||
.ef146 { color: #afafd7; } .eb146 { background-color: #afafd7; }
|
||||
.ef147 { color: #afafff; } .eb147 { background-color: #afafff; }
|
||||
.ef148 { color: #afd700; } .eb148 { background-color: #afd700; }
|
||||
.ef149 { color: #afd75f; } .eb149 { background-color: #afd75f; }
|
||||
.ef150 { color: #afd787; } .eb150 { background-color: #afd787; }
|
||||
.ef151 { color: #afd7af; } .eb151 { background-color: #afd7af; }
|
||||
.ef152 { color: #afd7d7; } .eb152 { background-color: #afd7d7; }
|
||||
.ef153 { color: #afd7ff; } .eb153 { background-color: #afd7ff; }
|
||||
.ef154 { color: #afff00; } .eb154 { background-color: #afff00; }
|
||||
.ef155 { color: #afff5f; } .eb155 { background-color: #afff5f; }
|
||||
.ef156 { color: #afff87; } .eb156 { background-color: #afff87; }
|
||||
.ef157 { color: #afffaf; } .eb157 { background-color: #afffaf; }
|
||||
.ef158 { color: #afffd7; } .eb158 { background-color: #afffd7; }
|
||||
.ef159 { color: #afffff; } .eb159 { background-color: #afffff; }
|
||||
.ef160 { color: #d70000; } .eb160 { background-color: #d70000; }
|
||||
.ef161 { color: #d7005f; } .eb161 { background-color: #d7005f; }
|
||||
.ef162 { color: #d70087; } .eb162 { background-color: #d70087; }
|
||||
.ef163 { color: #d700af; } .eb163 { background-color: #d700af; }
|
||||
.ef164 { color: #d700d7; } .eb164 { background-color: #d700d7; }
|
||||
.ef165 { color: #d700ff; } .eb165 { background-color: #d700ff; }
|
||||
.ef166 { color: #d75f00; } .eb166 { background-color: #d75f00; }
|
||||
.ef167 { color: #d75f5f; } .eb167 { background-color: #d75f5f; }
|
||||
.ef168 { color: #d75f87; } .eb168 { background-color: #d75f87; }
|
||||
.ef169 { color: #d75faf; } .eb169 { background-color: #d75faf; }
|
||||
.ef170 { color: #d75fd7; } .eb170 { background-color: #d75fd7; }
|
||||
.ef171 { color: #d75fff; } .eb171 { background-color: #d75fff; }
|
||||
.ef172 { color: #d78700; } .eb172 { background-color: #d78700; }
|
||||
.ef173 { color: #d7875f; } .eb173 { background-color: #d7875f; }
|
||||
.ef174 { color: #d78787; } .eb174 { background-color: #d78787; }
|
||||
.ef175 { color: #d787af; } .eb175 { background-color: #d787af; }
|
||||
.ef176 { color: #d787d7; } .eb176 { background-color: #d787d7; }
|
||||
.ef177 { color: #d787ff; } .eb177 { background-color: #d787ff; }
|
||||
.ef178 { color: #d7af00; } .eb178 { background-color: #d7af00; }
|
||||
.ef179 { color: #d7af5f; } .eb179 { background-color: #d7af5f; }
|
||||
.ef180 { color: #d7af87; } .eb180 { background-color: #d7af87; }
|
||||
.ef181 { color: #d7afaf; } .eb181 { background-color: #d7afaf; }
|
||||
.ef182 { color: #d7afd7; } .eb182 { background-color: #d7afd7; }
|
||||
.ef183 { color: #d7afff; } .eb183 { background-color: #d7afff; }
|
||||
.ef184 { color: #d7d700; } .eb184 { background-color: #d7d700; }
|
||||
.ef185 { color: #d7d75f; } .eb185 { background-color: #d7d75f; }
|
||||
.ef186 { color: #d7d787; } .eb186 { background-color: #d7d787; }
|
||||
.ef187 { color: #d7d7af; } .eb187 { background-color: #d7d7af; }
|
||||
.ef188 { color: #d7d7d7; } .eb188 { background-color: #d7d7d7; }
|
||||
.ef189 { color: #d7d7ff; } .eb189 { background-color: #d7d7ff; }
|
||||
.ef190 { color: #d7ff00; } .eb190 { background-color: #d7ff00; }
|
||||
.ef191 { color: #d7ff5f; } .eb191 { background-color: #d7ff5f; }
|
||||
.ef192 { color: #d7ff87; } .eb192 { background-color: #d7ff87; }
|
||||
.ef193 { color: #d7ffaf; } .eb193 { background-color: #d7ffaf; }
|
||||
.ef194 { color: #d7ffd7; } .eb194 { background-color: #d7ffd7; }
|
||||
.ef195 { color: #d7ffff; } .eb195 { background-color: #d7ffff; }
|
||||
.ef196 { color: #ff0000; } .eb196 { background-color: #ff0000; }
|
||||
.ef197 { color: #ff005f; } .eb197 { background-color: #ff005f; }
|
||||
.ef198 { color: #ff0087; } .eb198 { background-color: #ff0087; }
|
||||
.ef199 { color: #ff00af; } .eb199 { background-color: #ff00af; }
|
||||
.ef200 { color: #ff00d7; } .eb200 { background-color: #ff00d7; }
|
||||
.ef201 { color: #ff00ff; } .eb201 { background-color: #ff00ff; }
|
||||
.ef202 { color: #ff5f00; } .eb202 { background-color: #ff5f00; }
|
||||
.ef203 { color: #ff5f5f; } .eb203 { background-color: #ff5f5f; }
|
||||
.ef204 { color: #ff5f87; } .eb204 { background-color: #ff5f87; }
|
||||
.ef205 { color: #ff5faf; } .eb205 { background-color: #ff5faf; }
|
||||
.ef206 { color: #ff5fd7; } .eb206 { background-color: #ff5fd7; }
|
||||
.ef207 { color: #ff5fff; } .eb207 { background-color: #ff5fff; }
|
||||
.ef208 { color: #ff8700; } .eb208 { background-color: #ff8700; }
|
||||
.ef209 { color: #ff875f; } .eb209 { background-color: #ff875f; }
|
||||
.ef210 { color: #ff8787; } .eb210 { background-color: #ff8787; }
|
||||
.ef211 { color: #ff87af; } .eb211 { background-color: #ff87af; }
|
||||
.ef212 { color: #ff87d7; } .eb212 { background-color: #ff87d7; }
|
||||
.ef213 { color: #ff87ff; } .eb213 { background-color: #ff87ff; }
|
||||
.ef214 { color: #ffaf00; } .eb214 { background-color: #ffaf00; }
|
||||
.ef215 { color: #ffaf5f; } .eb215 { background-color: #ffaf5f; }
|
||||
.ef216 { color: #ffaf87; } .eb216 { background-color: #ffaf87; }
|
||||
.ef217 { color: #ffafaf; } .eb217 { background-color: #ffafaf; }
|
||||
.ef218 { color: #ffafd7; } .eb218 { background-color: #ffafd7; }
|
||||
.ef219 { color: #ffafff; } .eb219 { background-color: #ffafff; }
|
||||
.ef220 { color: #ffd700; } .eb220 { background-color: #ffd700; }
|
||||
.ef221 { color: #ffd75f; } .eb221 { background-color: #ffd75f; }
|
||||
.ef222 { color: #ffd787; } .eb222 { background-color: #ffd787; }
|
||||
.ef223 { color: #ffd7af; } .eb223 { background-color: #ffd7af; }
|
||||
.ef224 { color: #ffd7d7; } .eb224 { background-color: #ffd7d7; }
|
||||
.ef225 { color: #ffd7ff; } .eb225 { background-color: #ffd7ff; }
|
||||
.ef226 { color: #ffff00; } .eb226 { background-color: #ffff00; }
|
||||
.ef227 { color: #ffff5f; } .eb227 { background-color: #ffff5f; }
|
||||
.ef228 { color: #ffff87; } .eb228 { background-color: #ffff87; }
|
||||
.ef229 { color: #ffffaf; } .eb229 { background-color: #ffffaf; }
|
||||
.ef230 { color: #ffffd7; } .eb230 { background-color: #ffffd7; }
|
||||
.ef231 { color: #ffffff; } .eb231 { background-color: #ffffff; }
|
||||
.ef232 { color: #080808; } .eb232 { background-color: #080808; }
|
||||
.ef233 { color: #121212; } .eb233 { background-color: #121212; }
|
||||
.ef234 { color: #1c1c1c; } .eb234 { background-color: #1c1c1c; }
|
||||
.ef235 { color: #262626; } .eb235 { background-color: #262626; }
|
||||
.ef236 { color: #303030; } .eb236 { background-color: #303030; }
|
||||
.ef237 { color: #3a3a3a; } .eb237 { background-color: #3a3a3a; }
|
||||
.ef238 { color: #444444; } .eb238 { background-color: #444444; }
|
||||
.ef239 { color: #4e4e4e; } .eb239 { background-color: #4e4e4e; }
|
||||
.ef240 { color: #585858; } .eb240 { background-color: #585858; }
|
||||
.ef241 { color: #626262; } .eb241 { background-color: #626262; }
|
||||
.ef242 { color: #6c6c6c; } .eb242 { background-color: #6c6c6c; }
|
||||
.ef243 { color: #767676; } .eb243 { background-color: #767676; }
|
||||
.ef244 { color: #808080; } .eb244 { background-color: #808080; }
|
||||
.ef245 { color: #8a8a8a; } .eb245 { background-color: #8a8a8a; }
|
||||
.ef246 { color: #949494; } .eb246 { background-color: #949494; }
|
||||
.ef247 { color: #9e9e9e; } .eb247 { background-color: #9e9e9e; }
|
||||
.ef248 { color: #a8a8a8; } .eb248 { background-color: #a8a8a8; }
|
||||
.ef249 { color: #b2b2b2; } .eb249 { background-color: #b2b2b2; }
|
||||
.ef250 { color: #bcbcbc; } .eb250 { background-color: #bcbcbc; }
|
||||
.ef251 { color: #c6c6c6; } .eb251 { background-color: #c6c6c6; }
|
||||
.ef252 { color: #d0d0d0; } .eb252 { background-color: #d0d0d0; }
|
||||
.ef253 { color: #dadada; } .eb253 { background-color: #dadada; }
|
||||
.ef254 { color: #e4e4e4; } .eb254 { background-color: #e4e4e4; }
|
||||
.ef255 { color: #eeeeee; } .eb255 { background-color: #eeeeee; }
|
||||
|
||||
.f9 { color: #000000; }
|
||||
.b9 { background-color: #AAAAAD; }
|
||||
.f9 > .bold,.bold > .f9, body.f9 > pre > .bold {
|
||||
/* Bold is heavy black on white, or bright white
|
||||
depending on the default background */
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.reverse {
|
||||
/* CSS does not support swapping fg and bg colours unfortunately,
|
||||
so just hardcode something that will look OK on all backgrounds. */
|
||||
color: #000000; background-color: #E5E5E5;
|
||||
}
|
||||
.underline { text-decoration: underline; }
|
||||
.line-through { text-decoration: line-through; }
|
||||
.blink { text-decoration: blink; }
|
||||
|
||||
/* Avoid pixels between adjacent span elements.
|
||||
Note this only works for lines less than 80 chars
|
||||
where we close span elements on the same line.
|
||||
span { display: inline-block; }
|
||||
*/
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
pipeline {
|
||||
agent any
|
||||
|
||||
options {
|
||||
skipDefaultCheckout(true)
|
||||
timestamps()
|
||||
}
|
||||
|
||||
environment {
|
||||
DEPLOY_DIR = '/mnt/books/RPG/d10_character_sheet'
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
deleteDir()
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
stage('Dependencies') {
|
||||
steps {
|
||||
sh 'python3 -m venv .venv'
|
||||
sh '.venv/bin/python -m pip install -r requirements.txt'
|
||||
}
|
||||
}
|
||||
stage('Build and verify') {
|
||||
steps {
|
||||
sh '.venv/bin/python -m unittest discover -s tests -v'
|
||||
sh '.venv/bin/python tools/publish_builds.py'
|
||||
sh '''
|
||||
if command -v node >/dev/null 2>&1; then
|
||||
D10_BUILD_ROOT=RPG/d10_character_sheet node tests/test_tabs.mjs
|
||||
node tests/test_character_io.mjs
|
||||
else
|
||||
echo 'Node.js is unavailable on this agent; skipping the JavaScript checks.'
|
||||
fi
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Publish') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: 'RPG/d10_character_sheet/**', fingerprint: true, onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
sh '''
|
||||
set -eu
|
||||
mkdir -p "$DEPLOY_DIR"
|
||||
rsync -a --delete RPG/d10_character_sheet/ "$DEPLOY_DIR/"
|
||||
test -f "$DEPLOY_DIR/assets/robotman_health_r.png"
|
||||
test -f "$DEPLOY_DIR/assets/robotman_armor_r.png"
|
||||
test -f "$DEPLOY_DIR/cyberpunk/sheet.html"
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
247
README.md
247
README.md
|
|
@ -1,224 +1,33 @@
|
|||
# Système D10 — feuilles Roll20
|
||||
## Introduction
|
||||
Vous trouverez ici la feuille de personnage type pour le système D10. Cette feuille a été crée pour fonctionner avec Roll20.
|
||||
|
||||
Ce dépôt génère deux feuilles de personnage Roll20 : **base** et **cyberpunk**.
|
||||
Les compétences fixes sont dans `data/base_skills.yaml` et
|
||||
`data/cyberpunk_skills.yaml`. Les champs et variantes sont dans
|
||||
`data/sheet_model.yaml`, les couleurs dans `data/themes.yaml`, et le style
|
||||
commun dans `templates/sheet.css`. `tools/build.py` produit les fichiers à
|
||||
charger dans Roll20.
|
||||
## Macros roll20
|
||||
Peuvent etre utile a modifier ou récuperer:
|
||||
- ```Life_Points / Life_Points_maximum``` : Points de Vie
|
||||
- ```Endurance_Points / Endurance_Points_maximum``` : Points de fatigue
|
||||
- ```general_item_weapon1``` : La valeur de dégats de l'arme 1
|
||||
- ```general_item_weapon1_name``` : Le nom de l'arme 1
|
||||
- ```general_effective_weapon1``` : La valeur de dégats de l'arme 1 si elle est activée; 0 sinon
|
||||
- ```base_damage_dices``` : La base de dégats offensif (a priori, rien sauf compétence particulière)
|
||||
- ```exal_damage_dices``` : Le modificateur de dégats (Un bonus de charge, un buff de dégats temporaires)
|
||||
|
||||
Le dossier `agent_models/` est une zone de références locales fournie par
|
||||
l'utilisateur; il est ignoré par Git et n'entre pas dans la génération D10.
|
||||
[`FEATURES.md`](FEATURES.md) décrit les comportements sous forme de dossiers
|
||||
portables et [`ARCHITECTURE.md`](ARCHITECTURE.md) décrit les composants, les
|
||||
flux et l'ordre de reconstruction. Les scripts Mod sont conservés dans
|
||||
[`scripts/`](scripts/) et s'installent séparément de la feuille.
|
||||
Exemple (avec chatSetAttr) [chatSetAttr](https://github.com/Roll20/roll20-api-scripts/blob/master/ChatSetAttr/README.md):
|
||||
- ```!setattr --sel --Life_Points|21```
|
||||
- ```!setattr --set --mod --Life_Points|-5```
|
||||
- ```!setattr --name Basil --general_item_weapon1|55```
|
||||
|
||||
## Construire
|
||||
## HTML
|
||||
- Ne pas utiliser d'ID, seulement des classes. Il y a en effet
|
||||
plusieurs copies de la feuille lors d'une partie, l'utilisation d'ID
|
||||
pourra par conséquent entraîner des comportements inattendus.
|
||||
|
||||
```sh
|
||||
python -m venv .venv
|
||||
.venv/bin/python -m pip install -r requirements.txt
|
||||
./build.sh
|
||||
./build.sh --clean
|
||||
```
|
||||
## CSS
|
||||
- La feuille complète est contenue dans une grande div
|
||||
```.charsheet```, pour éviter d'appliquer le CSS au reste de roll20.
|
||||
Le CSS sera modifié en conséquence lors de l'import.
|
||||
- Lors de
|
||||
l'import, toutes les classes qui ne sont pas préfixées de
|
||||
```shield```, ```roll_``` ou ```repeating_``` seront préfixées de
|
||||
```sheet-```. Il faut donc prévoir le CSS en conséquence.
|
||||
|
||||
`build.sh` génère les deux variantes avec leurs sélecteurs de thème sous
|
||||
`RPG/d10_character_sheet/`. Avec `--clean`, il supprime d'abord ce dossier
|
||||
ainsi que `build/`, puis reconstruit les fichiers publiables. Il utilise
|
||||
`.venv/bin/python` si disponible, sinon `python3` avec les dépendances déjà
|
||||
installées. Pour générer un thème isolé ou lister les thèmes :
|
||||
|
||||
```sh
|
||||
.venv/bin/python tools/build.py --variant base --theme parchment
|
||||
.venv/bin/python tools/build.py --variant cyberpunk --theme night
|
||||
.venv/bin/python tools/build.py --list-themes
|
||||
```
|
||||
|
||||
Chaque build crée `sheet.html`, `sheet.css`, `translation.json`, `sheet.json`
|
||||
et `build-info.json` dans `build/<variante>/<thème>/`. Le build cyberpunk copie
|
||||
aussi les deux images originales de `assets/`. Il est possible de
|
||||
choisir un autre répertoire avec `--output-dir`. Charger le HTML, le CSS et
|
||||
la traduction dans les onglets correspondants de l'éditeur de feuille
|
||||
personnalisée Roll20. `sheet.json` est un manifeste; `build-info.json` contient
|
||||
la variante, le thème, le nombre de compétences et une empreinte du résultat.
|
||||
|
||||
Les sections **01 Caractéristiques** et **02 Ressources** restent visibles.
|
||||
La variante base a deux onglets principaux, **Compétences** et **Combat**.
|
||||
Dans Compétences, quatre sous-onglets séparent **Combat et combat libre**,
|
||||
**Compétences libres**, **Magie** et **Équipement**. Les lignes répétables
|
||||
gardent leurs noms d'attributs et de section. La variante cyberpunk conserve
|
||||
les onglets **Compétences**, **Combat** et **Autres**. Ses sous-onglets issus du
|
||||
catalogue YAML sont **Physique**, **Intellectuelles** et **Social**.
|
||||
Les compétences libres et les contacts répétables restent dans **Autres**.
|
||||
Les contacts ont un nom et un niveau, sans caractéristique associée. Leur
|
||||
bouton **Show** affiche ces informations dans le chat sans lancer de dé.
|
||||
Les consommables d'**Arsenal** ont aussi un bouton **Show** qui affiche leur
|
||||
nom, leur quantité et leurs notes sans lancer de dé ni modifier la quantité.
|
||||
L'onglet **Combat** cyberpunk contient seulement l'initiative et son jet;
|
||||
les attaques et dégâts des armes sont gérés dans **Arsenal**, sous **Combat**.
|
||||
Les personnages qui avaient sélectionné l'ancien onglet de compétences
|
||||
**Arsenal** voient **Physique** lors du prochain affichage des compétences.
|
||||
La variante base
|
||||
conserve ses champs de combat génériques et ses armes équipées.
|
||||
Le choix principal est stocké dans `d10_tab`, celui des sous-onglets base dans
|
||||
`d10_skill_tab` et celui des catégories cyberpunk dans `d10_category_tab`.
|
||||
Les personnages qui avaient enregistré `core` ou, pour la variante base,
|
||||
`other` affichent **Compétences** jusqu'au prochain clic. L'en-tête reste visible.
|
||||
**Arsenal** contient **Distance**, **Mêlée** et **Consommable**. Les armes restent
|
||||
dans les sections répétables `distance` et `melee`. Le sélecteur de thème dans l'en-tête des deux variantes conserve
|
||||
le choix dans `d10_theme_choice` et applique immédiatement la palette via
|
||||
`d10_theme`. La variante base propose **Parchemin** et **Nuit** uniquement.
|
||||
Les 18 palettes du dossier local `styles/themes/` ont été
|
||||
adaptées aux cinq couleurs de la feuille et copiées dans `data/themes.yaml`;
|
||||
le build ne dépend pas de ce dossier. `parchment` et `night` restent disponibles
|
||||
sous les noms **Parchemin** et **Nuit** dans le sélecteur cyberpunk.
|
||||
`--theme` choisit le thème initial; tous les thèmes modifient seulement les
|
||||
couleurs et la visibilité de la silhouette, sans modifier les champs ni les jets.
|
||||
|
||||
Chaque arme cyberpunk a un seuil de base, une précision et une spécialité de
|
||||
combat facultative. Le nombre de dés est demandé à chaque attaque dans une
|
||||
fenêtre Roll20, avec 1 par défaut. Les jets de combat utilisent des d10 avec
|
||||
`cs1cf10`; les autres jets utilisent le dé sélectionné avec `cs1cfX`, où X
|
||||
est le nombre de faces. L'attaque compte les dés inférieurs ou
|
||||
égaux à `seuil de base + compétence + précision`. Pour un tir simple ou une
|
||||
attaque de mêlée, les dégâts valent `dégâts de base + (réussites retenues − 1)
|
||||
× dégâts / réussite`, ou zéro sans réussite. **Rmax** limite les réussites
|
||||
retenues; `0` signifie sans limite et préserve les anciennes fiches. Pour une
|
||||
rafale ou un tir automatique, la carte affiche séparément les dégâts de chaque
|
||||
tir réussi (`X, X, X`) sans les additionner. Chaque tir inflige les dégâts de
|
||||
base; un dé naturel de 1 inflige `dégâts de base + dégâts / réussite` pour ce
|
||||
tir (`X + bonus, X, X`). Le nombre d'instances de dégâts ne peut jamais dépasser
|
||||
le nombre de balles tirées, même lorsque Rmax vaut 0. Rmax ne s'applique pas à ces modes. Une rafale ajoute
|
||||
un dé. Les tirs vérifient le coût en munitions du mode choisi et retirent
|
||||
ces munitions du chargeur après le jet. Une rafale ou un tir automatique peut
|
||||
être déclenché avec moins de munitions que son coût normal; il vide alors le
|
||||
chargeur. Un chargeur vide bloque toujours le tir. La réserve compte les **chargeurs de
|
||||
rechange**, et non les balles. Recharger consomme un chargeur de réserve et
|
||||
remplit le chargeur actuel à sa capacité; les balles qui restaient dans
|
||||
l'ancien chargeur sont perdues. Les personnages existants dont la réserve
|
||||
comptait des balles doivent corriger cette valeur. Le bouton
|
||||
**Dégâts** applique la formule du tir simple avec Rmax aux réussites saisies
|
||||
manuellement, sans dépenser de
|
||||
munitions. Les champs historiques `name`, `damage` et `notes` de ces deux
|
||||
sections sont conservés; les nouvelles valeurs doivent être renseignées sur
|
||||
les personnages existants. Les anciennes sections historiques
|
||||
`ranged-weapons` et `melee-weapons` ne migrent pas automatiquement.
|
||||
|
||||
Les boutons de Distance utilisent chacun un événement nommé. Les identifiants
|
||||
d'action répétables n'utilisent plus de tiret bas
|
||||
(`firesingle`, `fireburst`, `fireauto` et `damage`); ce sont des identifiants de
|
||||
boutons, pas des attributs sauvegardés, donc ce changement ne déplace aucune
|
||||
donnée de personnage.
|
||||
|
||||
Dans la variante cyberpunk, 02 affiche aussi deux cartes côte à côte :
|
||||
**Santé** (PV de la tête, du torse et des membres) et **Armure** (protection,
|
||||
intégrité et intégrité maximale aux mêmes localisations). Les cases sont
|
||||
posées sur les images originales `robotman_health_r.png` et
|
||||
`robotman_armor_r.png`. Les attributs de localisation existants gardent leurs
|
||||
noms; les nouveaux maxima portent le suffixe `_maximum`. Sur un écran étroit,
|
||||
les cartes se placent l'une sous l'autre. Les champs numériques masquent les
|
||||
flèches de réglage des navigateurs Firefox et Chromium.
|
||||
|
||||
Par défaut, le HTML cyberpunk référence directement les deux PNG publiés dans
|
||||
[`RPG/d10_character_sheet/assets/`](https://books.dandaedre.com/RPG/d10_character_sheet/assets/).
|
||||
Pour un aperçu local sans réseau, les PNG restent copiés à côté de `sheet.html`
|
||||
et peuvent être référencés avec une valeur vide :
|
||||
|
||||
```sh
|
||||
.venv/bin/python tools/build.py --variant cyberpunk --theme parchment \
|
||||
--asset-base-url ''
|
||||
```
|
||||
|
||||
Une autre adresse HTTPS publique peut être fournie avec `--asset-base-url`.
|
||||
Charger le HTML généré dans l'éditeur Roll20 avec le CSS et la traduction.
|
||||
|
||||
## Échanges JSON de personnages
|
||||
|
||||
Les deux variantes affichent **Échanges JSON** dans l'en-tête. Cette interface
|
||||
requiert l'installation séparée de `scripts/d10_character_io.js` dans les Mod
|
||||
Scripts de la campagne Roll20. **Exporter** crée un handout contenant le format
|
||||
versionné `d10-roll20-character` version 1. **Restaurer** demande l'identifiant
|
||||
de ce handout et remplace les attributs et capacités du personnage courant sans
|
||||
changer son identifiant Roll20 ni ses tokens liés.
|
||||
|
||||
L'export conserve les valeurs actuelles/maximales, les lignes répétables, les
|
||||
capacités, la bio et les métadonnées auxquelles l'utilisateur a accès. Un joueur
|
||||
ne peut exporter ou restaurer qu'un personnage qu'il contrôle; ses exports
|
||||
n'incluent pas les notes MJ et sa restauration ne peut pas changer les notes
|
||||
MJ, les contrôleurs ou la visibilité du journal. Seul un MJ peut créer un
|
||||
nouveau personnage :
|
||||
|
||||
```text
|
||||
!d10-export
|
||||
!d10-export --id CHARACTER_ID
|
||||
!d10-import --handout HANDOUT_ID
|
||||
!d10-import --replace --id CHARACTER_ID --handout HANDOUT_ID
|
||||
```
|
||||
|
||||
La restauration supprime d'abord les attributs et capacités existants de la
|
||||
cible. Conserver un export récent avant de l'utiliser. Les handouts privés
|
||||
d'export MJ contiennent les notes MJ et doivent rester privés. Le contrat
|
||||
complet et ses critères de portage sont dans la fonctionnalité F07 de
|
||||
[`FEATURES.md`](FEATURES.md).
|
||||
|
||||
## Publication Jenkins
|
||||
|
||||
L'agent Jenkins doit disposer de Python 3 avec `venv`. Les tests JavaScript des
|
||||
onglets et des échanges JSON s'exécutent si Node.js est présent; son absence ne bloque pas la
|
||||
publication. Le `Jenkinsfile` exécute les tests Python, construit une feuille
|
||||
par variante et archive les résultats sous `RPG/d10_character_sheet/`. Le
|
||||
dossier `RPG/d10_character_sheet/assets/` contient les deux PNG originaux. Les
|
||||
fichiers HTML, CSS et JSON de chaque build sont dans
|
||||
`RPG/d10_character_sheet/<variante>/`. Les anciens dossiers par thème sont
|
||||
supprimés lors de la publication. La commande locale équivalente est :
|
||||
|
||||
```sh
|
||||
.venv/bin/python tools/publish_builds.py
|
||||
D10_BUILD_ROOT=RPG/d10_character_sheet node tests/test_tabs.mjs
|
||||
node tests/test_character_io.mjs
|
||||
```
|
||||
|
||||
Jenkins archive ces fichiers comme artifacts du job, puis déploie les builds de
|
||||
`master` vers `/mnt/books/RPG/d10_character_sheet/` avec `rsync`, selon le même
|
||||
principe que le pipeline Ravenous. Les autres branches ne sont pas déployées.
|
||||
Les builds Jenkins utilisent désormais directement l'URL publique du dossier
|
||||
`assets/` pour les images de la feuille cyberpunk.
|
||||
|
||||
## Vérifier
|
||||
|
||||
```sh
|
||||
.venv/bin/python -m unittest discover -s tests -v
|
||||
./build.sh
|
||||
.venv/bin/python tools/build.py --variant base --theme parchment --output-dir RPG/d10_character_sheet/base --check
|
||||
.venv/bin/python tools/build.py --variant cyberpunk --theme parchment --output-dir RPG/d10_character_sheet/cyberpunk --check
|
||||
D10_BUILD_ROOT=RPG/d10_character_sheet node tests/test_tabs.mjs
|
||||
node tests/test_character_io.mjs
|
||||
```
|
||||
|
||||
Le test des onglets utilise les builds publiés `base` et `cyberpunk`;
|
||||
exécuter `./build.sh` avant de le lancer. `--check` compare les
|
||||
fichiers existants aux sources sans les réécrire. Les tests vérifient la
|
||||
génération, les références d'attribut, les actions des onglets et les échanges
|
||||
JSON dans une simulation de l'API Mod, mais ne
|
||||
simulent pas l'affichage, le parseur de dés ou la sauvegarde de Roll20.
|
||||
Le Custom Sheet Sandbox doit encore servir à valider les interactions et la
|
||||
persistance des valeurs; les points précis sont dans [`TASKS.md`](TASKS.md).
|
||||
|
||||
## Sources et compatibilité
|
||||
|
||||
Le modèle de base reprend les attributs principaux de l'ancienne feuille
|
||||
`feuille_sysd10.html`; les compétences cyberpunk viennent de la branche
|
||||
`origin/cyberpunk-latest`, vérifiée contre `origin/cyberpunk`. Les anciennes
|
||||
sources sont conservées dans l'historique Git, pas dans la génération.
|
||||
Les noms des caractéristiques, ressources et de plusieurs champs de combat
|
||||
ont été gardés quand cela était possible. Les sections répétables reconstruites
|
||||
sous un autre nom ne migrent pas automatiquement.
|
||||
|
||||
La feuille historique utilisait aussi les macros `!crit` et des calculs de
|
||||
combat complexes. Le nouveau build utilise un seuil moins un dé et un roll
|
||||
template; il n'appelle pas ces macros. Le script
|
||||
`scripts/d10_character_io.js` est testé séparément pour les échanges JSON. Les
|
||||
scripts historiques `change.js` et `crit.js` restent disponibles sans
|
||||
validation avec la nouvelle feuille. Les fonctionnalités avancées non
|
||||
modélisées ne doivent pas être supposées compatibles.
|
||||
##### Ces informations proviennent de la doc Roll20, et plus particulièrement de la page [Building Character Sheet](https://wiki.roll20.net/Building_Character_Sheets).
|
||||
|
|
|
|||
|
|
@ -0,0 +1,61 @@
|
|||
General
|
||||
Initiative (Comp)
|
||||
Rapidite_surnaturelle @Actions
|
||||
Frères_d'arme @Reserve
|
||||
Perfection P
|
||||
Prescience_ @Reserve
|
||||
Rage_primale @Reserve
|
||||
A_corps_perdu @Reserve
|
||||
undescored_name :
|
||||
|
||||
Defence
|
||||
Encaissement @Defence
|
||||
Encaissement @Defence
|
||||
Resistances @Defence
|
||||
Endurance_surnaturelle @PV
|
||||
Riposte @Reserve
|
||||
Riposte @Reserve
|
||||
Parade @Reserve
|
||||
Defense_impenetrable I_1
|
||||
Defense_impenetrable I_2
|
||||
Defense_impenetrable I_4
|
||||
Rempart_parfait R
|
||||
Infatigable (Rappel)
|
||||
Dernier_Souffle_ (Rappel)
|
||||
Envers_et_contre_tout (Rappel)
|
||||
Regeneration (Rappel)
|
||||
Regeneration (Rappel)
|
||||
Presence_ecrasante (Rappel)
|
||||
Maîtrise_du_combat (Rappel)
|
||||
|
||||
Offense
|
||||
Technique_martiale M_1
|
||||
Technique_martiale M_2
|
||||
Coup_en_Puissance @Reserve
|
||||
Coup_Double @Reserve
|
||||
Coup_dechirant D
|
||||
Fauchage F
|
||||
Coup_mortel (Rappel)@Reserve
|
||||
Combat_acrobatique (Rappel)
|
||||
Assaut_implacable (Rappel)
|
||||
Tir_en_mouvement (Rappel)
|
||||
Exploiter_les_points_faibles E_1
|
||||
Exploiter_les_points_faibles E_2
|
||||
Exploiter_les_points_faibles E_4
|
||||
Double_initiative (Rappel)**
|
||||
Marcher_dans_les_ombres (Rappel)
|
||||
Rage_Berserk (Rappel)**
|
||||
Influx_meurtrier (Rappel)**
|
||||
|
||||
|
||||
|
||||
Special
|
||||
Tir_mortel @Reserve
|
||||
Tir_precis T_1
|
||||
Tir_precis T_2
|
||||
replace L
|
||||
add_to_add l
|
||||
Tir_implacable i
|
||||
Charge C
|
||||
Charge_Mortelle (Rappel)
|
||||
Charge_indomptable N
|
||||
56
TASKS.md
56
TASKS.md
|
|
@ -1,56 +0,0 @@
|
|||
# D10 sheet work
|
||||
|
||||
- [x] Inventory base, cyberpunk, and Ravenous model; set scope and agent rules.
|
||||
- [x] Define variant models, skill YAML, and stable identifiers; document source mapping.
|
||||
- [x] Build a deterministic generator for Roll20 HTML, CSS, translation.json, and sheet.json.
|
||||
- [x] Add parchment and night themes without altering rolls or stored fields.
|
||||
- [x] Test validation, generated fields, references, and both variant builds.
|
||||
- [x] Document build, use, variant differences, migration limits, and Roll20 sandbox checks.
|
||||
- [x] Replace stacked characteristic and skill controls with compact themed grids; verify both variants and themes.
|
||||
- [x] Split the generated sheet into Personnage, Compétences, Combat, and Autres tabs; verify action handlers and builds.
|
||||
- [x] Remove unused legacy sheet sources and minitest, retain Mod scripts in scripts/, and keep the Ravenous model local.
|
||||
- [x] Keep 01 Caractéristiques and 02 Ressources visible above the three remaining tabs; preserve the old core tab value.
|
||||
- [x] Present cyberpunk health and armour locations on side-by-side body maps without changing field names.
|
||||
- [x] Divide base skills into fight/free fight, free skills, magic, and equipment subtabs; keep cyberpunk navigation and stored fields.
|
||||
- [x] Restore original cyberpunk health and armor figures, add integrity maximum per location, and hide number spinners.
|
||||
- [x] Restore readable labels in night-theme repeating rows after Roll20 restructures their fieldsets.
|
||||
- [x] Add cyberpunk skill category subtabs for the full catalogue, preserving fixed skills and repeating fields.
|
||||
- [x] Map all supplied corporation palettes into the D10 theme model and add a saved cyberpunk theme selector.
|
||||
- [x] Add Jenkins artifact publication under RPG/d10_character_sheet/ for both variants, all themes, and the original body images.
|
||||
- [x] Allow Jenkins agents without Node.js to publish after the Python checks; keep the JavaScript tab check when Node.js is available.
|
||||
- [x] Mirror Ravenous Jenkins publication by deploying successful master artifacts to /mnt/books/RPG/d10_character_sheet/.
|
||||
- [x] Link the published body images in generated cyberpunk HTML by default, with a local preview override.
|
||||
- [x] Improve roll result contrast and spacing in the chat template across light and dark themes.
|
||||
- [x] Restore cyberpunk Arsenal subtabs and add functional ranged and melee weapon attacks, damage, ammunition checks, and reloads.
|
||||
- [x] Reduce cyberpunk Combat to initiative and its roll; keep generic combat fields and equipped weapons in base only.
|
||||
- [x] Remove the characteristic selector from cyberpunk contacts and replace their dice roll with a Show chat card.
|
||||
- [x] Rename the parchment and night theme labels in the cyberpunk selector without changing saved theme IDs.
|
||||
- [x] Prompt for the cyberpunk weapon dice count on each attack instead of storing a fixed value on the weapon.
|
||||
- [x] Count cyberpunk ammo reserve as spare magazines and consume one per reload.
|
||||
- [x] Add a Show chat card for cyberpunk consumables without changing their quantity.
|
||||
- [x] Add a root build script for all publishable variants with an optional clean rebuild.
|
||||
- [x] Move cyberpunk Arsenal from Skills into Combat while preserving its subtabs and repeating sections.
|
||||
- [x] Add Rmax to ranged and melee weapons; cap single strikes and apply base damage per success for burst and automatic fire.
|
||||
- [x] Publish one build per variant and add a base-only Parchemin/Nuit selector.
|
||||
- [x] Show burst and automatic damage per successful shot, with the per-success bonus on natural 1s.
|
||||
- [x] Mark combat rolls with cs1cf10 and all other dice rolls with cs1cfX for the selected die.
|
||||
- [x] Simplify ranged attack ammunition roll data and expose worker progress in the weapon row.
|
||||
- [x] Remove ammunition fields from ranged chat commands while retaining worker-side checks and deductions.
|
||||
- [x] Reduce ranged startRoll commands to the minimum attack and damage fields accepted by Roll20.
|
||||
- [x] Add a temporary default-template diagnostic path for every cyberpunk weapon roll action.
|
||||
- [x] Reduce weapon diagnostics to fixed chat messages without attribute access or game calculations.
|
||||
- [x] Route every ranged action through Roll20's repeating-section click event.
|
||||
- [x] Remove underscores from repeating weapon action names for Roll20 event compatibility.
|
||||
- [x] Replace the ignored ranged section dispatcher with individual underscore-free events.
|
||||
- [x] Remove temporary weapon diagnostics and restore attacks, damage, ammunition, reloads, and chat details.
|
||||
- [x] Let burst and automatic fire consume a partially filled magazine instead of rejecting the attack.
|
||||
- [x] Cap burst and automatic damage instances to the number of bullets actually fired.
|
||||
- [x] Raise the Torse control on both cyberpunk body maps for better silhouette alignment.
|
||||
- [x] Add versioned character JSON export/restore through a separately installed Mod script; document portable features and reconstruction architecture.
|
||||
|
||||
## Live Roll20 checks after local verification
|
||||
|
||||
- [ ] Load each generated variant in Custom Sheet Sandbox; inspect tabs and repeating rows.
|
||||
- [ ] Roll characteristic, skill, and combat buttons and compare results to the base rules.
|
||||
- [ ] Edit and reopen a character to verify stored values remain attached to their fields.
|
||||
- [ ] With `d10_character_io.js` installed, export and restore each variant; reopen it and verify metadata, abilities, fixed attributes, and repeating rows.
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 9.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 9.5 KiB |
33
build.sh
33
build.sh
|
|
@ -1,33 +0,0 @@
|
|||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
root=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
cd "$root"
|
||||
|
||||
case "${1-}" in
|
||||
'')
|
||||
if [ "$#" -ne 0 ]; then
|
||||
echo "Usage: ./build.sh [--clean]" >&2
|
||||
exit 2
|
||||
fi
|
||||
;;
|
||||
--clean)
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "Usage: ./build.sh [--clean]" >&2
|
||||
exit 2
|
||||
fi
|
||||
rm -rf -- "$root/build" "$root/RPG/d10_character_sheet"
|
||||
;;
|
||||
*)
|
||||
echo "Usage: ./build.sh [--clean]" >&2
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -x "$root/.venv/bin/python" ]; then
|
||||
python="$root/.venv/bin/python"
|
||||
else
|
||||
python=python3
|
||||
fi
|
||||
|
||||
"$python" tools/publish_builds.py
|
||||
|
|
@ -48,14 +48,17 @@ on("chat:message", function(msg) {
|
|||
if (d_vars.coup_d!=0) { // Parsing the mutilating strike
|
||||
var table_r = JSON.parse(ops[0]["content"])["rolls"][dec]["results"]; dec+=2;
|
||||
for (var t=0,i=0,len=table_r.length ; i<len ; i++){
|
||||
d_vars.coup_d_results.push(table_r[i]["v"]);
|
||||
d_vars.coup_d_results.push(table_r[i]["v"]+d_vars.add_to_all);
|
||||
}
|
||||
}
|
||||
if (d_vars.encaissement!=0) { // Parsing the tanking
|
||||
d_vars.encaissement_result=JSON.parse(ops[0]["content"])["rolls"][dec]["results"][0]["v"]; dec+=2;
|
||||
if ((d_vars.encaissement+d_vars.attribute-d_vars.encaissement_result)>0){
|
||||
if (d_vars.encaissement_result==1) d_vars.encaissement_result=(d_vars.attribute+d_vars.encaissement)*2;
|
||||
else d_vars.encaissement_result=d_vars.attribute+d_vars.encaissement;
|
||||
if (d_vars.encaissement_result==1) d_vars.encaissement_result=(d_vars.encaissement-d_vars.encaissement_result)*4;
|
||||
else {
|
||||
d_vars.encaissement_result=(d_vars.encaissement-d_vars.encaissement_result)*2;
|
||||
if (d_vars.encaissement_result<0) d_vars.encaissement_result=0;
|
||||
}
|
||||
} else {
|
||||
d_vars.encaissement_result=0;
|
||||
}
|
||||
|
|
@ -93,7 +96,12 @@ on("chat:message", function(msg) {
|
|||
//Merge the rerolls to the results, then drop the d_vars.rerolls lower ones (this method is equivalent to n consecutives rerolls)
|
||||
for(i=0;i<d_vars.relances ; i++){
|
||||
// Find the smallest element and Place the reroll in it's place
|
||||
d_vars.results[indexOfSmallest(d_vars.results)]=rerolls[i];
|
||||
var s=indexOfSmallest(d_vars.results);
|
||||
if (7<d_vars.results[s] && d_vars.relances!=1){
|
||||
d_vars.relances=i;
|
||||
break;
|
||||
}
|
||||
d_vars.results[s]=rerolls[i];
|
||||
};
|
||||
|
||||
// Now we can split the cleave from the rolls
|
||||
|
|
@ -155,6 +163,9 @@ on("chat:message", function(msg) {
|
|||
|
||||
if (return_data.nb_hit>=Math.floor(hit_percent*len)){
|
||||
return_data.is_hit=1;
|
||||
if(d_vars.action=="e"&&return_data.nb_hit==0) {
|
||||
return_data.is_hit=0;
|
||||
}
|
||||
}
|
||||
if (return_data.nb_crit>=needed_to_crit){
|
||||
return_data.is_crit=1;
|
||||
|
|
@ -167,12 +178,13 @@ on("chat:message", function(msg) {
|
|||
|
||||
function show_rolls(who,d_vars){
|
||||
//Return a beautiful table showing the results and some information depending on the type of action "e":Dodge "a":Attack "d":Defense
|
||||
|
||||
d_vars.pctinflicted_show=Math.floor(d_vars.pctinflicted*100)-100;
|
||||
d_vars.pctreceived_show=Math.floor(d_vars.pctreceived*100)-100;
|
||||
var msg_head="<div id='sheet-rolltemplate-d10fight-all' class='sheet-rolltemplate-d10fight'> <div id='sheet-rolltemplate-d10fight-blob' class='sheet-rolltemplate-d10fight-blob'> <table class='sheet-rolltemplate-d10fight'> <tbody>"
|
||||
var msg="<tr><td class='sheet-name'>";
|
||||
var msg_foot="</tr></td></table></div>";
|
||||
var msg_adds="";
|
||||
var msg_relance="<a class='sheet-rolltemplate-d10fight' href='!crit 0 A "+d_vars.attribute+" L "+d_vars.replace+" t "+d_vars.transcendence+" T 2 "+d_vars.tir_p_0+" s "+d_vars.seuil+" R "+d_vars.rempart_p+" i "+d_vars.tir_i+" f "+d_vars.pctinflicted+" l "+d_vars.add_to_all+" - "+d_vars.nb_2sub+" C "+d_vars.charge+" c "+d_vars.crit_level+" m "+d_vars.max_dices+" F "+d_vars.fauchage+" v "+d_vars.pctreceived+" P "+d_vars.perfection+" E 2 "+d_vars.exploiter_p_1+" E 1 "+d_vars.exploiter_p_0+" E 4 "+d_vars.exploiter_p_2+" I 4 "+d_vars.defense_i_2+" I 1 "+d_vars.defense_i_0+" I 2 "+d_vars.defense_i_1+" N "+d_vars.charge_i+" n "+d_vars.player_name+" H "+d_vars.on_hit_c+" T 4 "+d_vars.tir_p_1+" a "+d_vars.action+" + "+(d_vars.nb_2add+d_vars.technique_result+d_vars.encaissement_result)+" r ?{Relances ?}";
|
||||
var msg_relance="<a class='sheet-rolltemplate-d10fight' href='!crit 0 A "+d_vars.attribute+" L "+d_vars.replace+" t "+d_vars.transcendence+" T 2 "+d_vars.tir_p_0+" s "+d_vars.seuil+" R "+d_vars.rempart_p+" i "+d_vars.tir_i+" f "+d_vars.pctinflicted_show+" l "+d_vars.add_to_all+" - "+d_vars.nb_2sub+" C "+d_vars.charge+" c "+d_vars.crit_level+" m "+d_vars.max_dices+" F "+d_vars.fauchage+" v "+d_vars.pctreceived_show+" P "+d_vars.perfection+" E 2 "+d_vars.exploiter_p_1+" E 1 "+d_vars.exploiter_p_0+" E 4 "+d_vars.exploiter_p_2+" I 4 "+d_vars.defense_i_2+" I 1 "+d_vars.defense_i_0+" I 2 "+d_vars.defense_i_1+" N "+d_vars.charge_i+" n "+d_vars.player_name+" H "+d_vars.on_hit_c+" T 4 "+d_vars.tir_p_1+" a "+d_vars.action+" + "+(d_vars.nb_2add+d_vars.technique_result+d_vars.encaissement_result)+" r ?{Relances ?}";
|
||||
for (var i=0,len=d_vars.results.length;i<len;i++) msg_relance+=" d "+d_vars.results[i];
|
||||
msg_relance+="'>Relancer ce jet</a>";
|
||||
logit(msg_relance);
|
||||
|
|
@ -216,8 +228,8 @@ function show_rolls(who,d_vars){
|
|||
|
||||
//Add the rolls
|
||||
|
||||
msg+=add_thoose_dices(d_vars,d_vars.results,"",m_esq,m_crit);
|
||||
if (d_vars.fauchage!=0) msg+=add_thoose_dices(d_vars,d_vars.cleave,"Fauchage: ",m_esq,m_crit);
|
||||
msg+=add_thoose_dices(d_vars,d_vars.results,"",m_esq,m_crit,dice_stats);
|
||||
if (d_vars.fauchage!=0) msg+=add_thoose_dices(d_vars,d_vars.cleave,"Fauchage: ",m_esq,m_crit,dice_stats);
|
||||
if (d_vars.coup_d!=0) msg_adds+="<tr><td class='sheet-additional'>Coup déchirant: "+d_vars.coup_d_results.join(" ")+"</tr></td>"; // Coup déchirant
|
||||
if (d_vars.technique_m!=0) msg_adds+="<tr><td class='sheet-additional'>Technique martiale: "+d_vars.technique_result+"</tr></td>"; // Technique martiale
|
||||
if (d_vars.relances!=0) msg_adds+="<tr><td class='sheet-additional'>Relances: "+d_vars.relances+"</tr></td>"; // Relances
|
||||
|
|
@ -241,8 +253,10 @@ function show_rolls(who,d_vars){
|
|||
} else {
|
||||
if (d_vars.action=="a"){
|
||||
msg+="<tr><td class='sheet-miss'>L'attaque ne touche pas sa cible (seuil "+d_vars.seuil+")</tr></td>";
|
||||
} else if (d_vars.action=="d"||d_vars.action=="e"){
|
||||
// Can't miss a block or a dodge
|
||||
} else if (d_vars.action=="d"){
|
||||
// Can't miss a block
|
||||
}else if (d_vars.action=="e"){
|
||||
msg+="<tr><td class='sheet-miss'>L'esquive échoue (seuil "+d_vars.seuil+")</tr></td>";
|
||||
} else {
|
||||
msg+="<tr><td class='sheet-fail'>L'action est un echec (seuil "+d_vars.seuil+")</tr></td>";
|
||||
}
|
||||
|
|
@ -252,7 +266,7 @@ function show_rolls(who,d_vars){
|
|||
//logit(msg_head+msg+msg_foot);
|
||||
}
|
||||
|
||||
function add_thoose_dices(d_vars,results,name,m_esq,m_crit){
|
||||
function add_thoose_dices(d_vars,results,name,m_esq,m_crit,dice_stats){
|
||||
logit(results);
|
||||
var dices="<tr><td class='sheet-line'> "+name;
|
||||
var is_below=0,is_acrit=0;
|
||||
|
|
@ -296,24 +310,26 @@ function add_thoose_dices(d_vars,results,name,m_esq,m_crit){
|
|||
dices+=" + "+(d_vars.on_hit_c+d_vars.attribute);
|
||||
if (m_crit>1) dices+=" [x"+m_crit+"]";
|
||||
};
|
||||
if (d_vars.pctreceived!=0 && d_vars.action!="a"){
|
||||
d_vars.pctreceived=(100+d_vars.pctreceived);
|
||||
d_vars.nb_2sub=Math.floor(d_vars.nb_2sub*d_vars.pctreceived/100);
|
||||
dices+=" [x"+d_vars.pctreceived+"%]";
|
||||
if (d_vars.pctreceived!=1 && d_vars.action!="a"){
|
||||
//d_vars.pctreceived=(100+d_vars.pctreceived);
|
||||
d_vars.nb_2sub=Math.floor(d_vars.nb_2sub*d_vars.pctreceived);
|
||||
dices+=" [x"+(d_vars.pctreceived_show)+"%]";
|
||||
}
|
||||
if (d_vars.nb_2add!=0){dices+=")";};
|
||||
if (d_vars.nb_2sub!=0){dices+=" - "+d_vars.nb_2sub;};
|
||||
// Add everything to the sum
|
||||
sum=Math.floor(((sum*m_esq+d_vars.on_hit_c+d_vars.attribute))*m_crit)+d_vars.nb_2add
|
||||
if (dice_stats.is_hit==1){ // If is_below never becomes 2, the action never was a hit
|
||||
sum+=Math.floor(((sum*m_esq+d_vars.on_hit_c+d_vars.attribute))*m_crit)+d_vars.nb_2add;
|
||||
}
|
||||
sum+=d_vars.defense_i_0+d_vars.exploiter_p_0+d_vars.charge+d_vars.technique_result+d_vars.encaissement_result;
|
||||
if(d_vars.transcendence>3){sum=sum*(2**(d_vars.transcendence-3));}
|
||||
else {
|
||||
if (d_vars.transcendence<3) { sum=Math.floor(sum/(2**(3-d_vars.transcendence)));}
|
||||
}
|
||||
if (d_vars.pctinflicted!=0 && d_vars.action=="a"){
|
||||
d_vars.pctinflicted=(100+d_vars.pctinflicted);
|
||||
sum=Math.floor(sum*d_vars.pctinflicted/100);
|
||||
dices+=' [x'+d_vars.pctinflicted+'%]';
|
||||
if (d_vars.pctinflicted!=1 && d_vars.action=="a"){
|
||||
//d_vars.pctinflicted=(100+d_vars.pctinflicted);
|
||||
sum=Math.floor(sum*d_vars.pctinflicted);
|
||||
dices+=' [x'+(d_vars.pctinflicted_show+100)+'%]';
|
||||
}
|
||||
|
||||
sum+=-d_vars.nb_2sub;
|
||||
|
|
@ -328,7 +344,7 @@ function parse_command(message){
|
|||
// Parse a string formated in the following fashion
|
||||
// 4 P 2 I 2 4 E 4 1 T 1 4 + 11 - 22 s 2 d 4 d 5 d 8 d 1
|
||||
// And add everithing in the related Variables
|
||||
var d_vars={"perfection":0,"defense_i_0":0,"defense_i_1":0,"defense_i_2":0,"rempart_p":0,"technique_m":0,"coup_d":0,"fauchage":0,"exploiter_p_0":0,"exploiter_p_1":0,"exploiter_p_2":0,"tir_p_0":0,"tir_p_1":0,"tir_i":0,"charge":0,"charge_i":0,"nb_2add":0,"nb_2sub":0,"relances":0,"seuil":0,"action":"","flat_dices":[],"on_hit_c":0,"attribute":0,"encaissement":0,"replace":-1,"add_to_all":0,"max_dices":-1,"player_name":"","crit_level":2,"transcendence":3,"pctreceived":0,"pctinflicted":0,"nb_dices":0,"nb_flat_dices":0,"encaissement_dices":"","results":[],"cleave":[],"encaissement_result":0,"technique_result":0,"coup_d_results":[]};
|
||||
var d_vars={"perfection":0,"defense_i_0":0,"defense_i_1":0,"defense_i_2":0,"rempart_p":0,"technique_m":0,"coup_d":0,"fauchage":0,"exploiter_p_0":0,"exploiter_p_1":0,"exploiter_p_2":0,"tir_p_0":0,"tir_p_1":0,"tir_i":0,"charge":0,"charge_i":0,"nb_2add":0,"nb_2sub":0,"relances":0,"seuil":0,"action":"","flat_dices":[],"on_hit_c":0,"attribute":0,"encaissement":0,"replace":-1,"add_to_all":0,"max_dices":-1,"player_name":"","crit_level":2,"transcendence":3,"pctreceived":1,"pctinflicted":1,"nb_dices":0,"nb_flat_dices":0,"encaissement_dices":"","results":[],"cleave":[],"encaissement_result":0,"technique_result":0,"coup_d_results":[]};
|
||||
var tab=message.split(" ");
|
||||
var len_args=tab.length;
|
||||
var i;
|
||||
|
|
@ -436,11 +452,11 @@ function parse_command(message){
|
|||
i+=2;
|
||||
break;
|
||||
case "v":
|
||||
d_vars.pctreceived=to_number(tab[i+1]);
|
||||
d_vars.pctreceived*=(100+to_number(tab[i+1]))/100;
|
||||
i+=2;
|
||||
break;
|
||||
case "f":
|
||||
d_vars.pctinflicted=to_number(tab[i+1]);
|
||||
d_vars.pctinflicted*=(100+to_number(tab[i+1]))/100;
|
||||
i+=2;
|
||||
break;
|
||||
case "I":
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
sections:
|
||||
- name: Compétences
|
||||
groups:
|
||||
- name: Offense
|
||||
skills:
|
||||
- id: Perfection
|
||||
name: Perfection
|
||||
- id: Technique_martiale
|
||||
name: Technique martiale
|
||||
- id: Coup_dechirant
|
||||
name: Coup dechirant
|
||||
- id: Fauchage
|
||||
name: Fauchage
|
||||
- id: Exploiter_les_points_faibles
|
||||
name: Exploiter les points faibles
|
||||
- name: Défense
|
||||
skills:
|
||||
- id: Defense_impenetrable
|
||||
name: Defense impenetrable
|
||||
- id: Rempart_parfait
|
||||
name: Rempart parfait
|
||||
- id: Endurance_surnaturelle
|
||||
name: Endurance surnaturelle
|
||||
- id: Encaissement
|
||||
name: Encaissement
|
||||
- name: Tir et charge
|
||||
skills:
|
||||
- id: Tir_precis
|
||||
name: Tir precis
|
||||
- id: Tir_implacable
|
||||
name: Tir implacable
|
||||
- id: Charge
|
||||
name: Charge
|
||||
- id: Charge_indomptable
|
||||
name: Charge indomptable
|
||||
|
|
@ -1,454 +0,0 @@
|
|||
sections:
|
||||
- id: physique
|
||||
name: Physique
|
||||
groups:
|
||||
- name: Combat
|
||||
skills:
|
||||
- id: armesfeu
|
||||
name: Armes à feu
|
||||
- id: armesdassaut
|
||||
name: Armes d'Assaut
|
||||
parent: armesfeu
|
||||
- id: armesdepoing
|
||||
name: Armes de Poing
|
||||
parent: armesfeu
|
||||
- id: armeslourdes
|
||||
name: Armes Lourdes
|
||||
- id: munitionssolides
|
||||
name: Munitions Solides
|
||||
parent: armeslourdes
|
||||
- id: projectilesautopropulss
|
||||
name: Projectiles Autopropulsés
|
||||
parent: armeslourdes
|
||||
- id: armementlaser
|
||||
name: Armement Laser
|
||||
parent: armeslourdes
|
||||
- id: artillerie
|
||||
name: Artillerie
|
||||
- id: projectilesbalistiques
|
||||
name: Projectiles Balistiques
|
||||
parent: artillerie
|
||||
- id: guidagedemissiles
|
||||
name: Guidage de Missiles
|
||||
parent: artillerie
|
||||
- id: systmesdedfenses
|
||||
name: Systèmes de Défenses
|
||||
parent: artillerie
|
||||
- id: balistiquesuperlative
|
||||
name: Balistique Superlative
|
||||
parent: artillerie
|
||||
- id: combatmainsnues
|
||||
name: Combat à Mains Nues
|
||||
- id: neokwondo
|
||||
name: Neo Kwon Do
|
||||
parent: combatmainsnues
|
||||
- id: zrog
|
||||
name: Zéro-G
|
||||
parent: combatmainsnues
|
||||
- id: kravsystema
|
||||
name: Krav-Systema
|
||||
parent: combatmainsnues
|
||||
- id: accoladeeridani
|
||||
name: Accolade Eridani
|
||||
parent: combatmainsnues
|
||||
- id: centauriccma
|
||||
name: Centauri CCMA
|
||||
parent: combatmainsnues
|
||||
- id: combatarm
|
||||
name: Combat Armé
|
||||
- id: armescontondantes
|
||||
name: Armes Contondantes
|
||||
parent: combatarm
|
||||
- id: armestranchantes
|
||||
name: Armes Tranchantes
|
||||
parent: combatarm
|
||||
- id: maniementdesexplosifs
|
||||
name: Maniement des Explosifs
|
||||
- id: lancer
|
||||
name: Lancer
|
||||
- name: Physiques
|
||||
skills:
|
||||
- id: athltisme
|
||||
name: Athlétisme
|
||||
- id: arien
|
||||
name: Aérien
|
||||
parent: athltisme
|
||||
- id: terrestre
|
||||
name: Terrestre
|
||||
parent: athltisme
|
||||
- id: maritime
|
||||
name: Maritime
|
||||
parent: athltisme
|
||||
- id: zrog
|
||||
name: Zéro G
|
||||
parent: athltisme
|
||||
- id: survie
|
||||
name: Survie
|
||||
- id: environnementsauvage
|
||||
name: Environnement Sauvage
|
||||
parent: survie
|
||||
- id: environnementurbain
|
||||
name: Environnement Urbain
|
||||
parent: survie
|
||||
- id: environnementspatial
|
||||
name: Environnement Spatial
|
||||
parent: survie
|
||||
- id: vigilance
|
||||
name: Vigilance
|
||||
- name: Implants
|
||||
skills:
|
||||
- id: utilisationdecyberware
|
||||
name: Utilisation de Cyberware
|
||||
- id: overdrivedeneuroacclrateurs
|
||||
name: Overdrive de Neuro-Accélérateurs
|
||||
parent: utilisationdecyberware
|
||||
- id: overdrivedinterfacesdetir
|
||||
name: Overdrive d'Interfaces de tir
|
||||
parent: utilisationdecyberware
|
||||
- id: overdrivephysique
|
||||
name: Overdrive Physique
|
||||
parent: utilisationdecyberware
|
||||
- id: dive
|
||||
name: Dive
|
||||
- id: fulldive
|
||||
name: Full Dive
|
||||
parent: dive
|
||||
- id: ralitaugmente
|
||||
name: Réalité Augmentée
|
||||
parent: dive
|
||||
- name: Pilotage
|
||||
skills:
|
||||
- id: pilotageatmosphrique
|
||||
name: Pilotage Atmosphérique
|
||||
- id: pilotagedechasseurs
|
||||
name: Pilotage de Chasseurs
|
||||
parent: pilotageatmosphrique
|
||||
- id: pilotagedenavettes
|
||||
name: Pilotage de Navettes
|
||||
parent: pilotageatmosphrique
|
||||
- id: vhiculesterrestres
|
||||
name: Véhicules Terrestres
|
||||
- id: vhiculeslgers
|
||||
name: Véhicules Légers
|
||||
parent: vhiculesterrestres
|
||||
- id: vhiculeslourds
|
||||
name: Véhicules Lourds
|
||||
parent: vhiculesterrestres
|
||||
- id: vhiculesdecourse
|
||||
name: Véhicules de Course
|
||||
parent: vhiculesterrestres
|
||||
- id: vaisseauxspatiaux
|
||||
name: Vaisseaux Spatiaux
|
||||
- id: btimentslgers
|
||||
name: Bâtiments Légers
|
||||
parent: vaisseauxspatiaux
|
||||
- id: btimentslourds
|
||||
name: Bâtiments Lourds
|
||||
parent: vaisseauxspatiaux
|
||||
- id: btimentssuperlourds
|
||||
name: Bâtiments Super-lourds
|
||||
parent: vaisseauxspatiaux
|
||||
- id: pilotagededrones
|
||||
name: Pilotage de Drones
|
||||
- id: essaimdedrones
|
||||
name: Essaim de Drones
|
||||
parent: pilotagededrones
|
||||
- id: intellectuelles
|
||||
name: Intellectuelles
|
||||
groups:
|
||||
- name: Techniques
|
||||
skills:
|
||||
- id: mcanique
|
||||
name: Mécanique
|
||||
- id: rparationsdefortune
|
||||
name: Réparations de Fortune
|
||||
parent: mcanique
|
||||
- id: racteursfusion
|
||||
name: Réacteurs à Fusion
|
||||
parent: mcanique
|
||||
- id: racteursfission
|
||||
name: Réacteurs à Fission
|
||||
parent: mcanique
|
||||
- id: compensateursdinertie
|
||||
name: Compensateurs d'Inertie
|
||||
parent: mcanique
|
||||
- id: technologielightfold
|
||||
name: Technologie Lightfold
|
||||
parent: mcanique
|
||||
- id: systmesdesurvie
|
||||
name: Systèmes de Survie
|
||||
parent: mcanique
|
||||
- id: systmesdepropulsion
|
||||
name: Systèmes de Propulsion
|
||||
parent: mcanique
|
||||
- id: armement
|
||||
name: Armement
|
||||
parent: mcanique
|
||||
- id: crationdaugmentiques
|
||||
name: Création d'Augmentiques
|
||||
- id: implantscphaliens
|
||||
name: Implants Céphaliens
|
||||
parent: crationdaugmentiques
|
||||
- id: implantscorporels
|
||||
name: Implants Corporels
|
||||
parent: crationdaugmentiques
|
||||
- id: augmentiquesdarmure
|
||||
name: Augmentiques d'Armure
|
||||
parent: crationdaugmentiques
|
||||
- id: augmentiquesdarmes
|
||||
name: Augmentiques d'Armes
|
||||
parent: crationdaugmentiques
|
||||
- id: crationdarmement
|
||||
name: Création d'Armement
|
||||
- id: crationdarmesafeu
|
||||
name: Création d'armes a feu
|
||||
parent: crationdarmement
|
||||
- id: crationdarmures
|
||||
name: Création d'armures
|
||||
parent: crationdarmement
|
||||
- id: prospectionstellaire
|
||||
name: Prospection stellaire
|
||||
- id: paves
|
||||
name: Épaves
|
||||
parent: prospectionstellaire
|
||||
- id: corpsstellaires
|
||||
name: Corps stellaires
|
||||
parent: prospectionstellaire
|
||||
- id: excavation
|
||||
name: Excavation
|
||||
parent: prospectionstellaire
|
||||
- name: Électronique
|
||||
skills:
|
||||
- id: analysesoftware
|
||||
name: Analyse Software
|
||||
- id: dtection
|
||||
name: Détection
|
||||
parent: analysesoftware
|
||||
- id: pistagenumrique
|
||||
name: Pistage Numérique
|
||||
parent: analysesoftware
|
||||
- id: reverseengineering
|
||||
name: Reverse Engineering
|
||||
parent: analysesoftware
|
||||
- id: utilisationsoftware
|
||||
name: Utilisation Software
|
||||
- id: neutralisation
|
||||
name: Neutralisation
|
||||
parent: utilisationsoftware
|
||||
- id: infiltration
|
||||
name: Infiltration
|
||||
parent: utilisationsoftware
|
||||
- id: persistance
|
||||
name: Persistance
|
||||
parent: utilisationsoftware
|
||||
- id: backdoor
|
||||
name: Backdoor
|
||||
parent: utilisationsoftware
|
||||
- id: lectronique
|
||||
name: Électronique
|
||||
- id: hardware
|
||||
name: Hardware
|
||||
parent: lectronique
|
||||
- id: interconnexion
|
||||
name: Interconnexion
|
||||
parent: lectronique
|
||||
- id: systmesembarqus
|
||||
name: Systèmes Embarqués
|
||||
parent: lectronique
|
||||
- id: systmesdescurit
|
||||
name: Systèmes de Sécurité
|
||||
parent: lectronique
|
||||
- name: Connaissances
|
||||
skills:
|
||||
- id: premierssecours
|
||||
name: Premiers Secours
|
||||
- id: mdecine
|
||||
name: Médecine
|
||||
- id: soinsintensifs
|
||||
name: Soins Intensifs
|
||||
parent: mdecine
|
||||
- id: chirurgiedimplants
|
||||
name: Chirurgie d’Implants
|
||||
parent: mdecine
|
||||
- id: cybernetisation
|
||||
name: Cybernetisation
|
||||
parent: mdecine
|
||||
- id: mathmatiques
|
||||
name: Mathématiques
|
||||
- id: cryptographie
|
||||
name: Cryptographie
|
||||
parent: mathmatiques
|
||||
- id: astromathmatiques
|
||||
name: Astromathématiques
|
||||
parent: mathmatiques
|
||||
- id: biologie
|
||||
name: Biologie
|
||||
- id: agrogntique
|
||||
name: Agrogénétique
|
||||
parent: biologie
|
||||
- id: xenobiologie
|
||||
name: Xenobiologie
|
||||
parent: biologie
|
||||
- id: thrapiegnique
|
||||
name: Thérapie Génique
|
||||
parent: biologie
|
||||
- id: chimie
|
||||
name: Chimie
|
||||
- id: explosifs
|
||||
name: Explosifs
|
||||
parent: chimie
|
||||
- id: biochimie
|
||||
name: Biochimie
|
||||
parent: chimie
|
||||
- id: physique
|
||||
name: Physique
|
||||
- id: astrophysique
|
||||
name: Astrophysique
|
||||
parent: physique
|
||||
- id: arospatial
|
||||
name: Aérospatial
|
||||
parent: physique
|
||||
- id: thermodynamique
|
||||
name: Thermodynamique
|
||||
parent: physique
|
||||
- id: lightfold
|
||||
name: Lightfold
|
||||
- id: thoriedeschampsfinis
|
||||
name: Théorie des champs finis
|
||||
parent: lightfold
|
||||
- id: srieinfiniescongrues
|
||||
name: Série infinies congrues
|
||||
parent: lightfold
|
||||
- id: sociologie
|
||||
name: Sociologie
|
||||
- id: dshumanisation
|
||||
name: Déshumanisation
|
||||
parent: sociologie
|
||||
- id: syndromedepandorum
|
||||
name: Syndrome de Pandorum
|
||||
parent: sociologie
|
||||
- id: thormedenym
|
||||
name: Théorème de Nym
|
||||
parent: sociologie
|
||||
- name: Culture Générale
|
||||
skills:
|
||||
- id: instructioncivique
|
||||
name: Instruction Civique
|
||||
- id: alphacentauri
|
||||
name: Alpha Centauri
|
||||
parent: instructioncivique
|
||||
- id: eridani
|
||||
name: Eridani
|
||||
parent: instructioncivique
|
||||
- id: banard
|
||||
name: Banard
|
||||
parent: instructioncivique
|
||||
- id: tau
|
||||
name: Tau
|
||||
parent: instructioncivique
|
||||
- id: sirius
|
||||
name: Sirius
|
||||
parent: instructioncivique
|
||||
- id: cic
|
||||
name: C.I.C.
|
||||
parent: instructioncivique
|
||||
- id: sol
|
||||
name: Sol
|
||||
parent: instructioncivique
|
||||
- id: administrationinterstellaire
|
||||
name: Administration Interstellaire
|
||||
- id: politiquestellaire
|
||||
name: Politique Stellaire
|
||||
- id: droitinternational
|
||||
name: Droit International
|
||||
- id: droitstellaire
|
||||
name: Droit Stellaire
|
||||
parent: droitinternational
|
||||
- id: droitcorporatiste
|
||||
name: Droit Corporatiste
|
||||
parent: droitinternational
|
||||
- id: droitmilitaire
|
||||
name: Droit Militaire
|
||||
parent: droitinternational
|
||||
- id: thoriemilitaire
|
||||
name: Théorie Militaire
|
||||
- id: tactique
|
||||
name: Tactique
|
||||
parent: thoriemilitaire
|
||||
- id: stratgie
|
||||
name: Stratégie
|
||||
parent: thoriemilitaire
|
||||
- id: social
|
||||
name: Social
|
||||
groups:
|
||||
- name: Sociales
|
||||
skills:
|
||||
- id: tiquette
|
||||
name: Étiquette
|
||||
- id: corporations
|
||||
name: Corporations
|
||||
parent: tiquette
|
||||
- id: mercenaire
|
||||
name: Mercenaire
|
||||
parent: tiquette
|
||||
- id: stellaire
|
||||
name: Stellaire
|
||||
parent: tiquette
|
||||
- id: militaire
|
||||
name: Militaire
|
||||
parent: tiquette
|
||||
- id: pgre
|
||||
name: Pègre
|
||||
parent: tiquette
|
||||
- id: impersonnation
|
||||
name: Impersonnation
|
||||
- id: enqute
|
||||
name: Enquête
|
||||
- id: interrogation
|
||||
name: Interrogation
|
||||
- id: intimidation
|
||||
name: Intimidation
|
||||
- id: commandement
|
||||
name: Commandement
|
||||
- id: ngociation
|
||||
name: Négociation
|
||||
- id: baratin
|
||||
name: Baratin
|
||||
- id: psychologie
|
||||
name: Psychologie
|
||||
- name: Clandestines
|
||||
skills:
|
||||
- id: discrtion
|
||||
name: Discrétion
|
||||
- id: crochetage
|
||||
name: Crochetage
|
||||
- id: larcin
|
||||
name: Larcin
|
||||
- id: falsification
|
||||
name: Falsification
|
||||
- id: cyberware
|
||||
name: Cyberware
|
||||
parent: falsification
|
||||
- id: marchsnoirs
|
||||
name: Marchés noirs
|
||||
- id: acquisitiondobjets
|
||||
name: Acquisition d’Objets
|
||||
parent: marchsnoirs
|
||||
- id: acquisitiondinformations
|
||||
name: Acquisition d’Informations
|
||||
parent: marchsnoirs
|
||||
- name: Contacts
|
||||
skills: []
|
||||
custom: true
|
||||
- id: arsenal
|
||||
name: Arsenal
|
||||
groups:
|
||||
- name: Distance
|
||||
skills: []
|
||||
equipment: distance
|
||||
- name: Mêlée
|
||||
skills: []
|
||||
equipment: melee
|
||||
- name: Consommable
|
||||
skills: []
|
||||
equipment: consommable
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
version: 1
|
||||
variants:
|
||||
base:
|
||||
title: Système D10
|
||||
skills: base_skills.yaml
|
||||
attributes:
|
||||
- {id: Force, name: Force}
|
||||
- {id: Agilite, name: Agilité}
|
||||
- {id: Perception, name: Perception}
|
||||
- {id: Charisme, name: Charisme}
|
||||
- {id: Intelligence, name: Intelligence}
|
||||
- {id: Volonte, name: Volonté}
|
||||
- {id: Psyche, name: Psyché}
|
||||
- {id: Chance, name: Chance}
|
||||
resources:
|
||||
- {id: Life_Points, name: Points de vie}
|
||||
- {id: Endurance_Points, name: Points de fatigue}
|
||||
combat:
|
||||
- {id: Initiative, name: Initiative}
|
||||
- {id: base_damage_dices, name: Dégâts de base}
|
||||
- {id: exal_damage_dices, name: Bonus de dégâts}
|
||||
- {id: additional_damage_dices, name: Dégâts additionnels}
|
||||
- {id: general_attack_threshold, name: Seuil d'attaque}
|
||||
weapons: 3
|
||||
repeating:
|
||||
- {id: skills, name: Compétences libres, fields: [skillname, skilllevel, skillcost]}
|
||||
- {id: general-combat-skills, name: Combat libre, fields: [skillname, skilllevel]}
|
||||
- {id: magic-skills, name: Magie, fields: [skillname, skilllevel]}
|
||||
- {id: equipment, name: Équipement, fields: [name, notes]}
|
||||
skill_tabs:
|
||||
- {id: fight, name: Combat et combat libre, content: [fixed_skills, general-combat-skills]}
|
||||
- {id: free, name: Compétences libres, content: [skills]}
|
||||
- {id: magic, name: Magie, content: [magic-skills]}
|
||||
- {id: equipment, name: Équipement, content: [equipment]}
|
||||
cyberpunk:
|
||||
title: Système D10 Cyberpunk
|
||||
skills: cyberpunk_skills.yaml
|
||||
skill_category_tabs: true
|
||||
attributes:
|
||||
- {id: Force, name: Force}
|
||||
- {id: Agilite, name: Agilité}
|
||||
- {id: Perception, name: Perception}
|
||||
- {id: Charisme, name: Charisme}
|
||||
- {id: Intelligence, name: Intelligence}
|
||||
- {id: Volonte, name: Volonté}
|
||||
- {id: Accred, name: Accréditation}
|
||||
- {id: Chance, name: Chance}
|
||||
resources:
|
||||
- {id: Life_Points, name: Points de vie}
|
||||
- {id: Endurance_Points, name: Points de fatigue}
|
||||
combat:
|
||||
- {id: Initiative, name: Initiative}
|
||||
health_locations: [head, body, left_arm, right_arm, left_leg, right_leg]
|
||||
repeating:
|
||||
- {id: skills, name: Compétences libres, fields: [skillname, skilllevel, skillcost]}
|
||||
- {id: contacts-skills, name: Contacts, fields: [skillname, skilllevel]}
|
||||
- {id: distance, name: Armes à distance, fields: [name, damage, notes, weapon_type, accuracy, base_threshold, skill_id, single_cost, burst_cost, auto_cost, ammo_current, magazine_size, ammo_reserve, damage_per_success, rmax, weapon_status]}
|
||||
- {id: melee, name: Armes de mêlée, fields: [name, damage, notes, weapon_type, accuracy, base_threshold, skill_id, damage_per_success, rmax, weapon_status]}
|
||||
- {id: consommable, name: Consommables, fields: [name, quantity, notes]}
|
||||
141
data/themes.yaml
141
data/themes.yaml
|
|
@ -1,141 +0,0 @@
|
|||
themes:
|
||||
parchment:
|
||||
name: Parchemin
|
||||
background: '#f3ebda'
|
||||
panel: '#fffaf0'
|
||||
ink: '#30251f'
|
||||
accent: '#7a2830'
|
||||
border: '#c9ad76'
|
||||
night:
|
||||
name: Nuit
|
||||
background: '#17212b'
|
||||
panel: '#233342'
|
||||
ink: '#f3f4f6'
|
||||
accent: '#48d4bf'
|
||||
border: '#567489'
|
||||
bluecore:
|
||||
name: Bluetech
|
||||
background: '#1a222d'
|
||||
panel: '#232f3a'
|
||||
ink: '#d0e4ff'
|
||||
accent: '#3399ff'
|
||||
border: '#4488cc'
|
||||
corporate:
|
||||
name: Corporate
|
||||
background: '#f4f5f7'
|
||||
panel: '#ffffff'
|
||||
ink: '#222222'
|
||||
accent: '#2e3440'
|
||||
border: '#bbbbbb'
|
||||
dupont-monsanto:
|
||||
name: Dupont-Monsanto
|
||||
background: '#1f2c1a'
|
||||
panel: '#2f3d26'
|
||||
ink: '#eaffcc'
|
||||
accent: '#d5e6aa'
|
||||
border: '#bbdd44'
|
||||
eden-green:
|
||||
name: Eridani
|
||||
background: '#1c2b1a'
|
||||
panel: '#263f25'
|
||||
ink: '#cceebb'
|
||||
accent: '#99cc66'
|
||||
border: '#66aa55'
|
||||
foxified-dark:
|
||||
name: Foxified sombre
|
||||
background: '#2e1f16'
|
||||
panel: '#3b261b'
|
||||
ink: '#ffcc99'
|
||||
accent: '#ff9b4d'
|
||||
border: '#aa6033'
|
||||
foxified-light:
|
||||
name: Foxified clair
|
||||
background: '#fff8f2'
|
||||
panel: '#fff0e6'
|
||||
ink: '#5a2e0c'
|
||||
accent: '#8a3c00'
|
||||
border: '#cc7744'
|
||||
hci:
|
||||
name: Habea Corpus
|
||||
background: '#f2f9f6'
|
||||
panel: '#e3f0eb'
|
||||
ink: '#144d40'
|
||||
accent: '#144d40'
|
||||
border: '#66ccb3'
|
||||
iron-docks:
|
||||
name: Saturn Heavy Foundries
|
||||
background: '#1e1e1e'
|
||||
panel: '#2b2b2b'
|
||||
ink: '#e0e0e0'
|
||||
accent: '#ff9b35'
|
||||
border: '#aaaaaa'
|
||||
peaceframe:
|
||||
name: ISF Peaceframe
|
||||
background: '#e8f3fb'
|
||||
panel: '#d4e8f5'
|
||||
ink: '#1c3f55'
|
||||
accent: '#1c3f55'
|
||||
border: '#77aac6'
|
||||
rebel:
|
||||
name: Rebel
|
||||
background: '#1a1a1a'
|
||||
panel: '#2a2a2a'
|
||||
ink: '#f5f5f5'
|
||||
accent: '#dddddd'
|
||||
border: '#666666'
|
||||
sirius-mind:
|
||||
name: Sirius
|
||||
background: '#0e1a2b'
|
||||
panel: '#162538'
|
||||
ink: '#d0e6ff'
|
||||
accent: '#86bfff'
|
||||
border: '#4477aa'
|
||||
solarized:
|
||||
name: Sol
|
||||
background: '#fdf6e3'
|
||||
panel: '#fefcea'
|
||||
ink: '#586e75'
|
||||
accent: '#516a73'
|
||||
border: '#cccccc'
|
||||
sons-of-banard:
|
||||
name: Banard
|
||||
background: '#1e1c18'
|
||||
panel: '#2c2a26'
|
||||
ink: '#f0d9b5'
|
||||
accent: '#e4b05a'
|
||||
border: '#cc9966'
|
||||
storm-pilot:
|
||||
name: Centauri
|
||||
background: '#101022'
|
||||
panel: '#1b1b33'
|
||||
ink: '#ccddff'
|
||||
accent: '#aabbee'
|
||||
border: '#5577aa'
|
||||
tessier-ashpol:
|
||||
name: Tessier-Ashpol
|
||||
background: '#12171b'
|
||||
panel: '#1a2025'
|
||||
ink: '#ccf2ff'
|
||||
accent: '#77cce0'
|
||||
border: '#77cce0'
|
||||
ustf:
|
||||
name: USTF
|
||||
background: '#0f1b2b'
|
||||
panel: '#162536'
|
||||
ink: '#e0e8f0'
|
||||
accent: '#ff7777'
|
||||
border: '#446688'
|
||||
verdant-rebel:
|
||||
name: Green Pastures
|
||||
background: '#1b2a1b'
|
||||
panel: '#273a27'
|
||||
ink: '#ccffd9'
|
||||
accent: '#77efaa'
|
||||
border: '#66dd99'
|
||||
weicat-industrial:
|
||||
name: Weycat Industrial
|
||||
background: '#1c1a14'
|
||||
panel: '#2a261d'
|
||||
ink: '#fff5cc'
|
||||
accent: '#ffda55'
|
||||
border: '#e6b800'
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
File diff suppressed because it is too large
Load Diff
|
|
@ -1 +0,0 @@
|
|||
PyYAML>=6,<7
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
# Roll20 Mod scripts
|
||||
|
||||
`d10_character_io.js` est le script courant d'échange JSON de personnages. Il
|
||||
doit être installé séparément dans les Mod Scripts de la campagne. Les boutons
|
||||
**Échanges JSON** de la feuille envoient ses commandes `!d10-export` et
|
||||
`!d10-import`. Le format, les permissions et les procédures sont documentés
|
||||
dans la fonctionnalité F07 de [`../FEATURES.md`](../FEATURES.md) et dans le
|
||||
README racine.
|
||||
|
||||
Vérification locale :
|
||||
|
||||
```sh
|
||||
node tests/test_character_io.mjs
|
||||
```
|
||||
|
||||
Cette simulation ne remplace pas un essai dans une campagne Roll20 avec le
|
||||
script installé.
|
||||
|
||||
## Scripts historiques
|
||||
|
||||
`crit.js` and `change.js` are retained from the original project. They are
|
||||
separate Roll20 Mod scripts and are not loaded by the generated character
|
||||
sheet or by `tools/build.py`. `change.js` was an unfinished prototype; these
|
||||
scripts have not been validated against the new sheets. Review them before
|
||||
installing them in a Roll20 game.
|
||||
|
|
@ -1,211 +0,0 @@
|
|||
/* D10 character exchange for Roll20 Mod. Commands:
|
||||
* !d10-export (selected token's character)
|
||||
* !d10-export --id CHARACTER_ID
|
||||
* !d10-import {"format":"d10-roll20-character",...}
|
||||
* !d10-import --handout HANDOUT_ID
|
||||
* !d10-import --replace [--id CHARACTER_ID] --handout HANDOUT_ID
|
||||
* Players may export and replace characters they control. New-character import is GM-only.
|
||||
*/
|
||||
(function () {
|
||||
'use strict';
|
||||
var FORMAT = 'd10-roll20-character';
|
||||
var VERSION = 1;
|
||||
|
||||
function whisper(playerId, message) {
|
||||
if (playerIsGM(playerId)) return sendChat('D10 IO', '/w gm ' + message);
|
||||
var player = getObj('player', playerId);
|
||||
var name = String(player && player.get('_displayname') || 'player').replace(/"/g, '');
|
||||
sendChat('D10 IO', '/w "' + name + '" ' + message);
|
||||
}
|
||||
function grantsAccess(list, playerId) {
|
||||
return String(list || '').split(',').some(function (id) { return id === 'all' || id === playerId; });
|
||||
}
|
||||
function canControl(character, playerId) {
|
||||
return playerIsGM(playerId) || grantsAccess(character && character.get('controlledby'), playerId);
|
||||
}
|
||||
function canReadHandout(handout, playerId) {
|
||||
return playerIsGM(playerId) || grantsAccess(handout && handout.get('controlledby'), playerId) ||
|
||||
grantsAccess(handout && handout.get('inplayerjournals'), playerId);
|
||||
}
|
||||
function validText(value) { return typeof value === 'string' && value.length <= 200000; }
|
||||
function validPayload(data) {
|
||||
if (!data || Array.isArray(data) || typeof data !== 'object' ||
|
||||
data.format !== FORMAT || data.version !== VERSION ||
|
||||
typeof data.name !== 'string' || !data.name.trim() || data.name.length > 100 ||
|
||||
!Array.isArray(data.attributes) || data.attributes.length > 5000 ||
|
||||
(data.abilities !== undefined && (!Array.isArray(data.abilities) || data.abilities.length > 1000)) ||
|
||||
!validText(data.bio || '') || !validText(data.gmnotes || '') ||
|
||||
!validText(data.controlledby || '') || !validText(data.inplayerjournals || '')) return false;
|
||||
return data.attributes.every(function (item) {
|
||||
return item && !Array.isArray(item) && typeof item === 'object' &&
|
||||
typeof item.name === 'string' && item.name.trim() && item.name.length <= 150 &&
|
||||
validText(item.current) && validText(item.max);
|
||||
}) && (data.abilities || []).every(function (item) {
|
||||
return item && typeof item.name === 'string' && item.name.length <= 150 &&
|
||||
validText(item.action) && typeof item.istokenaction === 'boolean';
|
||||
});
|
||||
}
|
||||
function decodeHandout(raw) {
|
||||
var text = String(raw || '').trim();
|
||||
if (/^(?:%7B|%3C)/i.test(text)) {
|
||||
try { text = decodeURIComponent(text); }
|
||||
catch (error) { /* Continue with the original Notes value. */ }
|
||||
}
|
||||
text = text.replace(/<br\s*\/?\s*>/gi, '\n').replace(/<\/(?:p|div)>/gi, '\n')
|
||||
.replace(/<[^>]*>/g, '').replace(/"/g, '"').replace(/'/g, "'")
|
||||
.replace(/</g, '<').replace(/>/g, '>')
|
||||
.replace(/&#(?:x([0-9a-f]+)|([0-9]+));/gi, function (_, hex, decimal) {
|
||||
return String.fromCodePoint(parseInt(hex || decimal, hex ? 16 : 10));
|
||||
}).replace(/&/g, '&').replace(/ /g, ' ').trim();
|
||||
return JSON.parse(text);
|
||||
}
|
||||
function readHandout(handout, isGM, callback) {
|
||||
if (!isGM) return handout.get('notes', callback);
|
||||
handout.get('gmnotes', function (gmnotes) {
|
||||
if (String(gmnotes || '').trim()) return callback(gmnotes);
|
||||
handout.get('notes', callback);
|
||||
});
|
||||
}
|
||||
function populateCharacter(character, data, replace, isGM, playerId) {
|
||||
if (replace) {
|
||||
findObjs({ type: 'attribute', characterid: character.id }).forEach(function (item) { item.remove(); });
|
||||
findObjs({ type: 'ability', characterid: character.id }).forEach(function (item) { item.remove(); });
|
||||
}
|
||||
character.set('name', data.name.trim());
|
||||
character.set('bio', data.bio || '');
|
||||
if (isGM) {
|
||||
character.set('gmnotes', data.gmnotes || '');
|
||||
character.set('controlledby', data.controlledby || '');
|
||||
character.set('inplayerjournals', data.inplayerjournals || '');
|
||||
}
|
||||
data.attributes.forEach(function (item) {
|
||||
createObj('attribute', { characterid: character.id, name: item.name,
|
||||
current: item.current, max: item.max });
|
||||
});
|
||||
(data.abilities || []).forEach(function (item) {
|
||||
createObj('ability', { characterid: character.id, name: item.name,
|
||||
action: item.action, istokenaction: item.istokenaction });
|
||||
});
|
||||
whisper(playerId, (replace ? 'Replaced ' : 'Imported ') + data.attributes.length +
|
||||
' attributes in character ' + character.id + '.');
|
||||
}
|
||||
function importCharacter(data, playerId, targetId) {
|
||||
if (!validPayload(data)) return whisper(playerId, 'Invalid or unsupported D10 character JSON.');
|
||||
if (targetId) {
|
||||
var target = getObj('character', targetId);
|
||||
if (!target) return whisper(playerId, 'Character not found.');
|
||||
if (!canControl(target, playerId)) return whisper(playerId, 'Permission denied for that character.');
|
||||
return populateCharacter(target, data, true, playerIsGM(playerId), playerId);
|
||||
}
|
||||
if (!playerIsGM(playerId)) return whisper(playerId,
|
||||
'Only a GM can create a new character. Use --replace on a character you control.');
|
||||
var character = createObj('character', { name: data.name.trim(),
|
||||
controlledby: data.controlledby || '', inplayerjournals: data.inplayerjournals || '' });
|
||||
if (!character) return whisper(playerId, 'Roll20 could not create the character.');
|
||||
populateCharacter(character, data, false, true, playerId);
|
||||
}
|
||||
function exportCharacter(id, playerId) {
|
||||
var character = getObj('character', id);
|
||||
if (!character) return whisper(playerId, 'Character not found. Use its Roll20 character ID.');
|
||||
if (!canControl(character, playerId)) return whisper(playerId, 'Permission denied for that character.');
|
||||
var isGM = playerIsGM(playerId);
|
||||
character.get('bio', function (bio) {
|
||||
character.get('gmnotes', function (gmnotes) {
|
||||
var attributes = findObjs({ type: 'attribute', characterid: id }).map(function (item) {
|
||||
var current = item.get('current');
|
||||
var max = item.get('max');
|
||||
return { name: item.get('name'), current: current == null ? '' : String(current),
|
||||
max: max == null ? '' : String(max) };
|
||||
}).sort(function (a, b) { return a.name.localeCompare(b.name); });
|
||||
var abilities = findObjs({ type: 'ability', characterid: id }).map(function (item) {
|
||||
return { name: item.get('name'), action: item.get('action') || '',
|
||||
istokenaction: item.get('istokenaction') === true || item.get('istokenaction') === 'true' };
|
||||
});
|
||||
var data = { format: FORMAT, version: VERSION, name: character.get('name'),
|
||||
controlledby: character.get('controlledby') || '',
|
||||
inplayerjournals: character.get('inplayerjournals') || '', bio: bio || '',
|
||||
gmnotes: isGM ? gmnotes || '' : '', attributes: attributes, abilities: abilities };
|
||||
var handout = createObj('handout', { name: 'D10 export - ' + data.name,
|
||||
inplayerjournals: isGM ? '' : playerId, controlledby: isGM ? '' : playerId });
|
||||
if (!handout) return whisper(playerId, 'Roll20 could not create the export handout.');
|
||||
var readable = JSON.stringify(data, null, 2).replace(/&/g, '&')
|
||||
.replace(/</g, '<').replace(/>/g, '>');
|
||||
handout.set(isGM ? 'gmnotes' : 'notes', '<pre>' + readable + '</pre>');
|
||||
whisper(playerId, 'Exported ' + attributes.length + ' attributes to handout ' + handout.id + '.');
|
||||
});
|
||||
});
|
||||
}
|
||||
function selectedCharacterId(message) {
|
||||
var selected = message.selected || [];
|
||||
if (selected.length !== 1 || selected[0]._type !== 'graphic') {
|
||||
whisper(message.playerid, 'Select one token representing a character, or use --id CHARACTER_ID.');
|
||||
return '';
|
||||
}
|
||||
var token = getObj('graphic', selected[0]._id);
|
||||
var id = token && token.get('represents');
|
||||
if (!id) whisper(message.playerid, 'The selected token does not represent a character.');
|
||||
return id || '';
|
||||
}
|
||||
function importArguments(input) {
|
||||
var result = { replace: false, id: '', handout: '', json: '' };
|
||||
var rest = input.trim();
|
||||
while (rest.indexOf('--') === 0) {
|
||||
var flag = rest.match(/^--replace(?:\s+|$)/);
|
||||
if (flag) {
|
||||
if (result.replace) return null;
|
||||
result.replace = true;
|
||||
rest = rest.slice(flag[0].length);
|
||||
continue;
|
||||
}
|
||||
var option = rest.match(/^--(id|handout)\s+(\S+)\s*/);
|
||||
if (!option || result[option[1]]) return null;
|
||||
result[option[1]] = option[2];
|
||||
rest = rest.slice(option[0].length);
|
||||
}
|
||||
result.json = rest;
|
||||
if (!!result.handout === !!result.json || (!result.replace && result.id)) return null;
|
||||
return result;
|
||||
}
|
||||
on('chat:message', function (message) {
|
||||
if (message.type !== 'api') return;
|
||||
var content = message.content.trim();
|
||||
if (content === '!d10-export') {
|
||||
var selectedId = selectedCharacterId(message);
|
||||
if (selectedId) return exportCharacter(selectedId, message.playerid);
|
||||
return;
|
||||
}
|
||||
if (content.indexOf('!d10-export ') === 0) {
|
||||
var argument = content.slice('!d10-export '.length).trim();
|
||||
if (argument.indexOf('--id ') === 0) argument = argument.slice('--id '.length).trim();
|
||||
return exportCharacter(argument, message.playerid);
|
||||
}
|
||||
if (content.indexOf('!d10-import ') !== 0) return;
|
||||
var args = importArguments(content.slice('!d10-import '.length));
|
||||
if (!args) return whisper(message.playerid, 'Invalid import command.');
|
||||
if (!playerIsGM(message.playerid) && !args.replace)
|
||||
return whisper(message.playerid, 'Only a GM can create a new character. Use --replace.');
|
||||
var targetId = '';
|
||||
if (args.replace) {
|
||||
targetId = args.id || selectedCharacterId(message);
|
||||
if (!targetId) return;
|
||||
if (!canControl(getObj('character', targetId), message.playerid))
|
||||
return whisper(message.playerid, 'Permission denied for that character.');
|
||||
}
|
||||
if (args.handout) {
|
||||
var handout = getObj('handout', args.handout);
|
||||
if (!handout) return whisper(message.playerid, 'Handout not found.');
|
||||
if (!canReadHandout(handout, message.playerid))
|
||||
return whisper(message.playerid, 'Permission denied for that handout.');
|
||||
return readHandout(handout, playerIsGM(message.playerid), function (notes) {
|
||||
var data;
|
||||
try { data = decodeHandout(notes); }
|
||||
catch (error) { return whisper(message.playerid, 'Handout does not contain valid D10 JSON.'); }
|
||||
try { importCharacter(data, message.playerid, targetId); }
|
||||
catch (error) { whisper(message.playerid,
|
||||
'Character replacement failed: ' + String(error && error.message || error)); }
|
||||
});
|
||||
}
|
||||
try { importCharacter(JSON.parse(args.json), message.playerid, targetId); }
|
||||
catch (error) { whisper(message.playerid, 'Invalid JSON.'); }
|
||||
});
|
||||
}());
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"html": "feuille_sysd10.html",
|
||||
"css": "style.css",
|
||||
"authors": "Dandaedre",
|
||||
"roll20userid": "1067910",
|
||||
"preview": "exemple.png",
|
||||
"instructions": "v0.1a (2018-25-07) Ajout des equipements"
|
||||
}
|
||||
|
|
@ -0,0 +1,284 @@
|
|||
div.sheet-tab-content { display: none; }
|
||||
input.sheet-tab1:checked ~ div.sheet-tab1,
|
||||
input.sheet-tab2:checked ~ div.sheet-tab2,
|
||||
input.sheet-tab3:checked ~ div.sheet-tab3
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
input.sheet-secondary_tab1:checked ~ div.sheet-secondary_tab1,
|
||||
input.sheet-secondary_tab2:checked ~ div.sheet-secondary_tab2,
|
||||
input.sheet-secondary_tab3:checked ~ div.sheet-secondary_tab3,
|
||||
input.sheet-secondary_tab4:checked ~ div.sheet-secondary_tab4,
|
||||
input.sheet-secondary_tab5:checked ~ div.sheet-secondary_tab5
|
||||
{
|
||||
display:block;
|
||||
}
|
||||
input.sheet-secondary_magic_tab1:checked ~ div.sheet-secondary_magic_tab1,
|
||||
input.sheet-secondary_magic_tab2:checked ~ div.sheet-secondary_magic_tab2,
|
||||
input.sheet-secondary_magic_tab3:checked ~ div.sheet-secondary_magic_tab3,
|
||||
input.sheet-secondary_magic_tab4:checked ~ div.sheet-secondary_magic_tab4,
|
||||
input.sheet-secondary_magic_tab5:checked ~ div.sheet-secondary_magic_tab5
|
||||
{
|
||||
display:block;
|
||||
}
|
||||
input.sheet-secondary_skills_tab1:checked ~ div.sheet-secondary_skills_tab1,
|
||||
input.sheet-secondary_skills_tab2:checked ~ div.sheet-secondary_skills_tab2,
|
||||
input.sheet-secondary_skills_tab3:checked ~ div.sheet-secondary_skills_tab3
|
||||
{
|
||||
display:block;
|
||||
}
|
||||
|
||||
input.sheet-tab{
|
||||
-moz-appearance: none;
|
||||
width:150px;
|
||||
height: 20px;
|
||||
top: 5px;
|
||||
left: 6px;
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
content: attr(title);
|
||||
}
|
||||
input.sheet-tab::before{
|
||||
-moz-appearance: none;
|
||||
content: attr(title);
|
||||
border-radius:.5em;
|
||||
border:2px solid black;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
background: black;
|
||||
color:white;
|
||||
width: 150px;
|
||||
height: 20px;
|
||||
font-size: 18px;
|
||||
}
|
||||
input.sheet-tab:checked::before{
|
||||
-moz-appearance: none;
|
||||
background:#CCCCCC;
|
||||
color:black;
|
||||
border-radius:.5em;
|
||||
border:2px solid black;
|
||||
}
|
||||
|
||||
input.sheet-small_tab{
|
||||
-moz-appearance: none;
|
||||
width:120px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
margin:5px;
|
||||
}
|
||||
input.sheet-small_tab::before{
|
||||
-moz-appearance: none;
|
||||
content: attr(title);
|
||||
border-radius:.5em;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
color:white;
|
||||
background:black;
|
||||
border:2px solid black;
|
||||
width: 120px;
|
||||
height:20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
input.sheet-small_tab:checked::before{
|
||||
-moz-appearance: none;
|
||||
border:2px solid black;
|
||||
background:#CCCCCC;
|
||||
color:black;
|
||||
border-radius:.5em;
|
||||
}
|
||||
|
||||
input.sheet-skill_name{
|
||||
-moz-appearance: none;
|
||||
width:400px;
|
||||
}
|
||||
input.sheet-skill_hidden{
|
||||
visibility: hidden;
|
||||
}
|
||||
div.sheet-tab-content{
|
||||
border-top-color: #000;
|
||||
margin: 2px 0 0 0;
|
||||
}
|
||||
select.sheet-skill_select{
|
||||
width:55px;
|
||||
margin-bottom:-1px;
|
||||
}
|
||||
select.sheet-dice_select{
|
||||
width:85px;
|
||||
margin-bottom:-1px;
|
||||
}
|
||||
.sheet-trait{
|
||||
width: 30px;
|
||||
}
|
||||
.sheet-numberbox {
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-d10init table,
|
||||
.sheet-rolltemplate-d10skillcheck table {
|
||||
border-radius: 6px;
|
||||
width:100%;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding: 2px;
|
||||
border: 1px solid;
|
||||
background-color: #ffffff;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #000;
|
||||
border-image-source: none;
|
||||
}
|
||||
.sheet-rolltemplate-d10init .sheet-roll-title,
|
||||
.sheet-rolltemplate-d10init th,
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-title,
|
||||
.sheet-rolltemplate-d10skillcheck th {
|
||||
color: rgb(42, 42, 42);
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-left: 5px;
|
||||
font-size: 1.2em;
|
||||
text-align: left;
|
||||
font-family: "Times New Roman", Times, serif;
|
||||
font-variant: small-caps;
|
||||
text-transform: capitalize;
|
||||
border-width: 0px;
|
||||
}
|
||||
.sheet-rolltemplate-d10init .sheet-roll-attr,
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-attr{
|
||||
color: #555555;
|
||||
font-size: 1em;
|
||||
font-style: italic;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-left: 9px;
|
||||
border-width: 0px;
|
||||
margin-top: -10px;
|
||||
}
|
||||
.sheet-rolltemplate-d10init .sheet-roll-sucess,
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-sucess ,
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-fail {
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
border-width: 0px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-crit {
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
border-width: 0px;
|
||||
padding-left: 5px;
|
||||
background-color:#b0d6ad;
|
||||
}
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-fumble {
|
||||
padding-left: 5px;
|
||||
border-width: 0px;
|
||||
background-color:#d6adad;
|
||||
}
|
||||
.sheet-rolltemplate-d10init .sheet-inline,
|
||||
.sheet-rolltemplate-d10init .inlinerollresult,
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-inline,
|
||||
.sheet-rolltemplate-d10skillcheck .inlinerollresult {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
font-weight: bold;
|
||||
padding:0px;
|
||||
font-family: "Times New Roman", Times, serif;
|
||||
}
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-inline.sheet-fullcrit,
|
||||
.sheet-rolltemplate-d10skillcheck .inlinerollresult.fullcrit {
|
||||
color: #3FB315;
|
||||
border: none;
|
||||
}
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-inline.sheet-fullfail,
|
||||
.sheet-rolltemplate-d10skillcheck .inlinerollresult.fullfail {
|
||||
color: #B31515;
|
||||
border: none;
|
||||
}
|
||||
.sheet-rolltemplate-d10skillcheck .inlinerollresult.importantroll {
|
||||
color: #4A57ED;
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.sheet-rolltemplate-d10fight-blob{
|
||||
border-radius: 6px;
|
||||
border: 1px solid #898989;
|
||||
z-index: 1;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight table{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
text-align: left;
|
||||
width:100%;
|
||||
border:none;
|
||||
cellpadding:3px;
|
||||
cellspacing:0px;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-sum{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
border:none;
|
||||
text-align: right;
|
||||
padding-right:10px;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-sucess,
|
||||
.sheet-rolltemplate-d10fight .sheet-line{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-left: 3px;
|
||||
border:none;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-critical{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
border:none;
|
||||
padding-left: 3px;
|
||||
border-radius: 4px;
|
||||
background-color:#b0d6ad;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-hit{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-left: 3px;
|
||||
border-radius: 4px;
|
||||
background-color:#b0d6ad;
|
||||
border:none;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-miss{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-left: 3px;
|
||||
border:none;
|
||||
border-radius: 4px;
|
||||
background-color:#d6adad;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-name{
|
||||
padding:0px;
|
||||
padding-left: 3px;
|
||||
margin:0px;
|
||||
border:none;
|
||||
border-radius: 4px;
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
background-color: #999999;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight .sheet-additional{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
border:none;
|
||||
padding-left:10px;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight-grey{
|
||||
color: #999999;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight-green{
|
||||
color: #009900;
|
||||
}
|
||||
.sheet-rolltemplate-d10fight a,
|
||||
.sheet-rolltemplate-d10fight a[href^="!"],
|
||||
.sheet-rolltemplate-d10fight a[href^="~"]{
|
||||
text-align:right;
|
||||
background-color: #999999; !important
|
||||
}
|
||||
|
|
@ -1,116 +0,0 @@
|
|||
const D10_COMBAT_SKILLS = __COMBAT_SKILLS__;
|
||||
const d10Number = value => Number.isFinite(Number(value)) ? Number(value) : 0;
|
||||
const d10Whole = value => Math.max(0, Math.floor(d10Number(value)));
|
||||
const d10Text = value => String(value || '').replace(/[{}]/g, '');
|
||||
const d10Damage = (successes, base, bonus, rmax) => {
|
||||
if (!successes) return 0;
|
||||
const capped = d10Whole(rmax) ? Math.min(successes, d10Whole(rmax)) : successes;
|
||||
return Math.max(0, d10Number(base) + (capped - 1) * d10Number(bonus));
|
||||
};
|
||||
const d10ShotDamage = (roll, successes, threshold, base, bonus, maxShots) => {
|
||||
const dice = Array.isArray(roll && roll.dice) ? roll.dice : [];
|
||||
const successful = dice.map(die => d10Number(die && die.v !== undefined ? die.v : die))
|
||||
.filter(value => value > 0 && value <= threshold);
|
||||
const limit = d10Whole(maxShots);
|
||||
const shots = (successful.length ? successful : Array(d10Whole(successes)).fill(null)).slice(0, limit);
|
||||
return shots.map(value => Math.max(0, d10Number(base) + (value === 1 ? d10Number(bonus) : 0))).join(', ');
|
||||
};
|
||||
|
||||
function d10WeaponFields(prefix, callback) {
|
||||
const fields = ['name', 'weapon_type', 'accuracy', 'base_threshold', 'skill_id',
|
||||
'damage', 'damage_per_success', 'rmax', 'notes', 'ammo_current',
|
||||
'magazine_size', 'ammo_reserve', 'single_cost', 'burst_cost', 'auto_cost'];
|
||||
getAttrs(fields.map(field => prefix + field), values => {
|
||||
const skillId = values[prefix + 'skill_id'];
|
||||
const skillField = D10_COMBAT_SKILLS.includes(skillId) ? 'combat_skilllevel_' + skillId : '';
|
||||
if (skillField) {
|
||||
getAttrs([skillField], skillValues => callback(values, d10Number(skillValues[skillField])));
|
||||
} else {
|
||||
callback(values, 0);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function d10WeaponAttack(event, mode, ranged) {
|
||||
const prefix = event.sourceAttribute.replace(/(?:firesingle|fireburst|fireauto|attack)$/, '');
|
||||
d10WeaponFields(prefix, (values, skill) => {
|
||||
const get = field => values[prefix + field];
|
||||
const multipleShots = mode === 'burst' || mode === 'auto';
|
||||
const cost = ranged ? Math.max(1, d10Whole(get(mode + '_cost'))) : 0;
|
||||
const current = d10Whole(get('ammo_current'));
|
||||
if (ranged && (!current || (!multipleShots && current < cost))) {
|
||||
setAttrs({[prefix + 'weapon_status']: 'Chargeur insuffisant : ' + current + '/' + cost});
|
||||
return;
|
||||
}
|
||||
const threshold = Math.max(0, Math.floor(d10Number(get('base_threshold')) + skill + d10Number(get('accuracy'))));
|
||||
const spent = multipleShots ? Math.min(current, cost) : cost;
|
||||
const remaining = current - spent;
|
||||
const modeName = {single: 'Tir simple', burst: 'Rafale', auto: 'Automatique', melee: 'Mêlée'}[mode];
|
||||
const dice = mode === 'burst' ? '(?{Nombre de dés|1}+1)' : '?{Nombre de dés|1}';
|
||||
const command = `&{template:d10weapon} {{name=${d10Text(get('name') || 'Arme')}}} ` +
|
||||
`{{mode=${modeName}}} {{type=${d10Text(get('weapon_type'))}}} ` +
|
||||
`{{attack_roll=[[${dice}d10<${threshold}cs1cf10]]}} {{threshold=[[${threshold}]]}} ` +
|
||||
`${multipleShots ? '{{damage_list=[[0]]}}' : '{{damage=[[0]]}}'} ` +
|
||||
`{{special=${d10Text(get('notes'))}}}` +
|
||||
(multipleShots ? '' : ` {{rmax=${d10Whole(get('rmax')) || 'sans limite'}}}`) +
|
||||
(ranged ? ` {{ammo_info=1}} {{ammo=${remaining}}} ` +
|
||||
`{{magazine=${d10Whole(get('magazine_size'))}}} {{reserve=${d10Whole(get('ammo_reserve'))}}}` : '');
|
||||
setAttrs({[prefix + 'weapon_status']: 'Jet en cours…'});
|
||||
startRoll(command, result => {
|
||||
const successes = d10Whole(result.results.attack_roll.result);
|
||||
const computed = multipleShots
|
||||
? {damage_list: d10ShotDamage(result.results.attack_roll, successes, threshold,
|
||||
get('damage'), get('damage_per_success'), spent) || 'Aucun dégât'}
|
||||
: {damage: d10Damage(successes, get('damage'), get('damage_per_success'), get('rmax'))};
|
||||
finishRoll(result.rollId, computed);
|
||||
if (ranged) setAttrs({[prefix + 'ammo_current']: remaining,
|
||||
[prefix + 'weapon_status']: 'Chargeur : ' + remaining + '/' + d10Whole(get('magazine_size'))});
|
||||
else setAttrs({[prefix + 'weapon_status']: ''});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function d10WeaponReload(event) {
|
||||
const prefix = event.sourceAttribute.replace(/reload$/, '');
|
||||
getAttrs([prefix + 'ammo_current', prefix + 'magazine_size', prefix + 'ammo_reserve'], values => {
|
||||
const current = d10Whole(values[prefix + 'ammo_current']);
|
||||
const size = d10Whole(values[prefix + 'magazine_size']);
|
||||
const reserve = d10Whole(values[prefix + 'ammo_reserve']);
|
||||
if (!size || current >= size || !reserve) {
|
||||
const status = !size ? 'Taille du chargeur manquante'
|
||||
: current >= size ? 'Chargeur déjà plein' : 'Aucun chargeur de réserve';
|
||||
setAttrs({[prefix + 'weapon_status']: status});
|
||||
return;
|
||||
}
|
||||
setAttrs({[prefix + 'ammo_current']: size,
|
||||
[prefix + 'ammo_reserve']: reserve - 1,
|
||||
[prefix + 'weapon_status']: 'Rechargé : 1 chargeur utilisé'});
|
||||
});
|
||||
}
|
||||
|
||||
function d10WeaponDamage(event) {
|
||||
const prefix = event.sourceAttribute.replace(/damage$/, '');
|
||||
getAttrs([prefix + 'name', prefix + 'damage', prefix + 'damage_per_success', prefix + 'rmax'], values => {
|
||||
const command = `&{template:d10weapon} {{name=${d10Text(values[prefix + 'name'] || 'Arme')}}} ` +
|
||||
`{{mode=Dégâts}} {{damage_roll=[[?{Réussites|1}]]}} {{damage=[[0]]}} ` +
|
||||
`{{rmax=${d10Whole(values[prefix + 'rmax']) || 'sans limite'}}}`;
|
||||
startRoll(command, result => {
|
||||
const successes = d10Whole(result.results.damage_roll.result);
|
||||
finishRoll(result.rollId, {damage: d10Damage(successes, values[prefix + 'damage'],
|
||||
values[prefix + 'damage_per_success'], values[prefix + 'rmax'])});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
for (const [action, mode] of [
|
||||
['firesingle', 'single'],
|
||||
['fireburst', 'burst'],
|
||||
['fireauto', 'auto'],
|
||||
]) {
|
||||
on('clicked:repeating_distance:' + action, event => d10WeaponAttack(event, mode, true));
|
||||
}
|
||||
on('clicked:repeating_distance:reload', d10WeaponReload);
|
||||
on('clicked:repeating_distance:damage', d10WeaponDamage);
|
||||
|
||||
on('clicked:repeating_melee:attack', event => d10WeaponAttack(event, 'melee', false));
|
||||
on('clicked:repeating_melee:damage', d10WeaponDamage);
|
||||
|
|
@ -1,158 +0,0 @@
|
|||
.sheet-d10 {
|
||||
box-sizing: border-box;
|
||||
max-width: 1080px;
|
||||
min-width: 0;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
color: var(--d10-ink);
|
||||
background: var(--d10-background);
|
||||
font: 13px/1.4 Georgia, serif;
|
||||
border: 1px solid var(--d10-border);
|
||||
}
|
||||
.sheet-d10 *, .sheet-d10 *::before, .sheet-d10 *::after { box-sizing: border-box; }
|
||||
.sheet-d10 .sheet-hero { display: grid; grid-template-columns: 60px minmax(0,1fr) 112px 170px; gap: 16px; align-items: center; padding: 16px; background: var(--d10-panel); border: 1px solid var(--d10-border); border-left: 5px solid var(--d10-accent); }
|
||||
.sheet-d10 .sheet-hero-mark { display: grid; place-items: center; width: 54px; height: 54px; color: var(--d10-panel); background: var(--d10-accent); font: bold 18px Georgia,serif; letter-spacing: -.08em; }
|
||||
.sheet-d10 .sheet-eyebrow { display: block; color: var(--d10-accent); font: bold 10px Arial,sans-serif; letter-spacing: .14em; text-transform: uppercase; }
|
||||
.sheet-d10 h1 { margin: 2px 0 11px; color: var(--d10-ink); font: bold 26px Georgia,serif; }
|
||||
.sheet-d10 .sheet-identity { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
||||
.sheet-d10 .sheet-identity label, .sheet-d10 .sheet-die-choice { display: grid; gap: 3px; margin: 0 !important; color: var(--d10-accent); font: bold 10px Arial,sans-serif; letter-spacing: .07em; text-transform: uppercase; }
|
||||
.sheet-d10 .sheet-theme-choice { display: grid; gap: 3px; margin: 0 !important; color: var(--d10-accent); font: bold 10px Arial,sans-serif; letter-spacing: .07em; text-transform: uppercase; }
|
||||
.sheet-d10 .sheet-hero-tools { display: grid; gap: 7px; align-self: stretch; }
|
||||
.sheet-d10 .sheet-character-io-menu { position: relative; margin: 0; }
|
||||
.sheet-d10 .sheet-character-io-menu summary { padding: 6px; font: bold 10px Arial,sans-serif; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
|
||||
.sheet-d10 .sheet-character-io-actions { position: absolute; z-index: 20; right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 210px; padding: 7px; background: var(--d10-panel); border: 1px solid var(--d10-border); box-shadow: 0 4px 10px rgba(0,0,0,.2); }
|
||||
.sheet-d10 .sheet-character-io-actions button[type=roll] { margin: 0 !important; padding: 5px; color: var(--d10-panel); background: var(--d10-accent); border: 1px solid var(--d10-accent); border-radius: 2px; box-shadow: none; font: bold 10px Arial,sans-serif; text-shadow: none; }
|
||||
.sheet-d10 .sheet-character-io-actions button[type=roll]::before { content: none !important; display: none !important; }
|
||||
.sheet-d10 .sheet-die-choice { align-self: end; }
|
||||
.sheet-d10 .sheet-tab-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; margin: 14px 0 0; border-bottom: 2px solid var(--d10-accent); }
|
||||
.sheet-d10.sheet-variant-base .sheet-tab-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
|
||||
.sheet-d10 .sheet-tab-nav button[type=action] { width: 100%; min-height: 38px; margin: 0 !important; padding: 7px 5px; color: var(--d10-accent); background: var(--d10-background); border: 1px solid var(--d10-border); border-bottom: 0; border-radius: 3px 3px 0 0; box-shadow: none; font: bold 12px Georgia,serif; text-shadow: none; }
|
||||
.sheet-d10 .sheet-tab-nav button[type=action]:hover, .sheet-d10 .sheet-tab-nav button[type=action]:focus { background: var(--d10-panel); outline: 2px solid var(--d10-border); outline-offset: -2px; }
|
||||
.sheet-d10 .sheet-page { display: none; }
|
||||
.sheet-d10 .sheet-tab-state[value="core"] ~ .sheet-page-skills,
|
||||
.sheet-d10 .sheet-tab-state[value="skills"] ~ .sheet-page-skills,
|
||||
.sheet-d10 .sheet-tab-state[value="combat"] ~ .sheet-page-combat,
|
||||
.sheet-d10 .sheet-tab-state[value="other"] ~ .sheet-page-other { display: block; }
|
||||
.sheet-d10.sheet-variant-base .sheet-tab-state[value="other"] ~ .sheet-page-skills { display: block; }
|
||||
.sheet-d10 .sheet-tab-state[value="core"] ~ .sheet-tab-nav .sheet-tab-skills,
|
||||
.sheet-d10 .sheet-tab-state[value="skills"] ~ .sheet-tab-nav .sheet-tab-skills,
|
||||
.sheet-d10 .sheet-tab-state[value="combat"] ~ .sheet-tab-nav .sheet-tab-combat,
|
||||
.sheet-d10 .sheet-tab-state[value="other"] ~ .sheet-tab-nav .sheet-tab-other { color: var(--d10-panel); background: var(--d10-accent); border-color: var(--d10-accent); }
|
||||
.sheet-d10.sheet-variant-base .sheet-tab-state[value="other"] ~ .sheet-tab-nav .sheet-tab-skills { color: var(--d10-panel); background: var(--d10-accent); border-color: var(--d10-accent); }
|
||||
.sheet-d10 .sheet-skill-tab-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; margin: 2px 0 12px; }
|
||||
.sheet-d10 .sheet-category-tab-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
|
||||
.sheet-d10 .sheet-arsenal-tab-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
|
||||
.sheet-d10 .sheet-skill-tab-nav button[type=action] { min-height: 37px; margin: 0 !important; padding: 6px 4px; color: var(--d10-accent); background: var(--d10-background); border: 1px solid var(--d10-border); border-radius: 3px; box-shadow: none; font: bold 11px Georgia,serif; text-shadow: none; }
|
||||
.sheet-d10 .sheet-skill-tab-nav button[type=action]:hover, .sheet-d10 .sheet-skill-tab-nav button[type=action]:focus { background: var(--d10-panel); outline: 2px solid var(--d10-border); outline-offset: -2px; }
|
||||
.sheet-d10 .sheet-skill-pane { display: none; }
|
||||
.sheet-d10 .sheet-skill-pane details { margin-top: 0; }
|
||||
.sheet-d10 input, .sheet-d10 select { box-sizing: border-box; width: 100%; min-width: 0; height: 30px; margin: 0 !important; padding: 3px 6px; color: var(--d10-ink); background: var(--d10-panel); border: 1px solid var(--d10-border); border-radius: 2px; box-shadow: none; font: 13px Arial,sans-serif; }
|
||||
.sheet-d10 input:focus, .sheet-d10 select:focus { outline: 2px solid var(--d10-accent); outline-offset: 1px; }
|
||||
.sheet-d10 input[type=checkbox] { width: 18px; height: 18px; padding: 0; accent-color: var(--d10-accent); }
|
||||
.sheet-d10 input[type=number] { text-align: center; appearance: textfield; -moz-appearance: textfield; }
|
||||
.sheet-d10 input[type=number]::-webkit-inner-spin-button, .sheet-d10 input[type=number]::-webkit-outer-spin-button { margin: 0; appearance: none; -webkit-appearance: none; }
|
||||
.sheet-d10 .sheet-panel { margin: 14px 0 0; padding: 13px 15px 16px; background: var(--d10-panel); border: 1px solid var(--d10-border); }
|
||||
.sheet-d10 .sheet-section-title { display: flex; gap: 9px; align-items: baseline; padding-bottom: 6px; margin-bottom: 11px; border-bottom: 1px solid var(--d10-border); }
|
||||
.sheet-d10 .sheet-section-title span { color: var(--d10-accent); font: bold 11px Arial,sans-serif; }
|
||||
.sheet-d10 .sheet-section-title h2 { margin: 0; color: var(--d10-accent); font: bold 19px Georgia,serif; }
|
||||
.sheet-d10 .sheet-subheading { margin: 14px 0 6px; color: var(--d10-accent); font: bold 14px Georgia,serif; }
|
||||
.sheet-d10 .sheet-stat { display: grid; grid-template-columns: minmax(0,1fr) 66px 66px 42px; gap: 7px; align-items: center; }
|
||||
.sheet-d10 .sheet-stat-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 10px; }
|
||||
.sheet-d10 .sheet-stat { min-height: 43px; padding: 6px 9px; border: 1px solid var(--d10-border); border-left: 3px solid var(--d10-accent); background: var(--d10-background); }
|
||||
.sheet-d10 .sheet-stat strong { overflow: hidden; color: var(--d10-ink); font: bold 12px Georgia,serif; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.sheet-d10 .sheet-stat label { display: grid; gap: 2px; margin: 0 !important; color: var(--d10-accent); font: bold 9px Arial,sans-serif; text-align: center; text-transform: uppercase; }
|
||||
.sheet-d10 .sheet-resource-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
|
||||
.sheet-d10 .sheet-resource { display: grid; grid-template-columns: minmax(110px,1fr) 75px 12px 75px; gap: 6px; align-items: end; padding: 9px 11px; background: var(--d10-background); border-left: 3px solid var(--d10-accent); }
|
||||
.sheet-d10 .sheet-resource strong { align-self: center; font-size: 12px; }
|
||||
.sheet-d10 .sheet-resource label { display: grid; gap: 3px; margin: 0 !important; color: var(--d10-accent); font: bold 9px Arial,sans-serif; text-transform: uppercase; }
|
||||
.sheet-d10 .sheet-resource > span { align-self: end; text-align: center; font-size: 18px; }
|
||||
.sheet-d10 .sheet-body-maps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 13px; }
|
||||
.sheet-d10 .sheet-map-card { min-width: 0; overflow-x: auto; padding: 10px; background: var(--d10-background); border: 1px solid var(--d10-border); }
|
||||
.sheet-d10 .sheet-map-card h3 { margin: 0; padding: 2px 4px 8px; color: var(--d10-accent); font: bold 16px Georgia,serif; text-align: center; border-bottom: 1px solid var(--d10-border); }
|
||||
.sheet-d10 .sheet-body-figure { position: relative; width: 330px; height: 365px; margin: 8px auto 0; }
|
||||
.sheet-d10 .sheet-body-image { position: absolute; top: 32px; left: 92px; display: block; width: 146px; height: 300px; filter: var(--d10-figure-filter); pointer-events: none; }
|
||||
.sheet-d10 .sheet-zone { position: absolute; z-index: 1; display: grid; justify-items: center; gap: 2px; min-width: 56px; padding: 3px; background: var(--d10-panel); border: 1px solid var(--d10-border); border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,.12); }
|
||||
.sheet-d10 .sheet-zone-label { color: var(--d10-accent); font: bold 9px Arial,sans-serif; white-space: nowrap; }
|
||||
.sheet-d10 .sheet-zone input[type=number] { width: 46px; height: 28px; padding: 2px; font-size: 12px; }
|
||||
.sheet-d10 .sheet-zone-head { top: 8px; left: 136px; }
|
||||
.sheet-d10 .sheet-zone-body { top: 112px; left: 136px; }
|
||||
.sheet-d10 .sheet-zone-left_arm { top: 180px; left: 31px; }
|
||||
.sheet-d10 .sheet-zone-right_arm { top: 180px; right: 31px; }
|
||||
.sheet-d10 .sheet-zone-left_leg { top: 280px; left: 61px; }
|
||||
.sheet-d10 .sheet-zone-right_leg { top: 280px; right: 61px; }
|
||||
.sheet-d10 .sheet-map-armor .sheet-zone { grid-template-columns: repeat(3,42px); column-gap: 3px; }
|
||||
.sheet-d10 .sheet-map-armor .sheet-zone-label { grid-column: 1/-1; }
|
||||
.sheet-d10 .sheet-map-armor .sheet-zone label { display: grid; justify-items: center; gap: 2px; margin: 0 !important; color: var(--d10-accent); font: bold 8px Arial,sans-serif; }
|
||||
.sheet-d10 .sheet-map-armor .sheet-zone input[type=number] { width: 42px; }
|
||||
.sheet-d10 .sheet-map-armor .sheet-zone-head, .sheet-d10 .sheet-map-armor .sheet-zone-body { left: 95px; }
|
||||
.sheet-d10 .sheet-map-armor .sheet-zone-left_arm { left: 0; }
|
||||
.sheet-d10 .sheet-map-armor .sheet-zone-right_arm { right: 0; }
|
||||
.sheet-d10 .sheet-map-armor .sheet-zone-left_leg { left: 14px; }
|
||||
.sheet-d10 .sheet-map-armor .sheet-zone-right_leg { right: 14px; }
|
||||
.sheet-d10 .sheet-map-legend { margin: 0; color: var(--d10-accent); font: italic 11px Georgia,serif; text-align: center; }
|
||||
.sheet-d10 .sheet-combat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
|
||||
.sheet-d10 .sheet-combat-field { display: grid; gap: 4px; margin: 0 !important; padding: 8px; color: var(--d10-accent); background: var(--d10-background); font: bold 10px Arial,sans-serif; text-transform: uppercase; }
|
||||
.sheet-d10 .sheet-combat-field-initiative { grid-template-columns: 90px 34px; align-items: end; justify-content: start; gap: 9px; }
|
||||
.sheet-d10 .sheet-combat-field-initiative label { display: grid; gap: 4px; margin: 0 !important; color: var(--d10-accent); }
|
||||
.sheet-d10 .sheet-combat-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px; background: var(--d10-background); }
|
||||
.sheet-d10 .sheet-combat-actions span { margin-right: auto; color: var(--d10-accent); font-weight: bold; }
|
||||
.sheet-d10 .sheet-weapon-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
|
||||
.sheet-d10 .sheet-weapon { display: grid; grid-template-columns: minmax(0,1fr) 65px 18px; gap: 5px; align-items: center; padding: 8px; background: var(--d10-background); border: 1px solid var(--d10-border); }
|
||||
.sheet-d10 .sheet-weapon span { grid-column: 1/-1; color: var(--d10-accent); font: bold 10px Arial,sans-serif; text-transform: uppercase; }
|
||||
.sheet-d10 .sheet-skill-group { margin: 9px 0 16px; border: 1px solid var(--d10-border); }
|
||||
.sheet-d10 .sheet-skill-group h4 { margin: 0; padding: 7px 10px; color: var(--d10-panel); background: var(--d10-accent); font: bold 13px Georgia,serif; }
|
||||
.sheet-d10 .sheet-skill-head, .sheet-d10 .sheet-skill-row { display: grid; grid-template-columns: minmax(170px,1fr) 110px 60px 60px 42px; gap: 8px; align-items: center; padding: 5px 10px; }
|
||||
.sheet-d10 .sheet-skill-head { color: var(--d10-accent); font: bold 9px Arial,sans-serif; letter-spacing: .05em; text-transform: uppercase; text-align: center; border-bottom: 1px solid var(--d10-border); }
|
||||
.sheet-d10 .sheet-skill-head span:first-child { text-align: left; }
|
||||
.sheet-d10 .sheet-skill-row { min-height: 38px; }
|
||||
.sheet-d10 .sheet-skill-row:nth-child(even) { background: var(--d10-background); }
|
||||
.sheet-d10 .sheet-skill-name { overflow: hidden; font-weight: bold; text-overflow: ellipsis; }
|
||||
.sheet-d10 .sheet-subskill .sheet-skill-name { padding-left: 16px; font-weight: normal; }
|
||||
.sheet-d10 .sheet-subskill .sheet-skill-name::before { content: '↳ '; color: var(--d10-accent); }
|
||||
.sheet-d10 button[type=roll].sheet-roll { display: inline-grid; place-items: center; width: 34px; min-width: 34px; height: 30px; margin: 0 !important; padding: 0 !important; color: var(--d10-panel); background: var(--d10-accent); border: 1px solid var(--d10-accent); border-radius: 2px; box-shadow: none; font: bold 10px Arial,sans-serif; line-height: 1; text-shadow: none; }
|
||||
.sheet-d10 button[type=roll].sheet-show { width: 52px; min-width: 52px; }
|
||||
.sheet-d10 button[type=roll].sheet-roll::before { content: none !important; display: none !important; }
|
||||
.sheet-d10 button[type=roll].sheet-roll:hover, .sheet-d10 button[type=roll].sheet-roll:focus { filter: brightness(1.15); outline: 2px solid var(--d10-border); }
|
||||
.sheet-d10 details { margin: 8px 0; border: 1px solid var(--d10-border); }
|
||||
.sheet-d10 summary { padding: 7px 10px; color: var(--d10-accent); background: var(--d10-background); font-weight: bold; cursor: pointer; }
|
||||
.sheet-d10 fieldset { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px; border: 0; }
|
||||
.sheet-d10 .sheet-repeater label { display: grid; gap: 3px; margin: 0 !important; color: var(--d10-accent); font: bold 9px Arial,sans-serif; text-transform: uppercase; }
|
||||
.sheet-d10 .sheet-repeater { display: flex; flex-wrap: wrap; gap: 7px; align-items: end; width: 100%; }
|
||||
.sheet-d10 .sheet-repeater label { flex: 1 1 110px; min-width: 0; }
|
||||
.sheet-d10 .sheet-repeater .sheet-repeater-skillname, .sheet-d10 .sheet-repeater .sheet-repeater-name, .sheet-d10 .sheet-repeater .sheet-repeater-notes { flex-grow: 2; }
|
||||
.sheet-d10 .sheet-repeater .sheet-repeater-skilllevel, .sheet-d10 .sheet-repeater .sheet-repeater-skillcost, .sheet-d10 .sheet-repeater .sheet-repeater-quantity, .sheet-d10 .sheet-repeater .sheet-repeater-damage { flex: 0 1 70px; }
|
||||
.sheet-d10 .sheet-repeater .sheet-repeater-attribute { flex: 1 1 130px; }
|
||||
.sheet-d10 .sheet-repeater .sheet-roll { flex: 0 0 34px; }
|
||||
.sheet-d10 .sheet-repeater .sheet-show { flex-basis: 52px; }
|
||||
.sheet-d10 .sheet-weapon-repeater { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; padding: 10px; background: var(--d10-background); border: 1px solid var(--d10-border); }
|
||||
.sheet-d10 .sheet-weapon-field { display: grid; gap: 3px; min-width: 0; margin: 0 !important; color: var(--d10-accent); font: bold 10px Arial,sans-serif; text-transform: uppercase; }
|
||||
.sheet-d10 .sheet-weapon-field input, .sheet-d10 .sheet-weapon-field select { min-width: 0; }
|
||||
.sheet-d10 .sheet-weapon-name, .sheet-d10 .sheet-weapon-notes { grid-column: span 3; }
|
||||
.sheet-d10 .sheet-weapon-skill_id, .sheet-d10 .sheet-weapon-weapon_type { grid-column: span 2; }
|
||||
.sheet-d10 .sheet-weapon-actions { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1/-1; }
|
||||
.sheet-d10 .sheet-weapon-actions button[type=action] { min-height: 30px; margin: 0 !important; padding: 3px 9px; color: var(--d10-panel); background: var(--d10-accent); border: 1px solid var(--d10-accent); border-radius: 2px; box-shadow: none; font: bold 11px Arial,sans-serif; text-shadow: none; }
|
||||
.sheet-d10 .sheet-weapon-status { grid-column: 1/-1; min-height: 16px; color: var(--d10-accent); font: 11px Arial,sans-serif; }
|
||||
.sheet-rolltemplate-d10skillcheck, .sheet-rolltemplate-d10weapon, .sheet-rolltemplate-d10contact, .sheet-rolltemplate-d10consumable { overflow: hidden; color: var(--d10-ink); background: var(--d10-panel); border: 1px solid var(--d10-border); border-left: 4px solid var(--d10-accent); font: 12px Georgia,serif; }
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-title, .sheet-rolltemplate-d10weapon .sheet-roll-title, .sheet-rolltemplate-d10contact .sheet-roll-title, .sheet-rolltemplate-d10consumable .sheet-roll-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 7px; padding: 7px 9px; border-bottom: 1px solid var(--d10-border); }
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-title strong, .sheet-rolltemplate-d10weapon .sheet-roll-title strong, .sheet-rolltemplate-d10contact .sheet-roll-title strong, .sheet-rolltemplate-d10consumable .sheet-roll-title strong { font-size: 14px; }
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-title span, .sheet-rolltemplate-d10weapon .sheet-roll-title span, .sheet-rolltemplate-d10contact .sheet-roll-title span, .sheet-rolltemplate-d10consumable .sheet-roll-title span { opacity: .85; }
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-values, .sheet-rolltemplate-d10weapon .sheet-roll-values { display: grid; grid-template-columns: auto minmax(36px,auto) auto minmax(36px,auto); gap: 6px; align-items: center; justify-content: start; padding: 8px 9px; }
|
||||
.sheet-rolltemplate-d10skillcheck .sheet-roll-value, .sheet-rolltemplate-d10weapon .sheet-roll-value { min-width: 30px; text-align: center; }
|
||||
.sheet-rolltemplate-d10weapon .sheet-roll-damage-list { text-align: left; white-space: normal; }
|
||||
.sheet-rolltemplate-d10skillcheck .inlinerollresult, .sheet-rolltemplate-d10weapon .inlinerollresult { display: inline-block; min-width: 28px; padding: 2px 5px; color: #20242b !important; background: #ffffff !important; border: 1px solid #68717d !important; border-radius: 3px; font-weight: bold; text-align: center; text-shadow: none !important; }
|
||||
.sheet-rolltemplate-d10weapon .sheet-roll-detail, .sheet-rolltemplate-d10contact .sheet-roll-detail, .sheet-rolltemplate-d10consumable .sheet-roll-detail { padding: 4px 9px; border-top: 1px solid var(--d10-border); }
|
||||
@media (max-width: 760px) {
|
||||
.sheet-d10 { padding: 9px; }
|
||||
.sheet-d10 .sheet-stat-grid, .sheet-d10 .sheet-resource-grid, .sheet-d10 .sheet-weapon-grid { grid-template-columns: 1fr; }
|
||||
.sheet-d10 .sheet-hero { grid-template-columns: 45px minmax(0,1fr); gap: 9px; }
|
||||
.sheet-d10 .sheet-hero-mark { width: 42px; height: 42px; font-size: 14px; }
|
||||
.sheet-d10 .sheet-die-choice { grid-column: 2; }
|
||||
.sheet-d10 .sheet-theme-choice { grid-column: 2; }
|
||||
.sheet-d10 .sheet-hero-tools { grid-column: 2; }
|
||||
.sheet-d10 .sheet-tab-nav button[type=action] { min-height: 36px; padding: 5px 2px; font-size: 10px; }
|
||||
.sheet-d10 .sheet-skill-tab-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
|
||||
.sheet-d10 .sheet-weapon-repeater { grid-template-columns: repeat(2,minmax(0,1fr)); }
|
||||
.sheet-d10 .sheet-weapon-name, .sheet-d10 .sheet-weapon-notes, .sheet-d10 .sheet-weapon-skill_id, .sheet-d10 .sheet-weapon-weapon_type { grid-column: span 2; }
|
||||
.sheet-d10 .sheet-skill-head, .sheet-d10 .sheet-skill-row { grid-template-columns: minmax(110px,1fr) 72px 48px 48px 36px; gap: 4px; padding: 4px; }
|
||||
.sheet-d10 .sheet-body-maps { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
|
@ -1,236 +0,0 @@
|
|||
import json
|
||||
from pathlib import Path
|
||||
import re
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / 'tools'))
|
||||
import build
|
||||
|
||||
|
||||
class BuildTests(unittest.TestCase):
|
||||
def test_all_variants_and_themes(self):
|
||||
for variant in ('base', 'cyberpunk'):
|
||||
for theme in ('parchment', 'night'):
|
||||
with self.subTest(variant=variant, theme=theme), tempfile.TemporaryDirectory() as tmp:
|
||||
files = build.build(variant, theme, Path(tmp))
|
||||
self.assertEqual(set(files), {p.name for p in Path(tmp).iterdir()})
|
||||
info = json.loads(files['build-info.json'])
|
||||
self.assertEqual(info['variant'], variant)
|
||||
self.assertGreater(info['skills'], 10)
|
||||
self.assertIn('repeating_', files['sheet.html'])
|
||||
self.assertIn('sheet-rolltemplate-d10skillcheck', files['sheet.html'])
|
||||
self.assertIn('class="sheet-roll-values"', files['sheet.html'])
|
||||
self.assertIn('class="sheet-roll-value">{{result}}', files['sheet.html'])
|
||||
self.assertIn('.sheet-rolltemplate-d10skillcheck .inlinerollresult', files['sheet.css'])
|
||||
self.assertIn('color: #20242b !important; background: #ffffff !important', files['sheet.css'])
|
||||
self.assertIn('class="sheet-stat-grid"', files['sheet.html'])
|
||||
self.assertIn('1d@{dice}cs1cf@{dice}', files['sheet.html'])
|
||||
self.assertIn('1d10cs1cf10', files['sheet.html'])
|
||||
self.assertIn('class="sheet-skill-head"', files['sheet.html'])
|
||||
self.assertEqual(files['sheet.html'].count('class="sheet-page sheet-page-'), 2 if variant == 'base' else 3)
|
||||
self.assertIn('name="attr_d10_tab" value="skills"', files['sheet.html'])
|
||||
self.assertIn('name="attr_d10_theme_choice"', files['sheet.html'])
|
||||
self.assertIn(f'.sheet-theme-state[value="{theme}"] ~ .sheet-d10', files['sheet.css'])
|
||||
self.assertNotIn('name="act_tab_core"', files['sheet.html'])
|
||||
self.assertLess(files['sheet.html'].index('01</span>'), files['sheet.html'].index('class="sheet-tab-nav"'))
|
||||
self.assertLess(files['sheet.html'].index('02</span>'), files['sheet.html'].index('class="sheet-tab-nav"'))
|
||||
self.assertIn('.sheet-tab-state[value="skills"] ~ .sheet-page-skills', files['sheet.css'])
|
||||
self.assertIn('.sheet-tab-state[value="core"] ~ .sheet-page-skills', files['sheet.css'])
|
||||
self.assertEqual(files['sheet.html'].count('class="sheet-skill-row'), info['skills'])
|
||||
if variant == 'base':
|
||||
markup = files['sheet.html']
|
||||
self.assertIn('<option value="parchment"', markup)
|
||||
self.assertIn('<option value="night"', markup)
|
||||
self.assertNotIn('<option value="bluecore"', markup)
|
||||
self.assertNotIn('.sheet-theme-state[value="bluecore"]', files['sheet.css'])
|
||||
self.assertNotIn('name="act_tab_other"', markup)
|
||||
self.assertEqual(markup.count('class="sheet-skill-pane sheet-skill-pane-'), 4)
|
||||
self.assertLess(markup.index('name="attr_general_skilllevel_Perfection"'), markup.index('class="sheet-skill-pane sheet-skill-pane-free"'))
|
||||
for tab, section in (('fight', 'general-combat-skills'), ('free', 'skills'),
|
||||
('magic', 'magic-skills'), ('equipment', 'equipment')):
|
||||
self.assertIn(f'name="act_skill_tab_{tab}"', markup)
|
||||
self.assertIn(f'.sheet-skill-tab-state[value="{tab}"] ~ .sheet-skill-pane-{tab}', files['sheet.css'])
|
||||
self.assertLess(markup.index(f'class="sheet-skill-pane sheet-skill-pane-{tab}"'),
|
||||
markup.index(f'class="repeating_{section}"'))
|
||||
self.assertEqual(markup.count(f'class="repeating_{section}"'), 1)
|
||||
else:
|
||||
self.assertEqual(files['sheet.html'].count('class="sheet-skill-pane sheet-category-pane-'), 3)
|
||||
self.assertIn('name="attr_d10_category_tab" value="physique"', files['sheet.html'])
|
||||
for tab in ('physique', 'intellectuelles', 'social'):
|
||||
self.assertIn(f'.sheet-category-tab-state[value="{tab}"] ~ .sheet-category-pane-{tab}', files['sheet.css'])
|
||||
self.assertNotIn('name="act_category_tab_arsenal"', files['sheet.html'])
|
||||
combat_page = files['sheet.html'].split('class="sheet-page sheet-page-combat"', 1)[1].split('class="sheet-page sheet-page-skills"', 1)[0]
|
||||
self.assertIn('name="attr_d10_arsenal_tab"', combat_page)
|
||||
self.assertIn('class="repeating_distance"', combat_page)
|
||||
self.assertIn('class="repeating_melee"', combat_page)
|
||||
self.assertIn('class="repeating_consommable"', combat_page)
|
||||
for section in ('distance', 'melee', 'consommable'):
|
||||
self.assertIn(f'name="act_arsenal_tab_{section}"', files['sheet.html'])
|
||||
self.assertEqual(files['sheet.html'].count(f'class="repeating_{section}"'), 1)
|
||||
for action in ('firesingle', 'fireburst', 'fireauto', 'reload', 'damage'):
|
||||
self.assertIn(f'name="act_{action}"', files['sheet.html'])
|
||||
self.assertIn('name="attr_ammo_current"', files['sheet.html'])
|
||||
self.assertIn('<span class="sheet-weapon-status" name="attr_weapon_status"></span>', files['sheet.html'])
|
||||
self.assertIn('name="attr_damage_per_success"', files['sheet.html'])
|
||||
self.assertIn('d10<${threshold}cs1cf10', files['sheet.html'])
|
||||
self.assertNotIn('D10_WEAPON_DIAGNOSTIC', files['sheet.html'])
|
||||
self.assertIn('{{#ammo_info}}<div class="sheet-roll-detail">Chargeur :', files['sheet.html'])
|
||||
self.assertEqual(files['sheet.html'].count('name="attr_rmax"'), 2)
|
||||
self.assertNotIn('name="attr_attack_dice"', files['sheet.html'])
|
||||
contacts = re.search(r'<fieldset class="repeating_contacts-skills">(.*?)</fieldset>',
|
||||
files['sheet.html'], re.DOTALL)
|
||||
self.assertIsNotNone(contacts)
|
||||
self.assertNotIn('attr_attribute_select', contacts.group(1))
|
||||
self.assertNotIn('Caractéristique', contacts.group(1))
|
||||
self.assertIn('>Show</button>', contacts.group(1))
|
||||
self.assertIn('&{template:d10contact}', contacts.group(1))
|
||||
self.assertIn('sheet-rolltemplate-d10contact', files['sheet.html'])
|
||||
consumables = re.search(r'<fieldset class="repeating_consommable">(.*?)</fieldset>',
|
||||
files['sheet.html'], re.DOTALL)
|
||||
self.assertIsNotNone(consumables)
|
||||
self.assertIn('>Show</button>', consumables.group(1))
|
||||
self.assertIn('&{template:d10consumable}', consumables.group(1))
|
||||
for field in ('name', 'quantity', 'notes'):
|
||||
self.assertIn(f'@{{{field}}}', consumables.group(1))
|
||||
self.assertIn('<rolltemplate class="sheet-rolltemplate-d10consumable">', files['sheet.html'])
|
||||
self.assertIn('Quantité : {{quantity}}', files['sheet.html'])
|
||||
self.assertIn('.sheet-d10 .sheet-stat-grid { display: grid;', files['sheet.css'])
|
||||
self.assertIn('.sheet-d10 .sheet-skill-head, .sheet-d10 .sheet-skill-row { display: grid;', files['sheet.css'])
|
||||
self.assertIn('.sheet-d10 .sheet-body-maps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr));', files['sheet.css'])
|
||||
self.assertIn('.sheet-d10 .sheet-zone-body { top: 112px;', files['sheet.css'])
|
||||
self.assertIn('-moz-appearance: textfield', files['sheet.css'])
|
||||
self.assertIn('::-webkit-inner-spin-button', files['sheet.css'])
|
||||
self.assertNotIn('Ravenous', files['sheet.html'])
|
||||
self.assertIn('--d10-accent:', files['sheet.css'])
|
||||
self.assertEqual(files, build.build(variant, theme, Path(tmp)))
|
||||
build.build(variant, theme, Path(tmp), check=True)
|
||||
(Path(tmp) / 'sheet.css').write_text('stale', encoding='utf-8')
|
||||
with self.assertRaisesRegex(ValueError, 'stale'):
|
||||
build.build(variant, theme, Path(tmp), check=True)
|
||||
|
||||
def test_attributes_referenced_by_generated_rolls(self):
|
||||
for variant in ('base', 'cyberpunk'):
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
markup = build.build(variant, 'parchment', Path(tmp))['sheet.html']
|
||||
declared = set(re.findall(r'name="attr_([A-Za-z0-9_-]+)"', markup))
|
||||
referenced = set(re.findall(r'@\{([A-Za-z0-9_-]+)\}', markup))
|
||||
self.assertFalse(referenced - declared - {'character_id'}, referenced - declared)
|
||||
self.assertEqual(len(declared), len(set(declared)))
|
||||
self.assertIn('<summary>Échanges JSON</summary>', markup)
|
||||
self.assertIn('value="!d10-export --id @{character_id}"', markup)
|
||||
self.assertIn('value="!d10-import --replace --id @{character_id} --handout ?{ID du handout personnage}"', markup)
|
||||
self.assertIn('base-Force', declared)
|
||||
self.assertIn('Life_Points', declared)
|
||||
if variant == 'cyberpunk':
|
||||
self.assertIn('Initiative', declared)
|
||||
self.assertNotIn('general_attack_threshold', declared)
|
||||
self.assertNotIn('base_damage_dices', declared)
|
||||
self.assertNotIn('exal_damage_dices', declared)
|
||||
self.assertNotIn('general_item_weapon1', declared)
|
||||
self.assertNotIn('Jets de combat', markup)
|
||||
self.assertNotIn('Armes équipées', markup)
|
||||
self.assertIn('class="sheet-combat-field sheet-combat-field-initiative"', markup)
|
||||
self.assertIn('Life_Points_head', declared)
|
||||
self.assertIn('repeating_distance', markup)
|
||||
self.assertIn('class="sheet-body-maps"', markup)
|
||||
self.assertIn('class="sheet-map-card sheet-map-health"', markup)
|
||||
self.assertIn('class="sheet-map-card sheet-map-armor"', markup)
|
||||
for kind in ('health', 'armor'):
|
||||
image = f'robotman_{kind}_r.png'
|
||||
self.assertIn(f'src="{build.DEFAULT_ASSET_BASE_URL}{image}"', markup)
|
||||
self.assertEqual(build.ASSETS.joinpath(image).read_bytes(),
|
||||
Path(tmp, image).read_bytes())
|
||||
for location in build.LOCATIONS:
|
||||
for prefix in ('Life_Points', 'Armor_Protection_Points', 'Armor_Integrity_Points'):
|
||||
self.assertEqual(markup.count(f'name="attr_{prefix}_{location}"'), 1)
|
||||
self.assertEqual(markup.count(f'name="attr_Armor_Integrity_Points_{location}_maximum"'), 1)
|
||||
else:
|
||||
self.assertIn('general_attack_threshold', declared)
|
||||
self.assertIn('general_item_weapon1', declared)
|
||||
self.assertIn('Jets de combat', markup)
|
||||
self.assertIn('Armes équipées', markup)
|
||||
self.assertNotIn('class="sheet-body-maps"', markup)
|
||||
self.assertNotIn('robotman_health_r.png', markup)
|
||||
|
||||
def test_theme_is_visual_only(self):
|
||||
for variant in ('base', 'cyberpunk'):
|
||||
with self.subTest(variant=variant), tempfile.TemporaryDirectory() as tmp:
|
||||
one = build.build(variant, 'parchment', Path(tmp))
|
||||
two = build.build(variant, 'night', Path(tmp))
|
||||
def normalize(markup, theme):
|
||||
markup = markup.replace(f'theme-{theme}', 'theme-compiled').replace(' selected', '')
|
||||
return re.sub(r'(class="sheet-theme-state" name="attr_d10_theme" value=")[^"]+',
|
||||
r'\1compiled', markup)
|
||||
self.assertEqual(normalize(one['sheet.html'], 'parchment'), normalize(two['sheet.html'], 'night'))
|
||||
self.assertNotEqual(one['sheet.css'], two['sheet.css'])
|
||||
|
||||
def test_corporate_theme_selector(self):
|
||||
themes = build.read_yaml(build.DATA / 'themes.yaml')['themes']
|
||||
self.assertEqual(len(themes), 20)
|
||||
self.assertEqual(themes['parchment']['name'], 'Parchemin')
|
||||
self.assertEqual(themes['night']['name'], 'Nuit')
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
with self.assertRaisesRegex(ValueError, 'unknown theme for base'):
|
||||
build.build('base', 'bluecore', Path(tmp))
|
||||
def luminance(color):
|
||||
channels = [int(color[index:index + 2], 16) / 255 for index in (1, 3, 5)]
|
||||
linear = [value / 12.92 if value <= 0.04045 else ((value + 0.055) / 1.055) ** 2.4
|
||||
for value in channels]
|
||||
return sum(value * weight for value, weight in zip(linear, (0.2126, 0.7152, 0.0722)))
|
||||
for key, palette in themes.items():
|
||||
with self.subTest(theme=key), tempfile.TemporaryDirectory() as tmp:
|
||||
accent, panel = luminance(palette['accent']), luminance(palette['panel'])
|
||||
self.assertGreaterEqual((max(accent, panel) + 0.05) / (min(accent, panel) + 0.05), 4.5)
|
||||
files = build.build('cyberpunk', key, Path(tmp))
|
||||
self.assertIn(f'<option value="{key}" selected>', files['sheet.html'])
|
||||
self.assertIn(f'>{palette.get("name", key)}</option>', files['sheet.html'])
|
||||
self.assertIn(f'.sheet-theme-state[value="{key}"] ~ .sheet-d10', files['sheet.css'])
|
||||
self.assertIn(f'--d10-background: {palette["background"]}', files['sheet.css'])
|
||||
self.assertIn(f'--d10-figure-filter: {build.figure_filter(palette["background"])}', files['sheet.css'])
|
||||
build.build('cyberpunk', key, Path(tmp), check=True)
|
||||
|
||||
def test_hosted_image_urls(self):
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
files = build.build('cyberpunk', 'parchment', Path(tmp),
|
||||
asset_base_url='https://example.org/d10/assets')
|
||||
self.assertIn('src="https://example.org/d10/assets/robotman_health_r.png"', files['sheet.html'])
|
||||
self.assertIn('src="https://example.org/d10/assets/robotman_armor_r.png"', files['sheet.html'])
|
||||
build.build('cyberpunk', 'parchment', Path(tmp), check=True,
|
||||
asset_base_url='https://example.org/d10/assets')
|
||||
with self.assertRaisesRegex(ValueError, 'missing or stale'):
|
||||
build.build('cyberpunk', 'parchment', Path(tmp), check=True)
|
||||
with self.assertRaisesRegex(ValueError, 'HTTPS'):
|
||||
build.build('cyberpunk', 'parchment', Path(tmp), asset_base_url='http://example.org')
|
||||
local = build.build('cyberpunk', 'parchment', Path(tmp), asset_base_url='')
|
||||
self.assertIn('src="robotman_health_r.png"', local['sheet.html'])
|
||||
|
||||
def test_rejects_bad_data(self):
|
||||
source = build.read_yaml(build.DATA / 'sheet_model.yaml')
|
||||
skills = build.read_yaml(build.DATA / 'cyberpunk_skills.yaml')
|
||||
theme = build.read_yaml(build.DATA / 'themes.yaml')['themes']['night']
|
||||
model = {**source['variants']['cyberpunk'], 'version': 1}
|
||||
build.validate(model, skills, theme)
|
||||
bad = {'sections': [{'id': 'test', 'name': 'Test', 'groups': [{'name': 'Test', 'skills': [
|
||||
{'id': 'one', 'name': 'One'}, {'id': 'one', 'name': 'Duplicate'}]}]}]}
|
||||
with self.assertRaisesRegex(ValueError, 'duplicate skill'):
|
||||
build.validate({**model, 'skill_category_tabs': False}, bad, theme)
|
||||
with self.assertRaisesRegex(ValueError, 'at least two unique'):
|
||||
build.validate(model, bad, theme)
|
||||
with self.assertRaisesRegex(ValueError, 'invalid theme color'):
|
||||
build.validate(model, skills, {**theme, 'accent': 'red'})
|
||||
with self.assertRaisesRegex(ValueError, 'unsupported health location'):
|
||||
build.validate({**model, 'health_locations': ['tail']}, skills, theme)
|
||||
broken_weapons = [{**block, 'fields': [field for field in block['fields'] if field != 'ammo_current']}
|
||||
if block['id'] == 'distance' else block for block in model['repeating']]
|
||||
with self.assertRaisesRegex(ValueError, 'invalid weapon fields'):
|
||||
build.validate({**model, 'repeating': broken_weapons}, skills, theme)
|
||||
base = {**source['variants']['base'], 'version': 1}
|
||||
base_skills = build.read_yaml(build.DATA / 'base_skills.yaml')
|
||||
with self.assertRaisesRegex(ValueError, 'each skill group and repeating section exactly once'):
|
||||
build.validate({**base, 'skill_tabs': base['skill_tabs'][:-1]}, base_skills, theme)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
@ -1,130 +0,0 @@
|
|||
import assert from 'node:assert/strict';
|
||||
import { readFileSync } from 'node:fs';
|
||||
import { test } from 'node:test';
|
||||
import vm from 'node:vm';
|
||||
|
||||
const script = readFileSync(new URL('../scripts/d10_character_io.js', import.meta.url), 'utf8');
|
||||
|
||||
function session() {
|
||||
const objects = new Map();
|
||||
const chat = [];
|
||||
let nextId = 0;
|
||||
let handler;
|
||||
const createObj = (type, fields) => {
|
||||
const data = { ...fields };
|
||||
const object = {
|
||||
id: `id${++nextId}`,
|
||||
type,
|
||||
get(key, callback) {
|
||||
const value = data[key] ?? '';
|
||||
if (callback) callback(value);
|
||||
else return value;
|
||||
},
|
||||
set(key, value) { data[key] = value; },
|
||||
remove() { objects.delete(object.id); },
|
||||
};
|
||||
objects.set(object.id, object);
|
||||
return object;
|
||||
};
|
||||
vm.runInNewContext(script, {
|
||||
on(event, callback) { assert.equal(event, 'chat:message'); handler = callback; },
|
||||
playerIsGM: id => id === 'gm',
|
||||
createObj,
|
||||
getObj: (type, id) => objects.get(id)?.type === type ? objects.get(id) : undefined,
|
||||
findObjs: query => [...objects.values()].filter(object => object.type === query.type &&
|
||||
object.get('characterid') === query.characterid),
|
||||
sendChat: (speaker, content) => chat.push({ speaker, content }),
|
||||
encodeURIComponent,
|
||||
decodeURIComponent,
|
||||
});
|
||||
const send = (content, playerid = 'gm', selected = []) =>
|
||||
handler({ type: 'api', playerid, content, selected });
|
||||
return { createObj, objects, chat, send };
|
||||
}
|
||||
|
||||
const objectsOf = (game, type) => [...game.objects.values()].filter(object => object.type === type);
|
||||
|
||||
test('GM export and import preserve repeating attributes, notes, access, and abilities', () => {
|
||||
const game = session();
|
||||
const original = game.createObj('character', { name: 'Ariane', bio: 'Bio é',
|
||||
gmnotes: 'Secret', controlledby: 'player1', inplayerjournals: 'player1' });
|
||||
game.createObj('attribute', { characterid: original.id, name: 'base-Force', current: '4', max: '' });
|
||||
game.createObj('attribute', { characterid: original.id,
|
||||
name: 'repeating_distance_row1_name', current: 'Pistolet', max: '' });
|
||||
game.createObj('attribute', { characterid: original.id, name: 'Life_Points', current: '7', max: '10' });
|
||||
game.createObj('ability', { characterid: original.id, name: 'Action', action: '/em agit', istokenaction: true });
|
||||
|
||||
game.send(`!d10-export --id ${original.id}`);
|
||||
const handout = objectsOf(game, 'handout')[0];
|
||||
assert.ok(handout);
|
||||
assert.match(handout.get('gmnotes'), /"format": "d10-roll20-character"/);
|
||||
game.send(`!d10-import --handout ${handout.id}`);
|
||||
|
||||
const imported = objectsOf(game, 'character')[1];
|
||||
assert.equal(imported.get('name'), 'Ariane');
|
||||
assert.equal(imported.get('bio'), 'Bio é');
|
||||
assert.equal(imported.get('gmnotes'), 'Secret');
|
||||
assert.equal(imported.get('controlledby'), 'player1');
|
||||
assert.deepEqual(objectsOf(game, 'attribute').filter(item => item.get('characterid') === imported.id)
|
||||
.map(item => [item.get('name'), item.get('current'), item.get('max')]), [
|
||||
['base-Force', '4', ''], ['Life_Points', '7', '10'],
|
||||
['repeating_distance_row1_name', 'Pistolet', ''],
|
||||
]);
|
||||
assert.equal(objectsOf(game, 'ability').find(item => item.get('characterid') === imported.id)
|
||||
.get('action'), '/em agit');
|
||||
});
|
||||
|
||||
test('player export and replace preserve character identity and protected metadata', () => {
|
||||
const game = session();
|
||||
const player = game.createObj('player', { _displayname: 'Alice' });
|
||||
const character = game.createObj('character', { name: 'Avant', bio: 'Avant', gmnotes: 'MJ',
|
||||
controlledby: player.id, inplayerjournals: player.id });
|
||||
const token = game.createObj('graphic', { represents: character.id });
|
||||
game.createObj('attribute', { characterid: character.id, name: 'obsolete', current: 'oui', max: '' });
|
||||
|
||||
game.send('!d10-export', player.id, [{ _type: 'graphic', _id: token.id }]);
|
||||
const handout = objectsOf(game, 'handout')[0];
|
||||
assert.equal(handout.get('controlledby'), player.id);
|
||||
assert.match(handout.get('notes'), /"gmnotes": ""/);
|
||||
const replacement = { format: 'd10-roll20-character', version: 1, name: 'Après',
|
||||
bio: 'Après', gmnotes: 'Tentative', controlledby: 'intrus', inplayerjournals: 'intrus',
|
||||
attributes: [{ name: 'base-Force', current: '9', max: '' }], abilities: [] };
|
||||
handout.set('notes', encodeURIComponent(`<pre>${JSON.stringify(replacement)}</pre>`));
|
||||
game.send(`!d10-import --replace --handout ${handout.id}`, player.id,
|
||||
[{ _type: 'graphic', _id: token.id }]);
|
||||
|
||||
assert.equal(character.get('name'), 'Après');
|
||||
assert.equal(character.get('gmnotes'), 'MJ');
|
||||
assert.equal(character.get('controlledby'), player.id);
|
||||
assert.equal(token.get('represents'), character.id);
|
||||
assert.deepEqual(objectsOf(game, 'attribute').map(item => item.get('name')), ['base-Force']);
|
||||
});
|
||||
|
||||
test('permissions and strict version validation reject unsafe imports', () => {
|
||||
const game = session();
|
||||
const player = game.createObj('player', { _displayname: 'Alice' });
|
||||
const other = game.createObj('character', { name: 'Autre', controlledby: 'someone-else' });
|
||||
const token = game.createObj('graphic', { represents: other.id });
|
||||
const valid = { format: 'd10-roll20-character', version: 1, name: 'Nouveau', attributes: [] };
|
||||
const privateHandout = game.createObj('handout', { controlledby: 'someone-else', notes: JSON.stringify(valid) });
|
||||
|
||||
game.send(`!d10-import ${JSON.stringify(valid)}`, player.id);
|
||||
game.send(`!d10-import --replace --handout ${privateHandout.id}`, player.id,
|
||||
[{ _type: 'graphic', _id: token.id }]);
|
||||
game.send('!d10-import {"format":"wrong","version":1,"name":"Bad","attributes":[]}');
|
||||
assert.equal(objectsOf(game, 'character').length, 1);
|
||||
assert.equal(other.get('name'), 'Autre');
|
||||
assert.match(game.chat.at(-2).content, /Permission denied/);
|
||||
assert.match(game.chat.at(-1).content, /Invalid or unsupported/);
|
||||
});
|
||||
|
||||
test('GM handout import decodes Roll20 HTML escaping', () => {
|
||||
const game = session();
|
||||
const payload = { format: 'd10-roll20-character', version: 1,
|
||||
name: 'A & B', bio: '<b>Test</b>', attributes: [] };
|
||||
const escaped = JSON.stringify(payload).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');
|
||||
const handout = game.createObj('handout', { gmnotes: `<p>${escaped}</p>` });
|
||||
game.send(`!d10-import --handout ${handout.id}`);
|
||||
assert.equal(objectsOf(game, 'character')[0].get('name'), 'A & B');
|
||||
assert.equal(objectsOf(game, 'character')[0].get('bio'), '<b>Test</b>');
|
||||
});
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
from pathlib import Path
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / 'tools'))
|
||||
import build
|
||||
import publish_builds
|
||||
|
||||
|
||||
class PublishBuildsTests(unittest.TestCase):
|
||||
def test_complete_artifact_tree(self):
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
root = publish_builds.publish(Path(tmp) / 'RPG' / 'd10_character_sheet')
|
||||
for kind in ('health', 'armor'):
|
||||
filename = f'robotman_{kind}_r.png'
|
||||
self.assertEqual((root / 'assets' / filename).read_bytes(),
|
||||
(build.ASSETS / filename).read_bytes())
|
||||
for variant in ('base', 'cyberpunk'):
|
||||
target = root / variant
|
||||
self.assertTrue((target / 'sheet.html').is_file())
|
||||
self.assertTrue((target / 'sheet.css').is_file())
|
||||
self.assertFalse((target / 'night').exists())
|
||||
if variant == 'cyberpunk':
|
||||
self.assertIn(build.DEFAULT_ASSET_BASE_URL + 'robotman_health_r.png',
|
||||
(target / 'sheet.html').read_text(encoding='utf-8'))
|
||||
build.build(variant, 'parchment', target, check=True)
|
||||
(root / 'cyberpunk' / 'night').mkdir()
|
||||
publish_builds.publish(root)
|
||||
self.assertFalse((root / 'cyberpunk' / 'night').exists())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
@ -1,152 +0,0 @@
|
|||
import assert from 'node:assert/strict';
|
||||
import { readFileSync } from 'node:fs';
|
||||
import vm from 'node:vm';
|
||||
|
||||
const buildRoot = process.env.D10_BUILD_ROOT ?? 'RPG/d10_character_sheet';
|
||||
|
||||
for (const variant of ['base', 'cyberpunk']) {
|
||||
const tabs = variant === 'base' ? ['skills', 'combat'] : ['skills', 'combat', 'other'];
|
||||
const skillTabs = variant === 'base' ? ['fight', 'free', 'magic', 'equipment'] : [];
|
||||
const categoryTabs = variant === 'cyberpunk' ? ['physique', 'intellectuelles', 'social'] : [];
|
||||
const arsenalTabs = variant === 'cyberpunk' ? ['distance', 'melee', 'consommable'] : [];
|
||||
const html = readFileSync(`${buildRoot}/${variant}/sheet.html`, 'utf8');
|
||||
const script = html.match(/<script type="text\/worker">\s*([\s\S]*?)<\/script>/)?.[1];
|
||||
assert.ok(script, `${variant}: generated sheet worker`);
|
||||
const handlers = new Map();
|
||||
const attributes = { d10_tab: 'core' };
|
||||
const rolls = [];
|
||||
const finished = [];
|
||||
let attackResult = 2;
|
||||
let attackDice = [{ v: 1 }, { v: 4 }, { v: 9 }];
|
||||
let damageResult = 3;
|
||||
vm.runInNewContext(script, {
|
||||
on: (event, handler) => {
|
||||
assert.ok(!handlers.has(event), `duplicate handler: ${event}`);
|
||||
handlers.set(event, handler);
|
||||
},
|
||||
setAttrs: changes => Object.assign(attributes, changes),
|
||||
getAttrs: (names, callback) => callback(Object.fromEntries(names.map(name => [name, attributes[name]]))),
|
||||
startRoll: (command, callback) => {
|
||||
rolls.push(command);
|
||||
callback({ rollId: String(rolls.length), results: {
|
||||
attack_roll: { result: attackResult, dice: attackDice }, damage_roll: { result: damageResult },
|
||||
} });
|
||||
},
|
||||
finishRoll: (id, computed) => finished.push({ id, computed }),
|
||||
});
|
||||
assert.equal(handlers.size, tabs.length + skillTabs.length + categoryTabs.length + arsenalTabs.length + 1 + (variant === 'cyberpunk' ? 7 : 0));
|
||||
assert.ok(!handlers.has('clicked:tab_core'));
|
||||
for (const tab of tabs) {
|
||||
assert.match(html, new RegExp(`name="act_tab_${tab}"`));
|
||||
assert.match(html, new RegExp(`class="sheet-page sheet-page-${tab}"`));
|
||||
handlers.get(`clicked:tab_${tab}`)();
|
||||
assert.equal(attributes.d10_tab, tab);
|
||||
}
|
||||
for (const tab of skillTabs) {
|
||||
assert.match(html, new RegExp(`name="act_skill_tab_${tab}"`));
|
||||
assert.match(html, new RegExp(`class="sheet-skill-pane sheet-skill-pane-${tab}"`));
|
||||
handlers.get(`clicked:skill_tab_${tab}`)();
|
||||
assert.equal(attributes.d10_skill_tab, tab);
|
||||
}
|
||||
for (const tab of categoryTabs) {
|
||||
assert.match(html, new RegExp(`name="act_category_tab_${tab}"`));
|
||||
assert.match(html, new RegExp(`class="sheet-skill-pane sheet-category-pane-${tab}"`));
|
||||
handlers.get(`clicked:category_tab_${tab}`)();
|
||||
assert.equal(attributes.d10_category_tab, tab);
|
||||
}
|
||||
for (const tab of arsenalTabs) {
|
||||
assert.match(html, new RegExp(`name="act_arsenal_tab_${tab}"`));
|
||||
assert.match(html, new RegExp(`class="sheet-skill-pane sheet-arsenal-pane-${tab}"`));
|
||||
handlers.get(`clicked:arsenal_tab_${tab}`)();
|
||||
assert.equal(attributes.d10_arsenal_tab, tab);
|
||||
}
|
||||
if (variant === 'base') assert.match(html, /name="attr_d10_skill_tab" value="fight"/);
|
||||
if (variant === 'cyberpunk') assert.ok(!handlers.has('clicked:skill_tab_fight'));
|
||||
if (variant === 'cyberpunk') {
|
||||
assert.match(html, /name="attr_d10_category_tab" value="physique"/);
|
||||
assert.ok(!handlers.has('clicked:category_tab_arsenal'));
|
||||
assert.match(html, /class="sheet-page sheet-page-combat"[\s\S]*name="attr_d10_arsenal_tab"[\s\S]*class="sheet-page sheet-page-skills"/);
|
||||
}
|
||||
assert.match(html, /name="attr_d10_theme_choice"/);
|
||||
assert.match(html, /name="attr_d10_theme" value="parchment"/);
|
||||
handlers.get('change:d10_theme_choice')({ newValue: variant === 'base' ? 'night' : 'bluecore' });
|
||||
assert.equal(attributes.d10_theme, variant === 'base' ? 'night' : 'bluecore');
|
||||
if (variant === 'base') {
|
||||
assert.ok(!html.includes('<option value="bluecore"'));
|
||||
}
|
||||
if (variant === 'cyberpunk') {
|
||||
const ranged = 'repeating_distance_-test_';
|
||||
Object.assign(attributes, {
|
||||
dice: '10', combat_skilllevel_armesfeu: '3',
|
||||
[ranged + 'name']: 'Torpille', [ranged + 'skill_id']: 'armesfeu',
|
||||
[ranged + 'base_threshold']: '4', [ranged + 'accuracy']: '1',
|
||||
[ranged + 'damage']: '5',
|
||||
[ranged + 'damage_per_success']: '1', [ranged + 'rmax']: '1', [ranged + 'ammo_current']: '5',
|
||||
[ranged + 'magazine_size']: '10', [ranged + 'ammo_reserve']: '3',
|
||||
[ranged + 'single_cost']: '1', [ranged + 'burst_cost']: '3',
|
||||
});
|
||||
handlers.get('clicked:repeating_distance:firesingle')({ sourceAttribute: ranged + 'firesingle' });
|
||||
assert.match(rolls.at(-1), /template:d10weapon/);
|
||||
assert.match(rolls.at(-1), /name=Torpille/);
|
||||
assert.match(rolls.at(-1), /mode=Tir simple/);
|
||||
assert.match(rolls.at(-1), /\?\{Nombre de dés\|1\}d10<8cs1cf10/);
|
||||
assert.match(rolls.at(-1), /ammo=4/);
|
||||
assert.equal(attributes[ranged + 'ammo_current'], 4);
|
||||
assert.equal(finished.at(-1).computed.damage, 5);
|
||||
attributes[ranged + 'ammo_current'] = 2;
|
||||
handlers.get('clicked:repeating_distance:fireburst')({ sourceAttribute: ranged + 'fireburst' });
|
||||
assert.match(rolls.at(-1), /mode=Rafale/);
|
||||
assert.match(rolls.at(-1), /\(\?\{Nombre de dés\|1\}\+1\)d10<8cs1cf10/);
|
||||
assert.equal(attributes[ranged + 'ammo_current'], 0);
|
||||
assert.equal(finished.at(-1).computed.damage_list, '6, 5');
|
||||
attributes[ranged + 'ammo_current'] = 2;
|
||||
attributes[ranged + 'auto_cost'] = '5';
|
||||
handlers.get('clicked:repeating_distance:fireauto')({ sourceAttribute: ranged + 'fireauto' });
|
||||
assert.match(rolls.at(-1), /mode=Automatique/);
|
||||
assert.equal(attributes[ranged + 'ammo_current'], 0);
|
||||
assert.equal(finished.at(-1).computed.damage_list, '6, 5');
|
||||
attackResult = 3;
|
||||
attributes[ranged + 'ammo_current'] = 1;
|
||||
handlers.get('clicked:repeating_distance:fireauto')({ sourceAttribute: ranged + 'fireauto' });
|
||||
assert.equal(attributes[ranged + 'ammo_current'], 0);
|
||||
assert.equal(finished.at(-1).computed.damage_list, '6');
|
||||
attackResult = 2;
|
||||
handlers.get('clicked:repeating_distance:damage')({ sourceAttribute: ranged + 'damage' });
|
||||
assert.match(rolls.at(-1), /mode=Dégâts/);
|
||||
assert.equal(finished.at(-1).computed.damage, 5);
|
||||
const rollCount = rolls.length;
|
||||
handlers.get('clicked:repeating_distance:firesingle')({ sourceAttribute: ranged + 'firesingle' });
|
||||
assert.equal(rolls.length, rollCount);
|
||||
assert.match(attributes[ranged + 'weapon_status'], /Chargeur insuffisant/);
|
||||
attributes[ranged + 'ammo_current'] = '4';
|
||||
handlers.get('clicked:repeating_distance:reload')({ sourceAttribute: ranged + 'reload' });
|
||||
assert.equal(attributes[ranged + 'ammo_current'], 10);
|
||||
assert.equal(attributes[ranged + 'ammo_reserve'], 2);
|
||||
handlers.get('clicked:repeating_distance:reload')({ sourceAttribute: ranged + 'reload' });
|
||||
assert.equal(attributes[ranged + 'ammo_reserve'], 2);
|
||||
assert.match(attributes[ranged + 'weapon_status'], /déjà plein/);
|
||||
attributes[ranged + 'ammo_current'] = 4;
|
||||
attributes[ranged + 'ammo_reserve'] = 0;
|
||||
handlers.get('clicked:repeating_distance:reload')({ sourceAttribute: ranged + 'reload' });
|
||||
assert.equal(attributes[ranged + 'ammo_current'], 4);
|
||||
assert.match(attributes[ranged + 'weapon_status'], /Aucun chargeur/);
|
||||
attributes[ranged + 'ammo_reserve'] = 2;
|
||||
attributes[ranged + 'magazine_size'] = 0;
|
||||
handlers.get('clicked:repeating_distance:reload')({ sourceAttribute: ranged + 'reload' });
|
||||
assert.equal(attributes[ranged + 'ammo_reserve'], 2);
|
||||
assert.match(attributes[ranged + 'weapon_status'], /Taille du chargeur/);
|
||||
const melee = 'repeating_melee_-test_';
|
||||
Object.assign(attributes, {
|
||||
[melee + 'name']: 'Kataba', [melee + 'damage']: '4',
|
||||
[melee + 'damage_per_success']: '2', [melee + 'rmax']: '2',
|
||||
[melee + 'base_threshold']: '4',
|
||||
});
|
||||
handlers.get('clicked:repeating_melee:attack')({ sourceAttribute: melee + 'attack' });
|
||||
assert.match(rolls.at(-1), /mode=Mêlée/);
|
||||
assert.match(rolls.at(-1), /\?\{Nombre de dés\|1\}d10<4cs1cf10/);
|
||||
assert.equal(finished.at(-1).computed.damage, 6);
|
||||
handlers.get('clicked:repeating_melee:damage')({ sourceAttribute: melee + 'damage' });
|
||||
assert.match(rolls.at(-1), /mode=Dégâts/);
|
||||
assert.equal(finished.at(-1).computed.damage, 6);
|
||||
}
|
||||
}
|
||||
562
tools/build.py
562
tools/build.py
|
|
@ -1,562 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
"""Build the two D10 Roll20 sheets from explicit models and skill YAML."""
|
||||
import argparse
|
||||
import hashlib
|
||||
import html
|
||||
import json
|
||||
from pathlib import Path
|
||||
import re
|
||||
|
||||
import yaml
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
DATA = ROOT / 'data'
|
||||
ASSETS = ROOT / 'assets'
|
||||
DEFAULT_ASSET_BASE_URL = 'https://books.dandaedre.com/RPG/d10_character_sheet/assets/'
|
||||
BASE_THEMES = ('parchment', 'night')
|
||||
IDENT = re.compile(r'^[A-Za-z][A-Za-z0-9_-]*$')
|
||||
COLOR = re.compile(r'^#[0-9a-fA-F]{6}$')
|
||||
TABS = (('skills', 'Compétences'), ('combat', 'Combat'), ('other', 'Autres'))
|
||||
LOCATIONS = {
|
||||
'head': 'Tête', 'body': 'Torse',
|
||||
'left_arm': 'Bras gauche', 'right_arm': 'Bras droit',
|
||||
'left_leg': 'Jambe gauche', 'right_leg': 'Jambe droite',
|
||||
}
|
||||
FIELD_LABELS = {
|
||||
'skillname': 'Nom', 'skilllevel': 'Niveau', 'skillcost': 'Coût',
|
||||
'name': 'Nom', 'notes': 'Notes', 'damage': 'Dégâts', 'quantity': 'Quantité',
|
||||
}
|
||||
WEAPON_FIELDS = {
|
||||
'distance': {'name', 'damage', 'notes', 'weapon_type', 'accuracy', 'base_threshold',
|
||||
'skill_id', 'single_cost', 'burst_cost', 'auto_cost',
|
||||
'ammo_current', 'magazine_size', 'ammo_reserve', 'damage_per_success', 'rmax',
|
||||
'weapon_status'},
|
||||
'melee': {'name', 'damage', 'notes', 'weapon_type', 'accuracy', 'base_threshold',
|
||||
'skill_id', 'damage_per_success', 'rmax', 'weapon_status'},
|
||||
}
|
||||
|
||||
|
||||
def read_yaml(path):
|
||||
return yaml.safe_load(path.read_text(encoding='utf-8'))
|
||||
|
||||
|
||||
def ident(value):
|
||||
if not isinstance(value, str) or not IDENT.fullmatch(value):
|
||||
raise ValueError(f'invalid Roll20 identifier: {value!r}')
|
||||
return value
|
||||
|
||||
|
||||
def esc(value):
|
||||
return html.escape(str(value), quote=True)
|
||||
|
||||
|
||||
def figure_filter(background):
|
||||
channels = [int(background[index:index + 2], 16) for index in (1, 3, 5)]
|
||||
return 'invert(1)' if sum(channels) / 3 < 130 else 'none'
|
||||
|
||||
|
||||
def validate(model, skills, theme):
|
||||
if model.get('version') != 1:
|
||||
raise ValueError('unsupported model version')
|
||||
for color in (theme[key] for key in ('background', 'panel', 'ink', 'accent', 'border') if key in theme):
|
||||
if not isinstance(color, str) or not COLOR.fullmatch(color):
|
||||
raise ValueError(f'invalid theme color: {color!r}')
|
||||
for required in ('background', 'panel', 'ink', 'accent', 'border'):
|
||||
if required not in theme:
|
||||
raise ValueError(f'missing theme color: {required}')
|
||||
fields = set()
|
||||
for item in model['attributes'] + model['resources']:
|
||||
key = ident(item['id'])
|
||||
if key in fields:
|
||||
raise ValueError(f'duplicate field: {key}')
|
||||
fields.add(key)
|
||||
for item in model.get('combat', []):
|
||||
key = ident(item['id'])
|
||||
if key in fields:
|
||||
raise ValueError(f'duplicate field: {key}')
|
||||
fields.add(key)
|
||||
for location in model.get('health_locations', []):
|
||||
ident(location)
|
||||
if location not in LOCATIONS:
|
||||
raise ValueError(f'unsupported health location: {location}')
|
||||
if len(set(model.get('health_locations', []))) != len(model.get('health_locations', [])):
|
||||
raise ValueError('duplicate health location')
|
||||
if not isinstance(model.get('weapons', 0), int) or not 0 <= model.get('weapons', 0) <= 10:
|
||||
raise ValueError('weapons must be an integer from 0 to 10')
|
||||
sections = skills['sections']
|
||||
if not isinstance(sections, list) or not sections:
|
||||
raise ValueError('skills need sections')
|
||||
if model.get('skill_category_tabs'):
|
||||
if model.get('skill_tabs'):
|
||||
raise ValueError('choose one skill tab layout')
|
||||
category_ids = [ident(section.get('id')) for section in sections
|
||||
if any(group.get('skills') for group in section['groups'])]
|
||||
if len(category_ids) < 2 or len(category_ids) != len(set(category_ids)):
|
||||
raise ValueError('skill categories need at least two unique tab identifiers')
|
||||
generated_fields = set()
|
||||
for section in sections:
|
||||
for group in section['groups']:
|
||||
prefix = ''.join(c for c in group['name'].replace(' ', '') if c.isascii() and c.isalpha()).lower()
|
||||
if not prefix:
|
||||
raise ValueError(f'group has no usable identifier: {group["name"]!r}')
|
||||
seen = set()
|
||||
for skill in group.get('skills', []):
|
||||
key = ident(skill['id'])
|
||||
if key in seen:
|
||||
raise ValueError(f'duplicate skill in {group["name"]}: {key}')
|
||||
seen.add(key)
|
||||
stem = f'{prefix}_skilllevel_{key}'
|
||||
if stem in generated_fields:
|
||||
raise ValueError(f'duplicate generated skill field: {stem}')
|
||||
generated_fields.add(stem)
|
||||
if skill.get('parent') and skill['parent'] not in seen:
|
||||
raise ValueError(f'unknown or later parent for {key}')
|
||||
repeating_ids = set()
|
||||
for block in model['repeating']:
|
||||
ident(block['id'])
|
||||
if block['id'] in repeating_ids:
|
||||
raise ValueError(f'duplicate repeating section: {block["id"]}')
|
||||
repeating_ids.add(block['id'])
|
||||
for field in block['fields']:
|
||||
ident(field)
|
||||
if model.get('skill_category_tabs') and block['id'] in WEAPON_FIELDS and set(block['fields']) != WEAPON_FIELDS[block['id']]:
|
||||
raise ValueError(f'invalid weapon fields: {block["id"]}')
|
||||
if model.get('skill_category_tabs'):
|
||||
equipment_ids = [ident(group['equipment']) for section in sections for group in section['groups']
|
||||
if group.get('equipment')]
|
||||
if len(equipment_ids) != len(set(equipment_ids)) or not set(equipment_ids) <= repeating_ids:
|
||||
raise ValueError('equipment categories must reference unique repeating sections')
|
||||
if not combat_skills(skills):
|
||||
raise ValueError('cyberpunk weapons need combat skills')
|
||||
if model.get('skill_tabs'):
|
||||
tab_ids = set()
|
||||
content_ids = []
|
||||
for tab in model['skill_tabs']:
|
||||
key = ident(tab['id'])
|
||||
if key in tab_ids:
|
||||
raise ValueError(f'duplicate skill tab: {key}')
|
||||
tab_ids.add(key)
|
||||
content_ids.extend(tab['content'])
|
||||
expected = repeating_ids | {'fixed_skills'}
|
||||
if set(content_ids) != expected or len(content_ids) != len(expected):
|
||||
raise ValueError('skill tabs must place each skill group and repeating section exactly once')
|
||||
|
||||
|
||||
def roll(label, threshold, combat=False):
|
||||
die = '10' if combat else '@{dice}'
|
||||
expression = f'{threshold}-1d{die}cs1cf{die}'
|
||||
value = ('&{template:d10skillcheck} '
|
||||
'{{name=@{character_name}}} '
|
||||
f'{{{{roll_name={label}}}}} '
|
||||
f'{{{{dice_name={die}}}}} '
|
||||
f'{{{{threshold=[[{threshold}]]}}}} '
|
||||
f'{{{{result=[[{expression}]]}}}}')
|
||||
return f'<button type="roll" class="sheet-roll" value="{esc(value)}" title="Lancer {esc(label)}">Jet</button>'
|
||||
|
||||
|
||||
def render_skill(group, skill, variant):
|
||||
# Cyberpunk names follow the original generator's subgroup prefix and ID.
|
||||
prefix = ''.join(c for c in group['name'].replace(' ', '') if c.isascii() and c.isalpha()).lower()
|
||||
if variant == 'base':
|
||||
stem = f'general_skilllevel_{skill["id"]}'
|
||||
name_field = skill['name']
|
||||
else:
|
||||
stem = f'{prefix}_skilllevel_{skill["id"]}'
|
||||
name_field = skill['name']
|
||||
threshold = f'@{{{stem}}}+@{{skill_{prefix}_attribute_select_{skill["id"]}}}'
|
||||
if skill.get('parent'):
|
||||
threshold += f'+@{{{prefix}_skilllevel_{skill["parent"]}}}'
|
||||
options = [('Force', 'For'), ('Agilite', 'Agi'), ('Perception', 'Per'),
|
||||
('Charisme', 'Cha'), ('Intelligence', 'Int'), ('Volonte', 'Vol'),
|
||||
(('Psyche' if variant == 'base' else 'Accred'), ('Psy' if variant == 'base' else 'Acc')),
|
||||
('Chance', 'Chn')]
|
||||
selector = f'skill_{prefix}_attribute_select_{skill["id"]}'
|
||||
choices = ''.join(f'<option value="@{{base-{key}}}+@{{exal-{key}}}">{esc(short)}</option>' for key, short in options)
|
||||
depth = ' sheet-subskill' if skill.get('parent') else ''
|
||||
return (f'<div class="sheet-skill-row{depth}"><span class="sheet-skill-name">{esc(name_field)}</span>'
|
||||
f'<select name="attr_{selector}" title="Caractéristique">{choices}</select>'
|
||||
f'<input type="number" name="attr_{stem}" value="0" min="0" title="Niveau">'
|
||||
f'<input type="number" name="attr_{prefix}_skillcost_{skill["id"]}" value="0" min="0" title="Coût">'
|
||||
f'{roll(name_field, threshold)}</div>')
|
||||
|
||||
|
||||
def render_body_map(locations, kind, asset_base_url=''):
|
||||
title = 'Santé' if kind == 'health' else 'Armure'
|
||||
legend = 'PV par localisation' if kind == 'health' else 'P = protection · I = intégrité · Max = intégrité maximale'
|
||||
image_name = f'robotman_{kind}_r.png'
|
||||
image_url = f'{asset_base_url.rstrip("/")}/{image_name}' if asset_base_url else image_name
|
||||
parts = [f'<div class="sheet-map-card sheet-map-{kind}"><h3>{title}</h3>',
|
||||
f'<div class="sheet-body-figure"><img class="sheet-body-image" src="{esc(image_url)}" alt="" aria-hidden="true" width="146" height="300">']
|
||||
for location in locations:
|
||||
label = LOCATIONS[location]
|
||||
parts.append(f'<div class="sheet-zone sheet-zone-{location}"><span class="sheet-zone-label">{label}</span>')
|
||||
if kind == 'health':
|
||||
parts.append(f'<input type="number" name="attr_Life_Points_{location}" value="0" aria-label="PV {label}" title="PV {label}">')
|
||||
else:
|
||||
for field, short, descriptor in (('Armor_Protection_Points', 'P', 'Protection'),
|
||||
('Armor_Integrity_Points', 'I', 'Intégrité'),
|
||||
('Armor_Integrity_Points', 'Max', 'Intégrité maximale')):
|
||||
suffix = '_maximum' if short == 'Max' else ''
|
||||
parts.append(f'<label>{short}<input type="number" name="attr_{field}_{location}{suffix}" value="0" aria-label="{descriptor} {label}" title="{descriptor} {label}"></label>')
|
||||
parts.append('</div>')
|
||||
parts.append(f'</div><p class="sheet-map-legend">{legend}</p></div>')
|
||||
return ''.join(parts)
|
||||
|
||||
|
||||
def render_fixed_skills(skills, variant, show_sections=True, sections=None):
|
||||
parts = []
|
||||
for section in (skills['sections'] if sections is None else sections):
|
||||
if show_sections:
|
||||
parts.append(f'<h3 class="sheet-subheading">{esc(section["name"])}</h3>')
|
||||
for group in section['groups']:
|
||||
parts.append(f'<div class="sheet-skill-group"><h4>{esc(group["name"])}</h4>'
|
||||
'<div class="sheet-skill-head"><span>Compétence</span><span>Carac.</span><span>Niveau</span><span>Coût</span><span>Jet</span></div>')
|
||||
parts.extend(render_skill(group, skill, variant) for skill in group.get('skills', []))
|
||||
parts.append('</div>')
|
||||
return ''.join(parts)
|
||||
|
||||
|
||||
def combat_skills(skills):
|
||||
return next((group['skills'] for section in skills['sections'] for group in section['groups']
|
||||
if group['name'] == 'Combat'), [])
|
||||
|
||||
|
||||
def render_repeating_block(block, attributes, expanded=False):
|
||||
parts = [f'<details{" open" if expanded else ""}><summary>{esc(block["name"])}</summary>'
|
||||
f'<fieldset class="repeating_{esc(block["id"])}"><div class="sheet-repeater">']
|
||||
for field in block['fields']:
|
||||
kind = 'number' if field in ('skilllevel', 'skillcost', 'quantity', 'damage') else 'text'
|
||||
parts.append(f'<label class="sheet-repeater-{field}">{esc(FIELD_LABELS.get(field, field))}<input type="{kind}" name="attr_{esc(field)}"></label>')
|
||||
if block['id'] == 'contacts-skills':
|
||||
command = '&{template:d10contact} {{name=@{skillname}}} {{level=@{skilllevel}}}'
|
||||
parts.append(f'<button type="roll" class="sheet-roll sheet-show" value="{esc(command)}" title="Afficher le contact">Show</button>')
|
||||
elif block['id'] == 'consommable':
|
||||
command = '&{template:d10consumable} {{name=@{name}}} {{quantity=@{quantity}}} {{notes=@{notes}}}'
|
||||
parts.append(f'<button type="roll" class="sheet-roll sheet-show" value="{esc(command)}" title="Afficher le consommable">Show</button>')
|
||||
elif 'skilllevel' in block['fields']:
|
||||
options = ''.join(
|
||||
f'<option value="@{{base-{item["id"]}}}+@{{exal-{item["id"]}}}">{esc(item["name"])}</option>'
|
||||
for item in attributes)
|
||||
parts.append(f'<label class="sheet-repeater-attribute">Caractéristique<select name="attr_attribute_select">{options}</select></label>')
|
||||
parts.append(roll('@{skillname}', '@{skilllevel}+@{attribute_select}'))
|
||||
parts.append('</div></fieldset></details>')
|
||||
return ''.join(parts)
|
||||
|
||||
|
||||
def render_weapon_block(block, combat_skills):
|
||||
ranged = block['id'] == 'distance'
|
||||
options = '<option value="">Aucune spécialité</option>' + ''.join(
|
||||
f'<option value="{esc(skill["id"])}">{esc(skill["name"])}</option>' for skill in combat_skills)
|
||||
def field(name, label, kind='number', value='0', extra=''):
|
||||
return (f'<label class="sheet-weapon-field sheet-weapon-{name}">{label}'
|
||||
f'<input type="{kind}" name="attr_{name}" value="{esc(value)}" {extra}></label>')
|
||||
parts = [f'<fieldset class="repeating_{esc(block["id"])}"><div class="sheet-weapon-repeater">',
|
||||
field('name', 'Nom', 'text', ''), field('weapon_type', 'Type', 'text', ''),
|
||||
field('accuracy', 'Précision', value='0'),
|
||||
field('base_threshold', 'Seuil de base', value='4'),
|
||||
'<label class="sheet-weapon-field sheet-weapon-skill_id">Compétence'
|
||||
f'<select name="attr_skill_id">{options}</select></label>',
|
||||
field('damage', 'Dégâts de base', value='0'),
|
||||
field('damage_per_success', 'Dégâts / réussite', value='0'),
|
||||
field('rmax', 'Rmax (0 = sans limite)', value='0', extra='min="0"'),
|
||||
field('notes', 'Spécial / notes', 'text', '')]
|
||||
if ranged:
|
||||
parts.extend([field('single_cost', 'Coup par coup', value='1', extra='min="1"'),
|
||||
field('burst_cost', 'Rafale', value='3', extra='min="1"'),
|
||||
field('auto_cost', 'Automatique', value='5', extra='min="1"'),
|
||||
field('ammo_current', 'Chargeur actuel', value='0', extra='min="0"'),
|
||||
field('magazine_size', 'Taille du chargeur', value='0', extra='min="0"'),
|
||||
field('ammo_reserve', 'Chargeurs de réserve', value='0', extra='min="0"')])
|
||||
actions = ([('firesingle', 'Tir simple'), ('fireburst', 'Rafale'),
|
||||
('fireauto', 'Automatique'), ('reload', 'Recharger')]
|
||||
if ranged else [('attack', 'Attaque')])
|
||||
actions.append(('damage', 'Dégâts'))
|
||||
parts.append('<div class="sheet-weapon-actions">' + ''.join(
|
||||
f'<button type="action" name="act_{key}">{label}</button>' for key, label in actions) + '</div>')
|
||||
parts.append('<span class="sheet-weapon-status" name="attr_weapon_status"></span></div></fieldset>')
|
||||
return ''.join(parts)
|
||||
|
||||
|
||||
def render(model, skills, variant, theme_name, theme, themes, asset_base_url=''):
|
||||
tabs = TABS[:-1] if model.get('skill_tabs') else TABS
|
||||
switchable = variant == 'cyberpunk'
|
||||
parts = []
|
||||
parts.extend(['<div class="sheet-theme-shell">',
|
||||
f'<input type="hidden" class="sheet-theme-state" name="attr_d10_theme" value="{esc(theme_name)}">'])
|
||||
parts.extend([f'<div class="sheet-d10 sheet-variant-{variant} sheet-theme-{esc(theme_name)}">',
|
||||
'<header class="sheet-hero"><div class="sheet-hero-mark">D10</div>',
|
||||
f'<div class="sheet-hero-main"><span class="sheet-eyebrow">Feuille de personnage</span><h1>{esc(model["title"])}</h1>',
|
||||
'<div class="sheet-identity"><label>Nom <input type="text" name="attr_character_name"></label>',
|
||||
'<label>Origine <input type="text" name="attr_character_race"></label></div></div>',
|
||||
'<label class="sheet-die-choice">Dé de jeu <select name="attr_dice">' + ''.join(
|
||||
f'<option value="{n}"{" selected" if n == 10 else ""}>d{n}</option>'
|
||||
for n in (4, 6, 8, 10, 12, 20)) + '</select></label>',
|
||||
])
|
||||
parts.append('<div class="sheet-hero-tools"><label class="sheet-theme-choice">Thème <select name="attr_d10_theme_choice">' + ''.join(
|
||||
f'<option value="{esc(key)}"{" selected" if key == theme_name else ""}>{esc(palette.get("name", key))}</option>'
|
||||
for key, palette in themes.items()) + '</select></label>')
|
||||
parts.append('<details class="sheet-character-io-menu"><summary>Échanges JSON</summary>'
|
||||
'<div class="sheet-character-io-actions">'
|
||||
'<button type="roll" name="roll_export_character" '
|
||||
'value="!d10-export --id @{character_id}">Exporter</button>'
|
||||
'<button type="roll" name="roll_replace_character" '
|
||||
'value="!d10-import --replace --id @{character_id} --handout ?{ID du handout personnage}">Restaurer</button>'
|
||||
'</div></details></div>')
|
||||
parts.extend(['</header>',
|
||||
'<section class="sheet-panel"><div class="sheet-section-title"><span>01</span><h2>Caractéristiques</h2></div>',
|
||||
'<div class="sheet-stat-grid">'])
|
||||
for item in model['attributes']:
|
||||
key = item['id']
|
||||
threshold = f'(@{{base-{key}}}+@{{exal-{key}}})*2'
|
||||
parts.append(f'<div class="sheet-stat"><strong>{esc(item["name"])}</strong>'
|
||||
f'<label>Base<input type="number" name="attr_base-{key}" value="0" title="Base"></label>'
|
||||
f'<label>Bonus<input type="number" name="attr_exal-{key}" value="0" title="Bonus"></label>'
|
||||
f'{roll(item["name"], threshold)}</div>')
|
||||
parts.append('</div></section><section class="sheet-panel"><div class="sheet-section-title"><span>02</span><h2>Ressources</h2></div><div class="sheet-resource-grid">')
|
||||
for item in model['resources']:
|
||||
key = item['id']
|
||||
parts.append(f'<div class="sheet-resource"><strong>{esc(item["name"])}</strong>'
|
||||
f'<label>Actuel<input type="number" name="attr_{key}" value="0" title="Actuel"></label>'
|
||||
f'<span>/</span><label>Maximum<input type="number" name="attr_{key}_maximum" value="0" title="Maximum"></label></div>')
|
||||
if model.get('health_locations'):
|
||||
parts.append('</div><div class="sheet-body-maps">')
|
||||
parts.append(render_body_map(model['health_locations'], 'health', asset_base_url))
|
||||
parts.append(render_body_map(model['health_locations'], 'armor', asset_base_url))
|
||||
parts.append('</div>')
|
||||
else:
|
||||
parts.append('</div>')
|
||||
parts.extend([
|
||||
'</section>',
|
||||
'<input type="hidden" class="sheet-tab-state" name="attr_d10_tab" value="skills">',
|
||||
'<nav class="sheet-tab-nav" aria-label="Sections de la feuille">',
|
||||
*(f'<button type="action" class="sheet-tab-button sheet-tab-{key}" name="act_tab_{key}">{label}</button>'
|
||||
for key, label in tabs),
|
||||
'</nav><div class="sheet-page sheet-page-combat"><section class="sheet-panel"><div class="sheet-section-title"><span>03</span><h2>Combat</h2></div><div class="sheet-combat-grid">',
|
||||
])
|
||||
for item in model.get('combat', []):
|
||||
if switchable:
|
||||
field = (f'<label>{esc(item["name"])}'
|
||||
f'<input type="number" name="attr_{esc(item["id"])}" value="0"></label>')
|
||||
parts.append('<div class="sheet-combat-field sheet-combat-field-initiative">' + field +
|
||||
roll('Initiative', '@{base-Agilite}+@{exal-Agilite}+@{Initiative}', combat=True) + '</div>')
|
||||
else:
|
||||
parts.append(f'<label class="sheet-combat-field">{esc(item["name"])}'
|
||||
f'<input type="number" name="attr_{esc(item["id"])}" value="0"></label>')
|
||||
if not switchable:
|
||||
parts.append('</div><div class="sheet-combat-actions"><span>Jets de combat</span>')
|
||||
parts.append(roll('Initiative', '@{base-Agilite}+@{exal-Agilite}+@{Initiative}', combat=True))
|
||||
parts.append(roll('Attaque', '@{general_attack_threshold}', combat=True))
|
||||
parts.append('</div><h3 class="sheet-subheading">Armes équipées</h3><div class="sheet-weapon-grid">')
|
||||
for number in range(1, model.get('weapons', 0) + 1):
|
||||
parts.append(f'<div class="sheet-weapon"><span>Arme {number}</span>'
|
||||
f'<input type="text" name="attr_general_item_weapon{number}_name" title="Nom">'
|
||||
f'<input type="number" name="attr_general_item_weapon{number}" value="0" title="Dégâts">'
|
||||
f'<input type="checkbox" name="attr_item_weapon{number}_activation" value="1" title="Équipée"></div>')
|
||||
else:
|
||||
equipment = [group for section in skills['sections'] for group in section['groups']
|
||||
if group.get('equipment')]
|
||||
repeating = {block['id']: block for block in model['repeating']}
|
||||
weapon_skills = combat_skills(skills)
|
||||
parts.append('</div><h3 class="sheet-subheading">Arsenal</h3><div class="sheet-arsenal">')
|
||||
parts.append('<input type="hidden" class="sheet-arsenal-tab-state" name="attr_d10_arsenal_tab" value="distance">')
|
||||
parts.append('<nav class="sheet-skill-tab-nav sheet-arsenal-tab-nav" aria-label="Catégories d’arsenal">')
|
||||
for group in equipment:
|
||||
key = group['equipment']
|
||||
parts.append(f'<button type="action" class="sheet-arsenal-tab-{key}" name="act_arsenal_tab_{key}">{esc(group["name"])}</button>')
|
||||
parts.append('</nav>')
|
||||
for group in equipment:
|
||||
key = group['equipment']
|
||||
parts.append(f'<div class="sheet-skill-pane sheet-arsenal-pane-{key}">')
|
||||
parts.append(render_weapon_block(repeating[key], weapon_skills) if key in ('distance', 'melee')
|
||||
else render_repeating_block(repeating[key], model['attributes'], expanded=True))
|
||||
parts.append('</div>')
|
||||
parts.append('</div></section></div><div class="sheet-page sheet-page-skills"><section class="sheet-panel"><div class="sheet-section-title"><span>04</span><h2>Compétences</h2></div>')
|
||||
if model.get('skill_tabs'):
|
||||
skill_tabs = model['skill_tabs']
|
||||
parts.append(f'<input type="hidden" class="sheet-skill-tab-state" name="attr_d10_skill_tab" value="{skill_tabs[0]["id"]}">')
|
||||
parts.append('<nav class="sheet-skill-tab-nav" aria-label="Catégories de compétences">')
|
||||
for tab in skill_tabs:
|
||||
parts.append(f'<button type="action" class="sheet-skill-tab-button sheet-skill-tab-{tab["id"]}" name="act_skill_tab_{tab["id"]}">{esc(tab["name"])}</button>')
|
||||
parts.append('</nav>')
|
||||
repeating = {block['id']: block for block in model['repeating']}
|
||||
for tab in skill_tabs:
|
||||
parts.append(f'<div class="sheet-skill-pane sheet-skill-pane-{tab["id"]}">')
|
||||
for content in tab['content']:
|
||||
parts.append(render_fixed_skills(skills, variant, show_sections=False) if content == 'fixed_skills'
|
||||
else render_repeating_block(repeating[content], model['attributes'], expanded=True))
|
||||
parts.append('</div>')
|
||||
elif model.get('skill_category_tabs'):
|
||||
categories = [section for section in skills['sections']
|
||||
if any(group.get('skills') for group in section['groups'])]
|
||||
parts.append(f'<input type="hidden" class="sheet-category-tab-state" name="attr_d10_category_tab" value="{esc(categories[0]["id"])}">')
|
||||
parts.append('<nav class="sheet-skill-tab-nav sheet-category-tab-nav" aria-label="Catégories de compétences">')
|
||||
for section in categories:
|
||||
key = section['id']
|
||||
parts.append(f'<button type="action" class="sheet-skill-tab-button sheet-category-tab-{key}" name="act_category_tab_{key}">{esc(section["name"])}</button>')
|
||||
parts.append('</nav>')
|
||||
for section in categories:
|
||||
parts.append(f'<div class="sheet-skill-pane sheet-category-pane-{section["id"]}">')
|
||||
parts.append(render_fixed_skills(skills, variant, show_sections=False, sections=[section]))
|
||||
parts.append('</div>')
|
||||
else:
|
||||
parts.append(render_fixed_skills(skills, variant))
|
||||
parts.append('</section></div>')
|
||||
if not model.get('skill_tabs'):
|
||||
parts.append('<div class="sheet-page sheet-page-other"><section class="sheet-panel"><div class="sheet-section-title"><span>05</span><h2>Autres</h2></div>')
|
||||
equipment_ids = {group['equipment'] for section in skills['sections'] for group in section['groups']
|
||||
if group.get('equipment')} if model.get('skill_category_tabs') else set()
|
||||
for block in model['repeating']:
|
||||
if block['id'] in equipment_ids:
|
||||
continue
|
||||
parts.append(render_repeating_block(block, model['attributes']))
|
||||
parts.append('</section></div>')
|
||||
parts.append('</div>')
|
||||
parts.append('</div>')
|
||||
html_text = '\n'.join(parts) + '\n'
|
||||
css = ('.sheet-d10, .sheet-rolltemplate-d10skillcheck, .sheet-rolltemplate-d10weapon, .sheet-rolltemplate-d10contact, .sheet-rolltemplate-d10consumable {\n' + '\n'.join(
|
||||
f' --d10-{key}: {theme[key]};' for key in ('background', 'panel', 'ink', 'accent', 'border')) +
|
||||
f'\n --d10-figure-filter: {figure_filter(theme["background"])};\n}}\n')
|
||||
css += (ROOT / 'templates' / 'sheet.css').read_text(encoding='utf-8')
|
||||
for key, palette in themes.items():
|
||||
css += f'\n.sheet-theme-state[value="{key}"] ~ .sheet-d10 {{\n'
|
||||
css += '\n'.join(f' --d10-{color}: {palette[color]};' for color in
|
||||
('background', 'panel', 'ink', 'accent', 'border'))
|
||||
css += f'\n --d10-figure-filter: {figure_filter(palette["background"])};\n}}\n'
|
||||
if model.get('skill_tabs'):
|
||||
css += '\n'.join(
|
||||
f'.sheet-d10 .sheet-skill-tab-state[value="{tab["id"]}"] ~ .sheet-skill-pane-{tab["id"]} {{ display: block; }}\n'
|
||||
f'.sheet-d10 .sheet-skill-tab-state[value="{tab["id"]}"] ~ .sheet-skill-tab-nav .sheet-skill-tab-{tab["id"]} {{ color: var(--d10-panel); background: var(--d10-accent); border-color: var(--d10-accent); }}\n'
|
||||
for tab in model['skill_tabs'])
|
||||
if model.get('skill_category_tabs'):
|
||||
css += '\n'.join(
|
||||
f'.sheet-d10 .sheet-category-tab-state[value="{section["id"]}"] ~ .sheet-category-pane-{section["id"]} {{ display: block; }}\n'
|
||||
f'.sheet-d10 .sheet-category-tab-state[value="{section["id"]}"] ~ .sheet-category-tab-nav .sheet-category-tab-{section["id"]} {{ color: var(--d10-panel); background: var(--d10-accent); border-color: var(--d10-accent); }}\n'
|
||||
for section in skills['sections'] if any(group.get('skills') for group in section['groups']))
|
||||
css += ('.sheet-d10 .sheet-category-tab-state[value="arsenal"] ~ .sheet-category-pane-physique { display: block; }\n'
|
||||
'.sheet-d10 .sheet-category-tab-state[value="arsenal"] ~ .sheet-category-tab-nav .sheet-category-tab-physique { color: var(--d10-panel); background: var(--d10-accent); border-color: var(--d10-accent); }\n')
|
||||
arsenal = [group['equipment'] for section in skills['sections'] for group in section['groups']
|
||||
if group.get('equipment')]
|
||||
css += '\n'.join(
|
||||
f'.sheet-d10 .sheet-arsenal-tab-state[value="{key}"] ~ .sheet-arsenal-pane-{key} {{ display: block; }}\n'
|
||||
f'.sheet-d10 .sheet-arsenal-tab-state[value="{key}"] ~ .sheet-arsenal-tab-nav .sheet-arsenal-tab-{key} {{ color: var(--d10-panel); background: var(--d10-accent); border-color: var(--d10-accent); }}\n'
|
||||
for key in arsenal)
|
||||
html_text += '''<rolltemplate class="sheet-rolltemplate-d10skillcheck">
|
||||
<div class="sheet-roll-title"><strong>{{name}}</strong><span>{{roll_name}}</span></div>
|
||||
<div class="sheet-roll-values"><span>Seuil</span><span class="sheet-roll-value">{{threshold}}</span><span>Résultat</span><span class="sheet-roll-value">{{result}}</span></div>
|
||||
</rolltemplate>
|
||||
'''
|
||||
if variant == 'cyberpunk':
|
||||
html_text += '''<rolltemplate class="sheet-rolltemplate-d10contact">
|
||||
<div class="sheet-roll-title"><strong>Contact</strong><span>{{name}}</span></div>
|
||||
<div class="sheet-roll-detail">Niveau : {{level}}</div>
|
||||
</rolltemplate>
|
||||
'''
|
||||
html_text += '''<rolltemplate class="sheet-rolltemplate-d10consumable">
|
||||
<div class="sheet-roll-title"><strong>Consommable</strong><span>{{name}}</span></div>
|
||||
<div class="sheet-roll-detail">Quantité : {{quantity}}</div>
|
||||
{{#notes}}<div class="sheet-roll-detail">{{notes}}</div>{{/notes}}
|
||||
</rolltemplate>
|
||||
'''
|
||||
html_text += '''<rolltemplate class="sheet-rolltemplate-d10weapon">
|
||||
<div class="sheet-roll-title"><strong>{{name}}</strong><span>{{mode}}</span></div>
|
||||
{{#type}}<div class="sheet-roll-detail">{{type}}</div>{{/type}}
|
||||
<div class="sheet-roll-values"><span>Réussites</span><span class="sheet-roll-value">{{#attack_roll}}{{attack_roll}}{{/attack_roll}}{{#damage_roll}}{{damage_roll}}{{/damage_roll}}</span>{{#damage}}<span>Dégâts</span><span class="sheet-roll-value">{{computed::damage}}</span>{{/damage}}{{#damage_list}}<span>Dégâts par tir</span><span class="sheet-roll-value sheet-roll-damage-list">{{computed::damage_list}}</span>{{/damage_list}}</div>
|
||||
{{#threshold}}<div class="sheet-roll-detail">Seuil : {{threshold}}</div>{{/threshold}}
|
||||
{{#rmax}}<div class="sheet-roll-detail">Rmax : {{rmax}}</div>{{/rmax}}
|
||||
{{#ammo_info}}<div class="sheet-roll-detail">Chargeur : {{ammo}} / {{magazine}} · chargeurs de réserve : {{reserve}}</div>{{/ammo_info}}
|
||||
{{#special}}<div class="sheet-roll-detail">{{special}}</div>{{/special}}
|
||||
</rolltemplate>
|
||||
'''
|
||||
html_text += '<script type="text/worker">\n'
|
||||
html_text += ''.join(
|
||||
f'on("clicked:tab_{key}", function () {{ setAttrs({{d10_tab: "{key}"}}); }});\n'
|
||||
for key, _ in tabs)
|
||||
html_text += ''.join(
|
||||
f'on("clicked:skill_tab_{tab["id"]}", function () {{ setAttrs({{d10_skill_tab: "{tab["id"]}"}}); }});\n'
|
||||
for tab in model.get('skill_tabs', []))
|
||||
if model.get('skill_category_tabs'):
|
||||
html_text += ''.join(
|
||||
f'on("clicked:category_tab_{section["id"]}", function () {{ setAttrs({{d10_category_tab: "{section["id"]}"}}); }});\n'
|
||||
for section in skills['sections'] if any(group.get('skills') for group in section['groups']))
|
||||
html_text += ''.join(
|
||||
f'on("clicked:arsenal_tab_{key}", function () {{ setAttrs({{d10_arsenal_tab: "{key}"}}); }});\n'
|
||||
for key in arsenal)
|
||||
html_text += 'on("change:d10_theme_choice", function (event) { setAttrs({d10_theme: event.newValue}); });\n'
|
||||
if switchable:
|
||||
weapon_skills = combat_skills(skills)
|
||||
worker = (ROOT / 'templates' / 'cyberpunk-weapons.js').read_text(encoding='utf-8')
|
||||
html_text += worker.replace('__COMBAT_SKILLS__', json.dumps([skill['id'] for skill in weapon_skills]))
|
||||
html_text += '</script>\n'
|
||||
return html_text, css
|
||||
|
||||
|
||||
def build(variant, theme_name, output, check=False, asset_base_url=None):
|
||||
source = read_yaml(DATA / 'sheet_model.yaml')
|
||||
themes = read_yaml(DATA / 'themes.yaml')['themes']
|
||||
if variant not in source['variants']:
|
||||
raise ValueError(f'unknown variant: {variant}')
|
||||
allowed_themes = ({key: themes[key] for key in BASE_THEMES} if variant == 'base' else themes)
|
||||
if theme_name not in allowed_themes:
|
||||
raise ValueError(f'unknown theme for {variant}: {theme_name}')
|
||||
if asset_base_url is None:
|
||||
asset_base_url = DEFAULT_ASSET_BASE_URL
|
||||
if asset_base_url and not re.fullmatch(r'https://[^\s<>"\']+', asset_base_url):
|
||||
raise ValueError('asset base URL must be HTTPS')
|
||||
model = source['variants'][variant]
|
||||
skills = read_yaml(DATA / model['skills'])
|
||||
theme = allowed_themes[theme_name]
|
||||
validate({**model, 'version': source['version']}, skills, theme)
|
||||
html_text, css = render(model, skills, variant, theme_name, theme, allowed_themes, asset_base_url)
|
||||
manifest = {'html': 'sheet.html', 'css': 'sheet.css', 'authors': 'Dandaedre',
|
||||
'roll20userid': '1067910', 'instructions': f'{model["title"]} generated from D10 YAML'}
|
||||
translation = {}
|
||||
files = {'sheet.html': html_text, 'sheet.css': css,
|
||||
'sheet.json': json.dumps(manifest, ensure_ascii=False, indent=2) + '\n',
|
||||
'translation.json': json.dumps(translation, indent=2) + '\n'}
|
||||
if model.get('health_locations'):
|
||||
for kind in ('health', 'armor'):
|
||||
name = f'robotman_{kind}_r.png'
|
||||
files[name] = (ASSETS / name).read_bytes()
|
||||
digest = hashlib.sha256((html_text + css).encode())
|
||||
for name in sorted(files):
|
||||
if isinstance(files[name], bytes):
|
||||
digest.update(files[name])
|
||||
files['build-info.json'] = json.dumps({'variant': variant, 'theme': theme_name,
|
||||
'skills': sum(len(g.get('skills', [])) for s in skills['sections'] for g in s['groups']),
|
||||
'sha256': digest.hexdigest()}, indent=2) + '\n'
|
||||
if check:
|
||||
stale = [name for name, content in files.items()
|
||||
if not (output / name).exists() or (output / name).read_bytes() !=
|
||||
(content if isinstance(content, bytes) else content.encode('utf-8'))]
|
||||
if stale:
|
||||
raise ValueError(f'generated files are missing or stale: {", ".join(stale)}')
|
||||
else:
|
||||
output.mkdir(parents=True, exist_ok=True)
|
||||
for name, content in files.items():
|
||||
(output / name).write_bytes(content if isinstance(content, bytes) else content.encode('utf-8'))
|
||||
return files
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--variant', choices=('base', 'cyberpunk'), default='base')
|
||||
parser.add_argument('--theme', default='parchment')
|
||||
parser.add_argument('--output-dir', type=Path)
|
||||
parser.add_argument('--list-themes', action='store_true')
|
||||
parser.add_argument('--check', action='store_true', help='verify existing output without writing')
|
||||
parser.add_argument('--asset-base-url', default=None,
|
||||
help='override the default public HTTPS image directory; pass an empty value for local preview')
|
||||
args = parser.parse_args()
|
||||
if args.list_themes:
|
||||
themes = read_yaml(DATA / 'themes.yaml')['themes']
|
||||
print('\n'.join(BASE_THEMES if args.variant == 'base' else themes))
|
||||
return
|
||||
output = args.output_dir or ROOT / 'build' / args.variant / args.theme
|
||||
try:
|
||||
build(args.variant, args.theme, output, check=args.check, asset_base_url=args.asset_base_url)
|
||||
except ValueError as error:
|
||||
parser.error(str(error))
|
||||
print(output)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
"""Generate the complete artifact tree archived by Jenkins."""
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
|
||||
import build
|
||||
|
||||
|
||||
DEFAULT_OUTPUT = build.ROOT / 'RPG' / 'd10_character_sheet'
|
||||
|
||||
|
||||
def publish(output=DEFAULT_OUTPUT):
|
||||
output.mkdir(parents=True, exist_ok=True)
|
||||
assets = output / 'assets'
|
||||
assets.mkdir(exist_ok=True)
|
||||
for kind in ('health', 'armor'):
|
||||
filename = f'robotman_{kind}_r.png'
|
||||
shutil.copyfile(build.ASSETS / filename, assets / filename)
|
||||
for variant in ('base', 'cyberpunk'):
|
||||
target = output / variant
|
||||
if target.exists():
|
||||
shutil.rmtree(target)
|
||||
build.build(variant, 'parchment', target)
|
||||
build.build(variant, 'parchment', target, check=True)
|
||||
return output
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument('--output-dir', type=Path, default=DEFAULT_OUTPUT)
|
||||
args = parser.parse_args()
|
||||
print(publish(args.output_dir))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Loading…
Reference in New Issue