5E Character Create Playlist
  1. #1
    rob2e's Avatar
    Join Date
    Sep 2015
    Location
    Spokane, WA
    Posts
    1,422
    Blog Entries
    13

    Can I create this extension?

    Ok, guys, I have never created an extension, I've done almost everything else in FG, but not that. I've decided to TRY to create one.

    Before I start, I wanted to ask the VETERANS if my idea is even possible...

    I want to create an extension that will identify a Sorcerer using Empowered Spell and allow the reroll automatically if they chose.

    When you roll damage for a spell, you can spend 1 sorcery point to reroll a number of the damage dice up to your Charisma modifier (minimum of one). You must use the new rolls.

    If they have empowered spell, maybe a yes/no prompt "Do you wish to spend a sorcery point to reroll the damage?" kind of a thing. and then the functionality to make that happen by choosing the number of dice.

    I don't know, it seems crazy and very specific to this one option, but do people think it's POSSIBLE to write?

    I guess I'm looking for either...

    1) Yeah, seems doable.
    2) You're crazy, give it up man!!
    rob2e - Join me on Discord!
    Become a Patron!
    Follow me on the Twitters
    Come watch the Twitches... twitch.tv/rob2e
    Also my YouTube Channel
    Available on the FORGE
    My Dungeon Master's Guild Material

  2. #2

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    It depends on what your definition of possible is.
    You will never under FGC be able to keep some 3d dice and have the others reroll 3d.

    If you don’t care about the 3d roll aspects, you could do what you want. However, it is dealing with rather advanced logic of the dragdata and die data structures. It might not be a good one to cut your teeth on.
    I have made rolls do some cool things in generators but it was one of the hardest coding things I can ever remember doing. What you want is a lot easier but still not trivial.

  3. #3
    Ikael's Avatar
    Join Date
    Jan 2008
    Location
    Finland/Joensuu
    Posts
    2,383
    I agree, while it is very much doable, it will be daunting task if you don't have experience
    "Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness

    Post your SavageWorlds ruleset feature requests and issue reports here!

  4. #4
    rob2e's Avatar
    Join Date
    Sep 2015
    Location
    Spokane, WA
    Posts
    1,422
    Blog Entries
    13
    I'm out! lol ThanX for the advice.
    rob2e - Join me on Discord!
    Become a Patron!
    Follow me on the Twitters
    Come watch the Twitches... twitch.tv/rob2e
    Also my YouTube Channel
    Available on the FORGE
    My Dungeon Master's Guild Material

  5. #5

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    Rob, I think you could do it, but start by studying someone's extension, and see how it does whatever it is that it does. That is the best way to teach yourself. Look at some of the effects-oriented stuff and some of the MoreCore dice macros.

  6. #6
    Quote Originally Posted by Bidmaron View Post
    Look at some... of the MoreCore dice macros.
    Or the DORCore Dice Engine
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

  7. #7

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    Dulux, you carefully designed your die-rolling engine to encompass all the use cases you could identify. I am thinking your code is much more complicated (and flexible) than MoreCore (although I haven't studied either). As a study in great software design, it is probably very apropos, but for someone trying to learn to write extensions....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Starfinder Playlist

Log in

Log in