Rebirth Year 6 Anniversary Event is now LIVE! Active Release: Ri6
Quote from: Joshex on May 27, 2025, 05:09 PMthis does not display PvP information, and currently would only cover "Info tab" information, where "Effects tab" information will have to be an additional {"Effects":[{}]} entry. I'm debating how to store PvP information. perhaps each attribute with have 2 sub dictionaries {"pve": value} and {"pvp": value} or perhaps I'll do 2 different entire dictionaries Under ['PowerName'] like ['PowerName']['PvE'] and ['PowerName']['PvP']...The tricksy thing is that not every power has separation of effects for PvE vs PvP, they just do exactly the same thing in both contexts (so why separate/duplicate?).
Quote from: EDekar on May 27, 2025, 08:26 PMDon't forget that there are also Challenge sets whose secondary set effects only activate while on a Task Force challenge (or whatever the condition may be)!And that's another level of complication. Fortunately, to my knowledge, NONE of those Challenge sets have a PvE vs PvP context differential to them ... but designing the code structure around that fact could be a case of premature optimization.
//powerDictionary entry
powerDict = {};
powerDict['Archetype'] = {}; //replace Archetype with actual archetype name
powerDict['Archetype']['PrimaryPowerset'] = {"list":{}, "of": {}, "Power": {}, "Names": {}};
['PowerName'] = {'Name': "PowerName", 'Minimum_Level': int, 'Has_Inherent_Slots': True/False, 'Allows_Slots': True/False, "Inherent_Slots": [Slot1_Level_(int or Auto), Slot2_level_int, Slot3_Level_int etc.], 'Type': "ranged" "melee" "Self Buff" etc., "activation_type": "Auto" "toggle" "click" etc., "Target_Types": "self", "team", "self+team", "friendly", "foe" etc. [Ex:{"Self": {"Summary": "Self +Regen"}},{"Foe": {"Summary": "Foe - Acc"}}], "Description": "Description text goes here", "Slider": "None" or [Min, Max, designation(ex: 10%, 100%, HP)], "Basic_Stats": [{"End_Cost": "string-float" or "None"}, {"Accuracy": "String-Float-Percent%"}, {"Recharge": "string-float" or "None"}, {"Duration": "string-float" or "None"}, {"Range": "string-float-ft" or "None"}, {"Radius": "string-float-ft" or "None"}, {"Arc": "string-float-°" or "None"}, {"Cast-Time": "string-float" or "None"}, {"Activation_Interval": "string-float" or "None"}, {"Other": [specifics of the power Taunt, Resistance, HitPoints, Recharge, Regen etc.]}], {"Power_Values": ex: {"Damage": [{"Smashing": "38.41"}, {"Energy": "26.12"}]}}};
Quote from: Redlynne on Jan 21, 2025, 05:05 PM7.5% Range (Rolling Barrage: 2)
7.5% Range (Rolling Barrage: 2)
7.5% Range (Rolling Barrage: 2)
10% Range (Superior Defender's Bastion: 3)
= 32.5%