OmegaRPG icon indicating copy to clipboard operation
OmegaRPG copied to clipboard

roll20 features

Open kikass13 opened this issue 3 years ago • 0 comments

you should implement some of the core roll20 features and expand them All a game needs are the most common things:

  • Characters
    • could be npcs, movable objects, monsters etc
    • can have attributes (hp, strength, modifiers, actions)
      • actions will trigger little macro scripts and can be triggered by other macro scripts
  • Map designer, map layers
  • Tokens
    • tokens are instantiations of characters, where attributes can be shared with the character or copied on instantiation)
    • actions defined within the character will pop up as right click context buttons or overall buttons
  • global macros
    • macros should be used for every feature (like rolling dice, reading attributes from other tokens or inputing something in a popup window)
    • each action in the game can be represented by a simple macro script and therefore alter the game/token/character state
    • each action can also use dice rolls or attributes (or their modifiers) as a means to calculate whats going to happen
    • each macro could also represent if/else (something roll20 does not have) to let the macro change dynamically
      • macro for attack will roll d20 & add the attribute values for "proficiency" + "strength_modifier" of the selected token and check if the resulting value is greater than the ac of the targeted token. It will therefore change the output to "miss" or hit" and in case of "hit" it will also roll damage based on the selected modifiers and the target attribute for "damage_reduction"

kikass13 avatar Oct 16 '20 19:10 kikass13