fgo-api-types 2025.8.13.10.7.24__py3-none-any.whl → 2025.8.13.15.41.31__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6899,6 +6899,29 @@ QUEST_EXTENSION_SUB_TYPE_NAME: dict[int, NiceQuestExtensionSubType] = {
6899
6899
  }
6900
6900
 
6901
6901
 
6902
+ class BattleBranchSkillCondBranchType(IntEnum):
6903
+ None_ = 0
6904
+ IsSelfTarget = 1
6905
+ Individuality = 2
6906
+
6907
+
6908
+ class NiceBattleBranchSkillCondBranchType(StrEnum):
6909
+ """Battle Branch Skill Cond Branch Type"""
6910
+
6911
+ none = "none"
6912
+ isSelfTarget = "isSelfTarget"
6913
+ individuality = "individuality"
6914
+
6915
+
6916
+ BATTLE_BRANCH_SKILL_COND_BRANCH_TYPE_NAME: dict[
6917
+ int, NiceBattleBranchSkillCondBranchType
6918
+ ] = {
6919
+ 0: NiceBattleBranchSkillCondBranchType.none,
6920
+ 1: NiceBattleBranchSkillCondBranchType.isSelfTarget,
6921
+ 2: NiceBattleBranchSkillCondBranchType.individuality,
6922
+ }
6923
+
6924
+
6902
6925
  class BuffConditionType(IntEnum):
6903
6926
  HP_HIGHER = 0
6904
6927
  HP_LOWER = 1
fgo_api_types/nice.py CHANGED
@@ -44,6 +44,7 @@ from .gameenums import (
44
44
  NiceAiActType,
45
45
  NiceAiAllocationSvtFlag,
46
46
  NiceAiCond,
47
+ NiceBattleBranchSkillCondBranchType,
47
48
  NiceBattleFieldEnvironmentGrantType,
48
49
  NiceBattlePointFlag,
49
50
  NiceBuffType,
@@ -635,11 +636,11 @@ class BaseVals(BaseModel):
635
636
  CondParamAddType: int | None = None
636
637
  CondParamAddValue: int | None = None
637
638
  CondParamAddMaxValue: int | None = None
638
- CondParamAddTargetId: int | None = None
639
+ CondParamAddTargetId: list[int] | None = None
639
640
  CondParamRangeType: int | None = None
640
641
  CondParamRangeMaxCount: int | None = None
641
642
  CondParamRangeMaxValue: int | None = None
642
- CondParamRangeTargetId: int | None = None
643
+ CondParamRangeTargetId: list[int] | None = None
643
644
  ExecOnce: int | None = None
644
645
  ApplyBuffIndividuality: list[list[int]] | None = None
645
646
  ExecWhenCanNotAttack: int | None = None
@@ -776,6 +777,18 @@ class NiceSkillScript(BaseModel):
776
777
  selectTreasureDeviceInfo: list[SelectTreasureDeviceInfo] | None = None
777
778
 
778
779
 
780
+ class CondBranchSkillInfo(BaseModel):
781
+ condType: NiceBattleBranchSkillCondBranchType
782
+ condValue: list[int]
783
+ skillId: int
784
+ detailText: str
785
+ iconBuffId: int
786
+
787
+
788
+ class NiceSkillEntityScript(BaseModel):
789
+ condBranchSkillInfo: list[CondBranchSkillInfo] | None = None
790
+
791
+
779
792
  class NiceSkillAdd(BaseModelORJson):
780
793
  priority: int
781
794
  releaseConditions: list[NiceCommonRelease]
@@ -844,6 +857,7 @@ class NiceSkill(BaseModelORJson):
844
857
  coolDown: list[int]
845
858
  actIndividuality: list[NiceTrait]
846
859
  script: NiceSkillScript
860
+ skillEntityScript: NiceSkillEntityScript | None = None
847
861
  extraPassive: list[ExtraPassive]
848
862
  skillAdd: list[NiceSkillAdd]
849
863
  skillSvts: list[NiceSkillSvt] = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: fgo-api-types
3
- Version: 2025.8.13.10.7.24
3
+ Version: 2025.8.13.15.41.31
4
4
  Summary: Provide Pydantic types from FGO API
5
5
  Author: squaresmile
6
6
  Author-email: squaresmile@protonmail.com
@@ -3,12 +3,12 @@ fgo_api_types/base.py,sha256=lNLs5_mzc3x1Cl8Mxvdxw4jOcGld9Bwv28okCsM1B3M,353
3
3
  fgo_api_types/basic.py,sha256=EwQoPT_c_LJe22JZek_L-q_ax3Yocy4hceSlEDdzPdo,4589
4
4
  fgo_api_types/common.py,sha256=NZCkvmf6wSvSqh3IUd-l_ta1O3Uv-oofd0zoxxCF4U0,4565
5
5
  fgo_api_types/enums.py,sha256=UQy0wLtwrIM-Mb5AoXEGMePkzFZ-m04KjH1j6rgfYfs,47856
6
- fgo_api_types/gameenums.py,sha256=ZoxZjobq7GCN_omMnB-WqmDkmq1XxNS59MyUjmgQeY0,225600
7
- fgo_api_types/nice.py,sha256=oMagfSPBxsq4Uvf-cX_i0ibqc8_YBben5DJ6DKfyVec,98537
6
+ fgo_api_types/gameenums.py,sha256=ug3Sr7I295O_Q3ZxvWt7RhlesBpphw6j_Q_vIvbXZ90,226165
7
+ fgo_api_types/nice.py,sha256=FkXz9J9nibnVx9T6_cs0DfzOV9X_5-SosEIpJmKHeBA,98928
8
8
  fgo_api_types/raw.py,sha256=ZDjm3SPrK2r8N5gDQ5GRcjTrtsryp-APG8tSC_izHsQ,64410
9
9
  fgo_api_types/rayshift.py,sha256=GctwvpMBMVEd18_KuTAIMC4aY5_2WuC77-81skk55xM,4854
10
10
  fgo_api_types/search.py,sha256=N1vZh1oGLhyrYRd_Ctcm-iUUynrzRPCiZUFxly3qjP0,19996
11
- fgo_api_types-2025.8.13.10.7.24.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
12
- fgo_api_types-2025.8.13.10.7.24.dist-info/METADATA,sha256=4tkWeuRtWv_MwODjCAXYbpbb8RXjOloL_2XxVggimPo,1305
13
- fgo_api_types-2025.8.13.10.7.24.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
14
- fgo_api_types-2025.8.13.10.7.24.dist-info/RECORD,,
11
+ fgo_api_types-2025.8.13.15.41.31.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
12
+ fgo_api_types-2025.8.13.15.41.31.dist-info/METADATA,sha256=6KUUFSs6U-yF07wEf5PXN5dozGtcHypcHTDlae-CltE,1306
13
+ fgo_api_types-2025.8.13.15.41.31.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
14
+ fgo_api_types-2025.8.13.15.41.31.dist-info/RECORD,,