javierriveracastro / betteroll-swade

A Better Rolls port for SWADE
GNU General Public License v3.0
16 stars 32 forks source link

Range Increment Modifiers #526

Closed aedgaruk closed 1 year ago

aedgaruk commented 1 year ago

Enhancement

The ability to modify range increments for a character/item would be very useful, notably in the case of the Edge: Brute for example.

image

... SWADE pg.38

javierriveracastro commented 1 year ago

Done.

I made it as an active effect, not at action as it should be always enabled. The downside is that you will have to add the effect to the Brute edge by hand.

The key is 'brsw.thrown-range-modifier' and the value will be the modifer (multiplied by range). So a 1 will do for Brute.

aedgaruk commented 1 year ago

Hi,

Sorry but can you lay that out for me please, I think I understand what you're getting at but I'm confused as what goes in each of the AE fields.

Appreciated ... Cheers :) Andy

javierriveracastro commented 1 year ago

Import this item and add it to the actor instead of the current Brute Edege.

The difference are in the effect tab.

{
  "name": "Brute",
  "type": "edge",
  "flags": {
    "core": {
      "sourceId": "Compendium.swade.edges.AQF6xQFtx2OQ2SWW"
    },
    "exportSource": {
      "world": "la-casa-de-la-bestia",
      "system": "swade",
      "coreVersion": "10.288",
      "systemVersion": "2.0.6"
    }
  },
  "img": "systems/swade/assets/icons/edge.svg",
  "system": {
    "description": "<p>See SWADE p.38</p>",
    "notes": "",
    "additionalStats": {},
    "favorite": false,
    "category": "",
    "isArcaneBackground": false,
    "requirements": {
      "value": "Novice, Strength d6+, Vigor d6+"
    },
    "source": ""
  },
  "effects": [
    {
      "label": "Brute",
      "icon": "/icons/svg/mystery-man.svg",
      "transfer": true,
      "_id": "2MULHy3PWzhyBEYv",
      "changes": [
        {
          "key": "brsw.thrown-range-modifier",
          "mode": 2,
          "value": "1",
          "priority": null
        }
      ],
      "disabled": false,
      "duration": {
        "startTime": 5220,
        "seconds": null,
        "combat": null,
        "rounds": null,
        "turns": null,
        "startRound": null,
        "startTurn": null
      },
      "origin": null,
      "tint": null,
      "flags": {
        "swade": {
          "expiration": null,
          "loseTurnOnHold": false
        }
      }
    }
  ],
  "_stats": {
    "systemId": "swade",
    "systemVersion": "2.0.6",
    "coreVersion": "10.288",
    "createdTime": 1667836038413,
    "modifiedTime": 1667836085600,
    "lastModifiedBy": "QH94e0LcdGjKB3tL"
  }
}

You can't use the new constructor to add this effect, as it only supports system defined ones.

javierriveracastro commented 1 year ago

Or maybe an image is easier.

imaxe

aedgaruk commented 1 year ago

You Sir, are a Gentleman and a Scholar ... Thank You!