Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions manifests.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def load_patchdata(patachdata_dir) -> Dict:

for gamemode in gamemodes:
gamemode_manifest = {
'created_at': datetime.datetime.now(datetime.UTC).isoformat(),
'created_at': datetime.datetime.now(datetime.timezone.utc).isoformat(),
'gamemode': gamemode,
}

Expand Down Expand Up @@ -101,7 +101,7 @@ def get_visible_subdir_names(file_path: str) -> str:
main_manifest = {
'version': args['version'],
'update_url': args['update_url'],
'created_at': datetime.datetime.now(datetime.UTC).isoformat(),
'created_at': datetime.datetime.now(datetime.timezone.utc).isoformat(),
'asset_groups': asset_groups,
}

Expand Down
11 changes: 10 additions & 1 deletion openchamp/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@
"UNIT:openchamp:orion:ability_1:NAME": "Charged Shot",
"UNIT:openchamp:orion:ability_1:LORE": "Orion charges his bow and fires a powerful shot that homes in on the target, dealing physical damage.",
"UNIT:openchamp:orion:ability_1_fx": "Charged Shot",
"UNIT:openchamp:orion:ability_2:NAME": "Magic Mushroom",
"UNIT:openchamp:orion:ability_2:LORE": "Orion consumes magic mushroom which improves his movement and attack speed.",
"UNIT:openchamp:orion:ability_2_fx": "Magic Mushroom",
"UNIT:openchamp:orion:ability_3:NAME": "Charged Shot2",
"UNIT:openchamp:orion:ability_3:LORE": "Orion charges his bow and fires a powerful shot that homes in on the target, dealing physical damage.",
"UNIT:openchamp:orion:ability_3_fx": "Charged Shot2",
"UNIT:openchamp:orion:ability_4:NAME": "Eagle Eye Strike",
"UNIT:openchamp:orion:ability_4:LORE": "Takes aim and fires a single, devastating arrow that deals critical damage to a target.",
"UNIT:openchamp:orion:ability_4_fx": "Eagle Eye Strike",
"ITEM:COST_LABEL": "Total cost: %d",
"ITEM:NOT_ENOUGH_GOLD": "You need %d more gold to purchase \"%s\".",
"ITEM:NOT_ENOUGH_SLOTS": "Not enough item slots to purchase item \"%s\".",
Expand Down Expand Up @@ -119,4 +128,4 @@
"ITEM:openchamp:silky_glove:LORE": "An enchanted silk glove protects the wearer from magic and helps them attack faster.",
"ITEM:openchamp:hidden_kunai:NAME": "Hidden Kunais",
"ITEM:openchamp:hidden_kunai:LORE": "A pair of kunais that deal extra damage on hit."
}
}
161 changes: 159 additions & 2 deletions openchamp/patchdata/onslaught/characters/orion.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
"channel_time": 0.5,
"use_attack_range": false,
"casting_range": 1500,
"cost": 40,
"effect_source": "ability_single",
"projectile": {
"model": "openchamp:particles/arrow",
Expand Down Expand Up @@ -171,7 +172,163 @@
"scaling": "500 + 1.5 c.curr.dmg_phy"
}
]
}
},
"ability_2": {
"display_id": "openchamp:orion:ability_2",
"texture_id": "openchamp:units/characters/orion/ability_2",
"has_upgrades": true,
"base_values": {
"base_id": "PointAndClickProjectile",
"display_id": "openchamp:orion:ability_2_fx",
"as_scaled": false,
"cooldown": 5,
"channel_time": 0.5,
"use_attack_range": false,
"casting_range": 1500,
"cost": 70,
"effect_source": "ability_single",
"projectile": {
"model": "openchamp:particles/arrow",
"model_scale": {
"x": 0.3,
"y": 1.0,
"z": 0.3
},
"model_rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"spawn_offset": {
"x": 0.0,
"y": 1.0,
"z": 0.0
},
"speed": 30.0,
"damage_type": "physical",
"launch_sfx": "openchamp:sfx/game/basic_attack_1"
}
},
"ability_data": [
{
"scaling": "100 + 1.5 c.curr.dmg_phy"
},
{
"scaling": "200 + 1.5 c.curr.dmg_phy"
},
{
"scaling": "300 + 1.5 c.curr.dmg_phy"
},
{
"scaling": "400 + 1.5 c.curr.dmg_phy"
},
{
"scaling": "500 + 1.5 c.curr.dmg_phy"
}
]
},
"ability_3": {
"display_id": "openchamp:orion:ability_3",
"texture_id": "openchamp:units/characters/orion/ability_3",
"has_upgrades": true,
"base_values": {
"base_id": "PointAndClickProjectile",
"display_id": "openchamp:orion:ability_3_fx",
"as_scaled": false,
"cooldown": 5,
"channel_time": 0.5,
"use_attack_range": false,
"casting_range": 1500,
"cost": 40,
"effect_source": "ability_single",
"projectile": {
"model": "openchamp:particles/arrow",
"model_scale": {
"x": 0.3,
"y": 1.0,
"z": 0.3
},
"model_rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"spawn_offset": {
"x": 0.0,
"y": 1.0,
"z": 0.0
},
"speed": 30.0,
"damage_type": "physical",
"launch_sfx": "openchamp:sfx/game/basic_attack_1"
}
},
"ability_data": [
{
"scaling": "100 + 1.5 c.curr.dmg_phy"
},
{
"scaling": "200 + 1.5 c.curr.dmg_phy"
},
{
"scaling": "300 + 1.5 c.curr.dmg_phy"
},
{
"scaling": "400 + 1.5 c.curr.dmg_phy"
},
{
"scaling": "500 + 1.5 c.curr.dmg_phy"
}
]
},
"ability_4": {
"display_id": "openchamp:orion:ability_4",
"texture_id": "openchamp:units/characters/orion/ability_4",
"has_upgrades": true,
"base_values": {
"base_id": "PointAndClickProjectile",
"display_id": "openchamp:orion:ability_4_fx",
"as_scaled": false,
"cooldown": 5,
"channel_time": 0.5,
"use_attack_range": false,
"casting_range": 3000,
"cost": 100,
"effect_source": "ability_single",
"projectile": {
"model": "openchamp:particles/arrow",
"model_scale": {
"x": 0.3,
"y": 1.0,
"z": 0.3
},
"model_rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"spawn_offset": {
"x": 0.0,
"y": 1.0,
"z": 0.0
},
"speed": 30.0,
"damage_type": "physical",
"launch_sfx": "openchamp:sfx/game/basic_attack_1"
}
},
"ability_data": [
{
"scaling": "300 + 1.5 c.curr.dmg_phy"
},
{
"scaling": "600 + 1.5 c.curr.dmg_phy"
},
{
"scaling": "900 + 1.5 c.curr.dmg_phy"
}
]
},
}
}
}
}